xmpp 环境配置

这个博客写的很详细http://www.cnblogs.com/dsxniubility/p/4304570.html,这里就是对他补充一下

1.补充Apache的配置 http://www.cnblogs.com/dsxniubility/p/4294456.html

 ①sudo cp php.ini.default php.ini 这个命令在 /etc 目录下执行

②下面这个问题

➜ apache2 sudo apachectl -k restart
AH00526: Syntax error on line 20 of /private/etc/apache2/extra/httpd-mpm.conf:
Invalid command 'LockFile', perhaps misspelled or defined by a module not included in the server configuration

解决:

第一步进入以下目录找到httpd-mpm.conf这个文件

/private/etc/apache2/extra/httpd-mpm.conf

第二步在文件中找到LockFile "/private/var/log/apache2/accept.lock",用#注释掉如下

#LockFile "/private/var/log/apache2/accept.lock"

第三步重新启动apache服务器

sudo apachectl -k restart

③Indexes 这个单词非10.10也要加上,我没加 打开localhost 出现You don't have permission to access / on this server

④把解压的phpMyAdmin 放在Sites目录下,才在浏览器 打开phpMyAdmin

 

另外一个配置方法用到xampp更简单  http://www.jianshu.com/p/e6fa5d8ee366

继续写一下使用过程中的问题:

问题①

这个问题,

A connection to the database could not be made. View the error message by opening the "/logs/error.log" log file, then go back to fix the problem.

 一般是host-name 和database-name没有写对,建议手动输入。

 

问题②

openfire HTTP ERROR 500  Problem accessing setup-profile-settings.jsp

解决:重启OpenFire,刷新页面或重新配置

 

问题③

装完openfire登录管理控制台居然提示:

Login failed:make sure your username and password are correct and that you’re an admin or moderator

解决:我的是重启openfire,然后刷新一下登录成功了。有的说重启openfire,再用安装时指定的用户名密码登陆即可,

默认是用户名:admin,密码:admin

 

然后是客户端的配置,可以用iMessage 和 小鸭子Adium 互相测试

小鸭子的配置很简单,也可以参考imessage ,注意后面的 @127.0.0.1

最后效果,

 

posted @ 2016-03-28 19:59  _yfan  阅读(558)  评论(0编辑  收藏  举报