【ejabberd】安装XMPP服务器ejabberd(Ubuntu 12.04)
2014-09-09 15:08
429 查看
原文地址:/article/5026244.html
【ejabberd】安装XMPP服务器ejabberd(Ubuntu 12.04)
ejabberdejabberd is a free and open source instant messaging server written in Erlang/OTP.
ejabberd is cross-platform, distributed, fault-tolerant, and based on open standards to achieve real-time communication.
ejabberd is designed to be a rock-solid and feature rich XMPP server.
ejabberd is suitable for small deployments, whether they need to be scalable or not, as well as extremely big deployments.
官方网站: http://www.ejabberd.im/
参考: https://git.process-one.net/ejabberd/mainline/blobs/raw/v2.1.11/doc/guide.html
安装
Ubuntu系统,可以使用apt-get安装ejabberd
终端执行
sudo apt-get install ejabberd
安装成功后,ejabberd就运行了
工具
ejabberdctl是管理ejabberd服务的终端命令工具
重启:
sudo ejabberdctl restart
状态:
sudo ejabberdctl status
创建管理员
1、 注册用户
下面,以在本地(localhost)注册用户名“anthony”密码“1234567”为例:
终端执行:
sudo ejabberdctl register anthony localhost 1234567
2、 修改配置文件
终端,切换目录至“/etc/ejabberd”
编辑ejabberd.cfg文件,在
%% Admin user
{acl, admin, {user, "", "localhost"}}.
后添加
{acl, admin, {user, "anthony", "localhost"}}.
{access, configure, [{allow, admin}]}.
3、 重启
4、 访问ejabberd Web Admin
浏览器访问地址: http://localhost:5280/admin
Username: anthony@localhost
Password: 1234567
登录成功,显示ejabberd管理界面:
相关文章推荐
- 【ejabberd】安装XMPP服务器ejabberd(Ubuntu 12.04)
- 【ejabberd】安装XMPP服务器ejabberd(Ubuntu 12.04)
- 【ejabberd】安装XMPP服务器ejabberd(Ubuntu 12.10)
- Ubuntu12.0.4 安装xmpp 服务器ejabberd
- 在ubuntu 12.04 14.04上面安装nfs服务器
- ubuntu 12.04 安装 nginx+php+mysql web服务器
- 在Ubuntu 12.04系统中安装jdk和配置tomcat服务器
- ubuntu 12.04中安装svn服务器
- ubuntu 12.04搭建tftp服务器的安装、设置、调试
- ubuntu 12.04 安装tftp服务器
- 在Ubuntu 12.04系统中安装jdk和配置tomcat服务器
- 在Ubuntu 12.04系统中安装jdk和配置tomcat服务器
- ubuntu 12.04安装svn服务器
- ubuntu 12.04搭建tftp服务器的安装、设置、调试
- ubuntu 12.04中安装svn服务器-亲测总结
- ubuntu 12.04 安装 nginx+php+mysql web服务器
- ubuntu 12.04 安装 nginx+php+mysql web服务器
- apache服务器安装以及使用passenger插件部署rails应用,基于ubuntu 12.04 LTS
- ubuntu 12.04 安装 nginx+php+mysql web服务器
- ubuntu 12.04 安装 nginx+php+mysql web服务器