编译安装ejabberd

一.安装erlang

# 编译安装erlang
#https://www.erlang-solutions.com/downloads/download-erlang-otp

 

二.安装其他库

#zlib
sudo apt-get install zlib1g
sudo apt-get install zlib1g.dev

#openssl
sudo apt-get install openssl

#sudo apt-get install erlang-base erlang-nox erlang-dev build-essential libssl-dev libexpat-dev

###http://abhinavsingh.com/blog/2010/03/setting-up-ejabberd-2-1-x-development-environment-on-ubuntu/
    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

 

ejabberd13+ubuntu14.04

https://gist.github.com/dirkmoors/4acc602fedffe4768f39

 

ejabberd14.07+ubuntu12.04

https://github.com/rivendale2010/content/wiki/Install-or-upgrade-to-ejabberd-14.07-on-Ubuntu-12.04

 

http://www.jianshu.com/notebooks/129571/latest

 

#http://habrahabr.ru/post/236615/

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

autoconf -f
./configure --enable-mysql=yes --enable-odbc=yes


    ejabberd 1.1.*: R9C-2 up to R12B-5.
    ejabberd 2.0.*: R10B-9 up to R12B-5. Binary installers use R11B-5
    ejabberd 2.1.4-: R10B-9 up to R13B. Binary installers use R12B-4
    ejabberd 2.1.5+: R10B-9 up to R14B04. Binary installers use R12B-5
    ejabberd 2.1.10+: R10B-9 up to R15B. Binary installers use R14B04
    ejabberd 3.0.0-alpha-*: R12B-5, up to R15B. Binary installers use R14B04
    ejabberd 13.03-beta1: R15, up to R16. Binary installers will use R15* 

 

./autogen.sh
./configure --enable-mysql
make
make install

 

你可能感兴趣的:(编译安装ejabberd)