一.准备环境
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
二.下载并安装libgdiplus, libgdiplus是一个Mono库,用于对非Windows操作系统提供GDI+兼容的API。
各版本的下载地址:http://download.mono-project.com/sources/libgdiplus/
cd /tmp wget http://download.mono-project.com/sources/libgdiplus/libgdiplus-4.2.tar.gz tar zxf libgdiplus-4.2.tar.gz cd libgdiplus-4.2 ./configure --prefix=/usr make make install ldconfig
三.下载并安装mono,各版本的下载地址:http://download.mono-project.com/sources/mono/
cd /tmp wget http://download.mono-project.com/sources/mono/mono-4.4.0.40.tar.bz2 tar jxf mono-4.4.0.40.tar.bz2 cd mono-4.4.0 ./configure --prefix=/usr make -j2 make install ldconfig
四 测试mono
五.下载并安装jexus,各版本的下载地址:http://www.linuxdot.net/
cd /tmp wget www.linuxdot.net/down/jexus-5.8.1.tar.gz tar zxf jexus-5.8.1.tar.gz cd jexus-5.8.1 ./install /usr/jexus ldconfig
六.jexus 命令
启动jexus: sudo/usr/jexus/jws start 停止jexus: sudo/usr/jexus/jws stop 重启jexus: sudo/usr/jexus/jws restart
七.查看是否安装成功
文章主要来源:http://www.cnblogs.com/gaobing/p/4953236.html