可爱熊个人博客

centos7安装nginx

使用yum安装nginx

yum install -y nginx

启动nginx

systemctl start nginx.service

停止nginx

systemctl stop nginx.service

修改nginx配置

vi /etc/nginx/nginx.conf

Comments are closed.