Instalasi eJabberd

From OnnoWiki
Revision as of 16:33, 4 July 2009 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Instalasi eJabberd

# apt-get install ejabberd


Konfigurasi Server

Edit /etc/ejabberd/ejabberd.cfg

# vi /etc/ejabberd/ejabberd.cfg 
{hosts, ["namamesinanda.com"]}.

Set Previlige Admin

{acl, admin, {user, "namauserjadiadmin", "namamesinanda.org"}}.
{access, configure, [{allow, admin}]}.


Start & Stop Server

Start & Stop eJabberd

# /etc/init.d/ejabberd stop
# /etc/init.d/ejabberd start
# /etc/init.d/ejabberd restart
# ejabberdctl start
# ejabberdctl status
# ejabberdctl stop


Add & Remove User

Add user

# ejabberdctl register admin1 example.org FgT5bk3
# ejabberdctl register namauser namaserver password


Remove User

# ejabberdctl unregister namauser namaserver


Web Admin

http://example.org:5280/admin/



Pranala Menarik