[ejabberd] Install ejabberd without admin privileges?

Badlop badlop at gmail.com
Mon Feb 22 13:40:58 MSK 2010


2010/2/22 Karthik Kailash <karthik at socialvisioninc.com>:
> Is it possible to install ejabberd on a server without administrator
> access?  The guide says “Note that you probably need administrative
> privileges in the system to install ejabberd.”


Yes, simply set a prefix directory where you can write.
For example:

$ whoami
badlop

$ ./configure --prefix=/home/badlop/eja21x
...

$ make
...

$ make install
...

$ /home/badlop/eja21x/sbin/ejabberdctl start

$ /home/badlop/eja21x/sbin/ejabberdctl status
The node ejabberd at localhost is started with status: started
ejabberd 2.1.x is running in that node

$ netstat -nlp | grep beam
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:55154           0.0.0.0:*
LISTEN      22210/beam.smp
tcp        0      0 0.0.0.0:5269            0.0.0.0:*
LISTEN      22210/beam.smp
tcp        0      0 0.0.0.0:5280            0.0.0.0:*
LISTEN      22210/beam.smp
tcp        0      0 0.0.0.0:5222            0.0.0.0:*
LISTEN      22210/beam.smp


---
Badlop
ProcessOne


More information about the ejabberd mailing list