ryanzheng

1)  卸载nginx

[root@locahost /]# yum remove nginx

 

2) 查看nginx是否还存在

[root@localhost /]# which nginx

 

 

3)重新安装 Nginx

[root@localhost /]# yum install nginx

 

4)启动 Nginx

[root@localhost /]# yum start nginx

 

5)设置自动开机启动 Nginx

[root@localhost /]# yum enable nginx

 

分类:

技术点:

相关文章:

  • 2022-01-01
  • 2022-01-01
  • 2021-05-18
  • 2021-07-09
  • 2021-11-28
  • 2022-01-01
  • 2021-10-19
  • 2021-09-23
猜你喜欢
  • 2022-01-01
  • 2022-01-01
  • 2022-01-01
  • 2022-01-01
  • 2021-07-29
  • 2021-05-06
  • 2021-05-20
相关资源
相似解决方案