XMPP

Setting up ejabberd 2.1.x development environment on Ubuntu

Posted on

apt-get provide a convenient way of installing ejabberd on Ubuntu distributions. However, if you are an erlang developer and looking to write custom ejabberd modules, you might want to install ejabberd from the source code. Checkout ejabberd source To start with lets grab the ejabberd 2.1.x branch source code: sudo apt-get install git-core git clone git://git.process-one.net/ejabberd/mainline.git ejabberd cd ejabberd git checkout -b 2.1.x origin/2.1.x cd src Installing pre-requisites Lets setup necessary pre-requisites before compiling ejabberd source code: sudo apt-get install build-essential sudo apt-get install automake autoconf sudo apt-get install erlang erlang-manpages sudo apt-get install libexpat1-dev zlib1g-dev libssl-dev Compiling ejabberd source […]