CentOS7 发布 ASP.NET MVC 4 --- mono 4.6.0 + jexus 5.8.1

时间:2023-03-08 17:14:07
CentOS7 发布 ASP.NET MVC 4 ---  mono 4.6.0 + jexus 5.8.1

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

1.下载libgdiplus-3.12.tar.gz
http://download.mono-project.com/sources/libgdiplus/

tar -zxvf libgdiplus-3.12.tar.gz -C /usr/local
cd /usr/local/
ls
cd libgdiplus-3.12/
./configure
make
make install

2.下载mono-4.6.0.125.tar.bz2
http://download.mono-project.com/sources/mono/

cd /usr/local/
ls
cd mono-4.6.0/
./configure
make
make install

3.下载jexus-5.8.1.tar.gz
http://www.linuxdot.net/down/jexus-5.8.1.tar.gz

cd /usr/jexus
./install
启动jexus,输入http://localhost/info 看到网页说明成功了
/usr/jexus/jws start
cd /usr/jexus/siteconf/
vi default

修改root、指向自己发布的目录
root=/ /usr/webTest

记录一些命令
/usr/jexus/jws start 开启jexus
/usr/jexus/jws restart 重启jexus
/usr/jexus/jws stop 停止jexus