nginx 搭建网站
1.查看防火墙状态systemctl status firewalld
2.getenforce
3.安装nginx yum install nginx -y
4.网站信息 echo "welcome to yinchuankejixuanyuan" > /usr/share/nginx/html/index.html
5.查看命令状态 nginx -t
6.重启 systemctl restart nginx
1.查看防火墙状态systemctl status firewalld
2.getenforce
3.安装nginx yum install nginx -y
4.网站信息 echo "welcome to yinchuankejixuanyuan" > /usr/share/nginx/html/index.html
5.查看命令状态 nginx -t
6.重启 systemctl restart nginx