码迷,mamicode.com
首页 > Web开发 > 详细

centos 6.5 mono + nginx + asp.net 配置

时间:2014-08-16 18:36:22      阅读:288      评论:0      收藏:0      [点我收藏+]

标签:http   os   ar   amp   c++   ad   .net   ef   

centos 6.5 mono + asp.net 配置


yum update


yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel bison pkgconfig glib2-devel gettext make


 cd /home


mkdir -p down


cd down


wget http://nginx.org/download/nginx-1.6.1.tar.gz


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


wget  http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.9.tar.bz2


wget http://download.mono-project.com/sources/xsp/xsp-2.10.2.tar.bz2


yum install pcre-devel


 yum install pcre-static


/usr/sbin/groupadd www


/usr/sbin/useradd -g www www


mkdir /home/web


mkdir -p /home/web


chmod +w /home/web


chown -R www:www /home/web


tar zxvf nginx-1.6.1.tar.gz 


cd nginx-1.6.1



yum install openssl-devel


./configure --user=www --group=www --prefix=/opt/nginx --with-http_stub_status_module --with-http_ssl_module



make && make install


cd ../


iptables -I INPUT -p tcp --dport 80 -j ACCEPT


/opt/nginx/sbin/nginx


tar -jxvf libgdiplus-2.10.9.tar.bz2 


 cd libgdiplus-2.10.9


yum install libX11-devel


yum install cairo-devel


./configure  --prefix=/opt/mono


make && make install


cd ..


tar -jxvf mono-3.6.0.tar.bz2 


cd mono-3.6.0


./configure --prefix=/opt/mono


centos 6.5 mono + nginx + asp.net 配置,布布扣,bubuko.com

centos 6.5 mono + nginx + asp.net 配置

标签:http   os   ar   amp   c++   ad   .net   ef   

原文地址:http://my.oschina.net/foxidea/blog/302421

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!