yum install nginx
[root@mufeng ~]# yum install nginx
CentOS系列:【Linux】CentOS7操作系统安装nginx实战(多种方法,超详细)
————————————————
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/weixin_54626591/article/details/134779653
commands: install nginx
vi file.sh
/search name (n or N for nect page)
turn off the iptable before ip address:81
ECS help documentary:
1/system: port can’t be killed
we can change port to 81 by vi nginx.conf
目的地: 81/81 源:0.0.0.0 all ip suitable for visiting this website
find / -name nginx.conf 找到根目录下名为nginx.conf的配置文件
vi usr/nginx/nginx.conf 利用vi编辑文档usr/nginx下的nginx.conf文档
centos 5,6 stopped domestcally, only cnetos7,8 used now: clost the iptables(firewall in centos, rferring to aliyun ECS documentary), beoforevisit this ip 9.308.309.309:81 successfully