Ejabberd instant messaging server installation and configuration of ubuntu system

ejabberd version 2.1.5:
1) If there is ejabberd before, please go to the original run ejabberd directory (there is no skip):
the make Uninstall
delete the original ejabberd directory already exists:
/ etc / ejabberd
/ var / lib / ejabberd
/ log / ejabberd

2) mounted ejabberd
./configure --enable-ODBC
the make
the make the install

 

Ubuntu apt installation or use the install -f ejabberd GET-APT

. 3) register a user:
ejabberdctl Register [User] [Server] [password]
as: ejabberdctl Register ADMIN ubuntuserver 123456

. 3) arranged /etc/ejabberd/ejabberd.cfg

A) modified domain name, to find the hosts, as follows:
{the hosts, [ "ubuntuserver"]}.

B) adding an administrator, found at acl read as follows:
{acl, ADMIN, {User, "ADMIN", "ubuntuserver"}}.

{acl, admin, {user, "sunry", "ubuntuserver"}}.


http: // ubuntuserver: 5280 / admin to manage

Reproduced in: https: //my.oschina.net/usenrong/blog/197811

Guess you like

Origin blog.csdn.net/weixin_33979203/article/details/92028905