вторник, 24 декабря 2013 г.

Installing ejabberd from sources

wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
dpkg -i erlang-solutions_1.0_all.deb
apt-get update

apt-get install make gcc git libyaml-dev libexpat1-dev libssl erlang

git clone https://github.com/processone/ejabberd

cd ejabberd

./configure --enable-odbc
make

make install

These commands will:
 - Install the configuration files in /etc/ejabberd/
 - Install ejabberd binary, header and runtime files in /lib/ejabberd/
 - Install the administration script: /sbin/ejabberdctl
 - Install ejabberd documentation in /share/doc/ejabberd/
 - Create a spool directory: /var/lib/ejabberd/
 - Create a directory for log files: /var/log/ejabberd/