Ubuntu 9.04 server用apt安装nginx并配置php(fastcgi)

转自:http://vpsblog.rashost.com/20080524-ubuntu-nginx/    “RASHOST VPS主机官方博客”

这篇文章是用http方式连接fastcgi,也可以用效率更高的unix domain socket – nginx以unix-domain-socket方式连接fastcgi(php)

由于Ubuntu 904已经包含了nginx,所以根本不要编译,安装超简单!

修改/etc/apt/sources.list文件内容为国内镜像,然后运行:

apt-get update
apt-get install nginx

Read the rest of this entry »