First, the environment
1. System: ubuntu14.04_x64
Second, download
1. yaml-0.1.5: Link: http://pan.baidu.com/s/1sj8zGg1 Password: c8ah
2. expat-2.1.0: Link: http://pan.baidu.com/s/1qWE7zmk Password: 484h
3. libiconv-1.14: Link: http://pan.baidu.com/s/1i3zmBdz Password: jie2
4.otp_src_17.5: Link: http://pan.baidu.com/s/1nt1Mr5B Password: Jpg8
5. ejabberd-15.04: Link: http://pan.baidu.com/s/1mgkTvj6 Password: x32p
third, compile and install
1. Install the necessary dependencies
Execute: sudo apt-get install libncurses5-dev M4 FOP freeglut3-dev libwxgtk2.8-dev g++ libssl-dev xsltproc build-essential tk8.5 Unixodbc Unixodbc-dev libxml2-utils Zlib1g-dev
2. Installing Libexpat
After decompression execution:./configure; make; sudo make install
3. Installing Libiconv
Execution:./configure--prefix=/; Make sudo make install
4. Installing Libyalm
Execution:./configure--prefix=/; Make sudo make install
5. Installing Erlang
A. Implementation:./configure--prefix=/opt/erlang
B. Implementation: Make; sudo make install
C. Execution: Vi/etc/profile, adding environment variables export path=/opt/erlang/bin: $PATH
D. source/etc/profile
E. Execution: Erl, check whether the installation is successful
6. Installing Ejabberd
A. Implementation./configure--enable-zlib--enable-iconv--enable-debug--enable-nif--enable-user= ' WhoAmI '
B. Execute make; sudo make install
C. Perform ejabberdctl live to verify the installation is successful
Ubuntu14.04 source code Compilation installation ejabberd15.04