ejabberd在ubuntu下的安装配置

一.安装ejabberd

sudo apt-get install ejabberd

 

二.配置web管理用户

1.添加/etc/hosts

127.0.0.1      xmpp.test.com

 

2.修改/etc/ejabberd/ejabberd.cfg的hosts

sudo vim /etc/ejabberd/ejabberd.cfg

%% Admin user
{acl, admin, {user, "admin", "xmpp.test.com"}}.

%% Hostname
{hosts, ["localhost", "xmpp.test.com"]}.

 

3.注册admin账户

sudo service ejabberd restart

sudo ejabberdctl register admin xmpp.test.com 123456

 

4.访问http://xmpp.test.com:5280/admin/

 

2.1.4翻译文档

http://wiki.jabbercn.org/index.php?title=Ejabberd2:%E5%AE%89%E8%A3%85%E5%92%8C%E6%93%8D%E4%BD%9C%E6%8C%87%E5%8D%97&variant=zh

 

ejabberd auth_method external ruby

http://mumaren.me/blog/2012/03/26/ejabberd_ruby_auth/

 

ruby script

https://gist.github.com/huangxiangdan/2495010

 

http://www.mogilowski.net/lang/de-de/2009/02/04/authenticate-ejabberd-with-an-mysql-database

 

php script

https://www.ejabberd.im/check_mysql_php

 

avatar

http://stackoverflow.com/questions/13467846/use-avatar-image-in-xmpp-and-ejabberd

 

你可能感兴趣的:(ejabberd安装)