摘要: 第一步,安装nginxapt-get updateapt-get install nginx即可完成安装启动nginx:/etc/init.d/nginx start然后就可以访问了,http://localhost/ , 一切正常!如果不能访问,先不要继续,看看是什么原因,解决之后再继续。第二步,安装Php和mysql安装php和MySQL:apt-get install php5-cli php5-cgi mysql-server-5.0 php5-mysql第三步,安装FastCgi和配置我们需要/usr/bin/spawn-fcgi这个文件,而它是属于lighttpd这个包里面的,所以 阅读全文