SchoolOnffLine: Instalasi ejabberd Chatting Server
Revision as of 08:34, 7 September 2009 by Onnowpurbo (talk | contribs)
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", "sekolah.sch.id","sekolah"]}.
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
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://192.168.0.254:5280/admin/
Login dengan
username admin1@192.168.0.254 password 123456