centos7安装nginx
1.添加Nginx存储库
yum install epel-release
2.安装
yum install nginx
3.启动
systemctl start nginx
4.设置开机启动
systemctl enable nginx
说明:
配置文件:/etc/nginx
日志文件:/var/log/nginx
参考文章:如何在CentOS 7上安装Nginx
Become a Linux Programmer
1.添加Nginx存储库
yum install epel-release
2.安装
yum install nginx
3.启动
systemctl start nginx
4.设置开机启动
systemctl enable nginx
说明:
配置文件:/etc/nginx
日志文件:/var/log/nginx
参考文章:如何在CentOS 7上安装Nginx