centos 6.5 mono + nginx + asp.net 配置

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 配置,古老的榕树,5-wow.com

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。