1, update system (can be ignored) yum–y Update 2, installation of mono source installation required Library
Yum Install GCC GCC make Libpng-devel libjpeg-devel libtiff-devel libexif-devel giflib-devel libx11-devel freetype-devel Fontconfig-devel cairo-deve
reminder: The compiler Libgdiplus,mono is specified to install to/usr (./configure--prefix=/usr)
(It is very important that I install to other directories, which causes the startup script to be problematic, can not be fixed, directly installed to/usr perfect solution)
or you can refer to this man's to install, I have not tried:http://www.cnblogs.com/xiaodiejinghong/archive/2013/04/01/2994216.html 3. Install the Libgdiplus of the GDI + compatible API required by mono
cd/usr/local/src/wget http://download.mono-project.com/sources/libgdiplus/ libgdiplus-4.2.tar.bz2tar -jxvf libgdiplus-4.2. Tar . BZ2CD libgdiplus-4.2. /configure--prefix=/usrmake doinstall
4. Source Installation Mono
cd/usr/local/src/wget http://download.mono-project.com/sources/mono/mono-5.0.1.1.tar.bz2 tar -jxvf mono-5.0. 1.1. Tar . bz2. /configure--prefix=/usrmake doinstall
Enter Mono-v If you have mono version information, the installation succeeds 5. Install Jexus
wget linuxdot.net/down/jexus-5.8. 2. Tar . GZ tar -zxvf jexus-5.8. 2. Tar . GZCD Jexus-5.8. 2 . /Install
Here, Jexus is installed by default to the/usr/jexus directory Jexus Administrative command starts:/usr/jexus/jws start stop:/usr/jexus/jws stop restart:/usr/jexus/jws restart Status:/usr /jexus/jws Status 5.1 setting Jexus for boot startup script: Vi/etc/init.d/jwschmod +x/etc/init.d/jwsservice jws startchkconfig JWs on
#!/bin/Bash #chkconfig:2345 the to#description: jws#./etc/rc.d/init.d/functions Case " $" inchstart)Echo "Jexus Start ."/usr/jexus/JWs start;; Stop)Echo "Jexus Stop:"/usr/jexus/JWs stop;; Restart)Echo "Jexus Restart"/usr/jexus/JWs restart;; Status)/usr/jexus/jws status;;*) Exit1 ;;EsacExit $RETVAL
Http://www.cnblogs.com/xiaodiejinghong/archive/2013/04/01/2994216.html Jexus Configuring/usr/jexus #JWS工作目录
/usr/jexus/siteconf #网站配置目录 A file represents a Web site
/usr/jexus/jws.conf #基本的配置文件, pointing to/usr/jexus/siteconf/usr/jexus/log #日志目录 The simplest configuration:
/usr/jexus/siteconf Add a file vi zcyport=root=//var/www// Var/www/zcy can be accessed under
More specific configuration in the Jexus program has been described, specific can be viewed.
Linux under Jexus+mono installation