nginx installed inLinux

yum install nginx

[root@mufeng ~]# yum install nginx

CentOS系列:【Linux】CentOS7操作系统安装nginx实战(多种方法,超详细)

————————————————

netstat -anp |grep nginx

commands: install nginx

vi file.sh : under command mode
/searchName
(how to search the word on the file: 1)enter to search for the first word; 2) then press – n or N for next 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

相关推荐

最近更新

  1. TCP协议是安全的吗?

    2024-04-23 21:50:07       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-04-23 21:50:07       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-04-23 21:50:07       18 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-04-23 21:50:07       20 阅读

热门阅读

  1. webview透明

    2024-04-23 21:50:07       10 阅读
  2. Linux为根目录扩容

    2024-04-23 21:50:07       12 阅读
  3. 【K8S系列】深入解析K8S中PV 和PVC

    2024-04-23 21:50:07       13 阅读
  4. 关于ABB怎么回原点最简单的方法

    2024-04-23 21:50:07       18 阅读
  5. Python的pytest框架(4)--参数化测试

    2024-04-23 21:50:07       16 阅读
  6. idea 切换分支后 Project目录树小消失

    2024-04-23 21:50:07       13 阅读
  7. K8S 哲学 - yaml文件

    2024-04-23 21:50:07       11 阅读
  8. 自编码器实现

    2024-04-23 21:50:07       12 阅读
  9. web学习

    web学习

    2024-04-23 21:50:07      12 阅读
  10. sklearn【Accuracy】准确度介绍和案例学习!

    2024-04-23 21:50:07       14 阅读