阿里云ecs CentOS 7 下安装 Nginx
Posted by 2018/1/21 15:10:48 • Author:JK.Li
1.使用 yum 命令直接安装
yum install nginx
2.配置文件config
vim /etc/nginx/nginx.conf
3.启动服务
service nginx start
4.停止服务
service nginx stop
5.查看日志
tail -f /var/log/nginx/access.log
Tagged: nginx centos
0 评论列表
发表评论
Wise Words
We can let circumstances rule us, or we can take charge and rule our lives from
within .
Earl Nightingale