Difference between revisions of "SMEOnffLine: Instalasi ejabberd Chatting Server"

From OnnoWiki
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
  # vi /etc/ejabberd/ejabberd.cfg  
 
  # vi /etc/ejabberd/ejabberd.cfg  
  
  {hosts, ["localhost","192.168.0.254","ukm.co.id","ukm"]}.
+
  {hosts, ["localhost","192.168.0.254","ukm","ukm.co.id"]}.
  
  
Line 30: Line 30:
 
  # ejabberdctl status
 
  # ejabberdctl status
 
  # ejabberdctl stop
 
  # ejabberdctl stop
 +
 +
  
 
==Setup Demo User==
 
==Setup Demo User==
  
* [[SMEOnffLine: ejabberd - menambahkan / mengurangi user]]
+
Lakukan memlalui terminal / [[shell]]
 +
 
 +
/etc/init.d/ejabberd restart
 +
ejabberdctl register admin1 localhost 123456
 +
ejabberdctl register admin localhost 123456
 +
ejabberdctl register admin1 ukm 123456
 +
ejabberdctl register admin ukm 123456
 +
ejabberdctl register admin1 ukm.co.id 123456
 +
ejabberdctl register admin ukm.co.id 123456
 +
 
 +
Setup previledge Admin
 +
 
 +
vi /etc/ejabberd/ejabberd.cfg
 +
 
 +
{acl, admin, {user, "admin1", "localhost"}}.
 +
{acl, admin, {user, "admin", "localhost"}}.
 +
{acl, admin, {user, "admin1", "ukm"}}.
 +
{acl, admin, {user, "admin", "ukm"}}.
 +
{acl, admin, {user, "admin1", "ukm.co.id"}}.
 +
{acl, admin, {user, "admin", "ukm.co.id"}}.
 +
 
 +
Restart ejabberd
 +
 
 +
/etc/init.d/ejabberd restart
  
 
==Web Admin==
 
==Web Admin==
Line 58: Line 83:
 
==Pranala Menarik==
 
==Pranala Menarik==
  
* [[SMEOnffLine: Server Berbasis Sabily 9.04]]
+
* [[SMEOnffLine: Server Berbasis Sabily]]
* [[SMEOnffLine: Server Berbasis Ubuntu 9.04]]
+
* [[SMEOnffLine: Server Berbasis Ubuntu]]

Latest revision as of 09:00, 6 January 2010

Pastikan anda sebagai root. Instalasi eJabberd dapat dilakukan menggunakan perintah

su -
apt-get install ejabberd


Konfigurasi Server

Edit /etc/ejabberd/ejabberd.cfg

# vi /etc/ejabberd/ejabberd.cfg 
{hosts, ["localhost","192.168.0.254","ukm","ukm.co.id"]}.


Restart eJabberd

# /etc/init.d/ejabberd restart

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


Setup Demo User

Lakukan memlalui terminal / shell

/etc/init.d/ejabberd restart
ejabberdctl register admin1 localhost 123456
ejabberdctl register admin localhost 123456
ejabberdctl register admin1 ukm 123456
ejabberdctl register admin ukm 123456
ejabberdctl register admin1 ukm.co.id 123456
ejabberdctl register admin ukm.co.id 123456

Setup previledge Admin

vi /etc/ejabberd/ejabberd.cfg 
{acl, admin, {user, "admin1", "localhost"}}.
{acl, admin, {user, "admin", "localhost"}}.
{acl, admin, {user, "admin1", "ukm"}}.
{acl, admin, {user, "admin", "ukm"}}.
{acl, admin, {user, "admin1", "ukm.co.id"}}.
{acl, admin, {user, "admin", "ukm.co.id"}}.

Restart ejabberd

/etc/init.d/ejabberd restart

Web Admin

http://192.168.0.254:5280/admin/

Login dengan

username admin1@ukm.co.id
password 123456
Ejabberd-01.jpeg
Ejabberd-02.jpeg
Ejabberd-03.jpeg
Ejabberd-04.jpeg
Ejabberd-05.jpeg
Ejabberd-06.jpeg

Pranala Menarik