Fork me on GitHub

Centos7下安装mono3.10.0

mono 3.10.0 正式发布:性能进一步改进,以前已经写过一篇  Centos 7.0 安装Mono 3.4 和Jexus 5.6下面我们在CentOS 7上通过源码安装Mono 3.10, 需要安装最新的libgdiplus3.8。

1. 安装依赖项

yum -y install wget glib2-devel libtiff libtiff-devel libjpeg libjpeg-devel giflib giflib-devel libpng libpng-devel libX11 libX11-devel freetype freetype-devel fontconfig fontconfig-devel libexif libexif-devel gcc-c++ gettext unzip zip bzip2 bzip2-devel curl-devel gtk2-devel boost-devel cairo-devel

2.下载libgdiplus-3.8 并安装

cd /usr/local/src

wget http://origin-download.mono-project.com/sources/libgdiplus/libgdiplus-3.8.tar.gz

tar -zxvf libgdiplus-3.8.tar.gz

cd libgdiplus-3.8

./configure --prefix=/usr

make

make install

3. 下载mono3.10.0 并安装

cd /usr/local/src
wget http://download.mono-project.com/sources/mono/mono-3.10.0.tar.bz2
tar -jxvf mono-3.10.0.tar.bz2
cd mono-3.10.0
./configure --prefix=/usr

make 
make install

4.安装Jexus

wget linuxdot.net/down/jexus-5.6.3.tar.gz

tar -zxvf jexus-5.6.3.tar.gz

cd jexus-5.6.3

./install

 

[root@Mono jexus]# find / -name 'libMonoPosixHelper.so'
/usr/lib64/libMonoPosixHelper.so
/usr/local/src/mono-3.10.0/support/.libs/libMonoPosixHelper.so
/usr/lib/libMonoPosixHelper.so

 【解决】更新Jexus5.6.3后无法启动

Run Asp.Net MVC 4 with MySql on Linux Ubuntu with Mono – LAMA and LAMP

posted @ 2014-12-17 23:10 张善友 阅读(...) 评论(...) 编辑 收藏