阿里云centos6.532位如何安装asp.net环境?(nginxMYSQL已安装)
回6楼牛b王的帖子
windows太耗内存和CPU了。
-------------------------
回2楼ivmmff的帖子
经测试,这个一键源码仅支持centos5.1 32位系统。
-------------------------
回12楼买醉的帖子
高手,能否提示下centos6.5 下的asp.net安装要点?非常需要这个
-------------------------
Re阿里云centos6.532位如何安装asp.net环境?(nginxMYSQL已安装)
阿里云非常需要您这种技术专家啊!l
-------------------------
Re阿里云centos6.532位如何安装asp.net环境?(nginxMYSQL已安装)
我找到的是这个教程:
centos 6.5 mono + asp.net 配置####首先关闭由于CentOS自带的SELinux的原因,使得Apache无法连接到mod-mono-server,所以我们现在还需要配置SELinux。当然,这里为了简单就仅仅禁用SELinux,有兴趣的可以自己创建安全策略,使mod-mono-server可以生效。这里修改/etc/sysconfig/selinux文件。将“SELINUX=enforcing”修改为“SELINUX=permissive”或“SELINUX=disabled”,例如下图,保存重启系统即可。centos 6.5 mono + asp.net 配置yum updateyum -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 /homemkdir -p downcd downwget http://nginx.org/download/nginx-1.6.1.tar.gzwget http://download.mono-project.com/sources/mono/mono-3.6.0.tar.bz2wget http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.9.tar.bz2wget http://download.mono-project.com/sources/xsp/xsp-2.10.2.tar.bz2yum install pcre-devel yum install pcre-static/usr/sbin/groupadd www/usr/sbin/useradd -g www wwwmkdir /home/webmkdir -p /home/webchmod +w /home/webchown -R www:www /home/web#####使用 nginxtar zxvf nginx-1.6.1.tar.gz cd nginx-1.6.1yum install openssl-devel./configure --user=www --group=www --prefix=/opt/nginx --with-http_stub_status_module --with-http_ssl_modulemake && make installcd ../iptables -I INPUT -p tcp --dport 80 -j ACCEPT/opt/nginx/sbin/nginx#####安装 mono 组件tar -jxvf libgdiplus-2.10.9.tar.bz2 cd libgdiplus-2.10.9yum install libX11-develyum install cairo-devel./configure --prefix=/opt/monomake && make installcd ..tar -jxvf mono-3.6.0.tar.bz2 cd mono-3.6.0./configure --prefix=/opt/monomake && make installecho export PKG_CONFIG_PATH=/opt/mono/lib/pkgconfig:$PKG_CONFIG_PATH>>~/.bash_profileecho export LD_LIBRARY_PATH=/opt/mono/lib:$LD_LIBRARY_PATH>>~/.bash_profileecho export PATH=/opt/mono/bin:$PATH>>~/.bash_profilesource ~/.bash_profilemono -V###安装 xsp cd /home/downtar -jxvf xsp-2.10.2.tar.bz2cd xsp-2.10.2 ./configure --prefix=/opt/monomake && make installfastcgi-mono-server2 /applications=/:/home/web /socket=tcp:127.0.0.1:9000 &#fastcgi-mono-server4 /applications=/:/home/web /socket=tcp:127.0.0.1:9000 &4.0 .net framework 出错不知道为什么########使用apache mod_mono ##########cd /home/downwget http://download.mono-project.com/sources/mod_mono/mod_mono-2.10.tar.bz2 tar -jxvf mod_mono-2.10.tar.bz2 cd mod_mono-2.10./configure --prefix=/opt/monoconfigure: error: **** apxs was not found, DSO compilation will not be available.yum install httpdyum search apxsyum install httpd-devel./configure --prefix=/opt/monomake && make install
-------------------------
回17楼买醉的帖子
mono-4.0.3.19.tar.bz2这个文件没找到下载地址,在哪下载呢?
赞0
踩0