启动ubuntu14.04并更新系统
#sudo apt-get update
#sudo apt-get upgrade
#sudo apt-get install -y vim
安装nginx
#sudo apt-get install -y nginx
安装mono
#sudo apt-get install -y mono-complete
安装fastcgi
#sudo apt-get install -y mono-fastcgi-server4
上传mvc程序并用xsp4测试
#sudo apt-get install -y mono-xsp4
#xsp
配置nginx并启动
#sudo vim /etc/nginx/site-available/default
#sudo vim /etc/nginx/fastcgi_params
#添加行
fastcgi_param PATH_INFO "";
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
#sudo /etc/init.d/nginx start
#nohup sudo fastcgi-mono-server4 /applications=/:/home/vagrant/MvcApplication1/ socket=tcp:127.0.0.1:8000 &
性能优化
在ubuntu14.04下搭建nginx+asp.net mvc环境
原文地址:http://3524848.blog.51cto.com/3514848/1728737