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