Linux安装最新版Mono,Jexus(截至2015年12月30日)

安装系统必备:

yum -y install gcc gcc-c++ bison pkgconfig glib2-devel gettext make libpng-devel libjpeg-devel libtiff-devel libexif-devel giflib-devel libX11-devel freetype-devel fontconfig-devel  cairo-devel

下载:

http://download.mono-project.com/sources/mono/mono-4.2.2.10.tar.bz2

http://download.mono-project.com/sources/libgdiplus/libgdiplus-4.2.tar.gz

http://www.linuxdot.net/down/jexus-5.8.0.tar.gz

然后解压libgdiplus,并安装:

tar zxf libgdiplus-4.2.tar.gz

cd libgdiplus-4.2
./configure --prefix=/usr/local/mono/
make
make install

echo "/usr/local/mono/lib" > /etc/ld.so.conf.d/mono.conf
ldconfig

接着安装mono:

tar jxf mono-4.2.2.10.tar.bz2

cd mono-4.2.2

./configure --prefix=/usr/local/mono/
make -j2
make install
echo PATH=/usr/local/mono/bin:$PATH>>~/.bash_profile
source ~/.bash_profile

最后安装Jexus

tar zxf jexus-5.8.0.tar.gz
cd jexus-5.8.0
./install /usr/local/jexus

修改jws的环境变量:

cd /usr/local/jexus
vim jws export PATH
=/usr/local/mono/bin:$PATH export LD_LIBRARY_PATH=/usr/local/mono/lib:$LD_LIBRARY_PATH

修改防火墙:

iptables -I INPUT -p tcp --dpor 80 -j ACCEPT  
service iptables save
service iptables restart
cat /etc/sysconfig/iptables

启动,查看是否成功:

./jws start
netstat -tpnl | grep 80

 

Linux安装最新版Mono,Jexus(截至2015年12月30日)_第1张图片

转:http://jhonge.net/Home/Single2/2380

http://www.linuxdot.net/bbsfile-3084

你可能感兴趣的:(Linux安装最新版Mono,Jexus(截至2015年12月30日))