文章列表
1.使用fedora源
2.安装nginx
3.测试配置文件
4.编辑配置文件
5.启动nginx
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
yum install nginx
nginx -t
vim /etc/nginx/nginx.conf
service nginx start
[root@mail nginx]# cat /etc/nginx/nginx.conf
user nginx;
worker_processes 2;
...