Difference between revisions of "Instalasi eJabberd"

From OnnoWiki
Jump to navigation Jump to search
Line 15: Line 15:
 
Set Previlige Admin
 
Set Previlige Admin
  
  {acl, admin, {user, "namauserjadiadmin", "namamesinanda.org"}}.
+
  {acl, admins, {user, "namauserjadiadmin", "namamesinanda.org"}}.
  {access, configure, [{allow, admin}]}.
+
  {access, configure, [{allow, admins}]}.
  
  

Revision as of 16:42, 4 July 2009

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, admins, {user, "namauserjadiadmin", "namamesinanda.org"}}.
{access, configure, [{allow, admins}]}.


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