1.系統:Ubuntu14.04_x64ui
1. yaml-0.1.5:連接: http://pan.baidu.com/s/1sj8zGg1 密碼: c8ahes5
2. expat-2.1.0:連接: http://pan.baidu.com/s/1qWE7zmk 密碼: 484hspa
3. libiconv-1.14:連接: http://pan.baidu.com/s/1i3zmBdz 密碼: jie2debug
4.otp_src_17.5:連接: http://pan.baidu.com/s/1nt1Mr5B 密碼: jpg8unix
5. ejabberd-15.04:連接: http://pan.baidu.com/s/1mgkTvj6 密碼: x32pxml
1. 安裝必要的依賴ssl
執行: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 rebar
get
2.安裝libexpat編譯
解壓縮後執行:./configure ; make ; sudo make install變量
3. 安裝libiconv
執行:./configure --prefix=/ ; make; sudo make install
4. 安裝libyalm
執行:./configure --prefix=/usr/local ; make; sudo make install
5. 安裝erlang
a. 執行:./configure --prefix=/opt/erlang
b. 執行:make; sudo make install
c. 執行:vi /etc/profile,添加環境變量export PATH=/opt/erlang/bin:$PATH
d. source /etc/profile
e. 執行:erl,檢驗是否安裝成功
6. 安裝ejabberd
a. 執行./configure --enable-zlib --enable-iconv --enable-debug --enable-nif --enable-user=`whoami`
b. 執行make; sudo make install
c.執行ejabberdctl live,檢驗是否安裝成功