Difference between revisions of "Instalasi eJabberd"

From OnnoWiki
Jump to navigation Jump to search
Line 4: Line 4:
  
  
==Konfigurasi Dasar==
+
==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
 
Start & Stop eJabberd
Line 16: Line 31:
 
  # ejabberdctl stop
 
  # ejabberdctl stop
  
Membuat Account untuk Administrator
 
  
# ejabberdctl register admin1 example.org FgT5bk3
+
==Add & Remove User==
  
 +
Add user
  
Edit /etc/ejabberd/ejabberd.cfg
+
# ejabberdctl register admin1 example.org FgT5bk3
 +
# ejabberdctl register namauser namaserver password
  
# vi /etc/ejabberd/ejabberd.cfg
 
  
Set Previlige Admin
+
Remove User
  
  {acl, admins, {user, "admin1", "example.org"}}.
+
  # ejabberdctl unregister namauser namaserver
{access, configure, [{allow, admins}]}.
 
  
  

Revision as of 16:33, 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, 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