Difference between revisions of "Instalasi eJabberd"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 4: | Line 4: | ||
− | ==Konfigurasi | + | ==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 | ||
− | |||
− | + | ==Add & Remove User== | |
+ | Add user | ||
− | + | # ejabberdctl register admin1 example.org FgT5bk3 | |
+ | # ejabberdctl register namauser namaserver password | ||
− | |||
− | + | Remove User | |
− | + | # ejabberdctl unregister namauser namaserver | |
− | |||
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/