Difference between revisions of "SMEOnffLine: Instalasi ejabberd Chatting Server"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 38: | Line 38: | ||
/etc/init.d/ejabberd restart | /etc/init.d/ejabberd restart | ||
− | ejabberdctl register admin1 ukm | + | ejabberdctl register admin1 ukm 123456 |
− | ejabberdctl register admin ukm | + | ejabberdctl register admin ukm 123456 |
Setup previledge Admin | Setup previledge Admin | ||
Line 45: | Line 45: | ||
vi /etc/ejabberd/ejabberd.cfg | vi /etc/ejabberd/ejabberd.cfg | ||
− | {acl, admin, {user, "admin1", "ukm | + | {acl, admin, {user, "admin1", "ukm"}}. |
− | {acl, admin, {user, "admin", "ukm | + | {acl, admin, {user, "admin", "ukm"}}. |
− | |||
==Web Admin== | ==Web Admin== |
Revision as of 10:07, 13 November 2009
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.co.id","ukm"]}.
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 ukm 123456 ejabberdctl register admin ukm 123456
Setup previledge Admin
vi /etc/ejabberd/ejabberd.cfg
{acl, admin, {user, "admin1", "ukm"}}. {acl, admin, {user, "admin", "ukm"}}.
Web Admin
http://192.168.0.254:5280/admin/
Login dengan
username admin1@ukm.co.id password 123456