1. yum update

2. sh centos.sh

3. sh upgrade_nginx.sh

    nginx 1.7.0

4. cd /usr/local/nginx/conf/

    upload /vhost/*

              nginx.conf

 

5.upstream.conf  添加多个子域名

6.xxx.com.conf  配置域名

7./usr/local/nginx/sbin/nginx -t 

   测试配置文件

  /usr/local/nginx/sbin/nginx -s reload

  重启Nginx

 

8.修改密码

   passwd

9.重启 shutdown -r now

 

 

    

相关文章:

  • 2021-07-01
  • 2021-09-13
  • 2021-12-16
  • 2021-12-09
  • 2021-09-22
  • 2021-04-17
猜你喜欢
  • 2022-12-23
  • 2021-10-29
  • 2021-08-12
  • 2021-11-01
  • 2021-05-26
  • 2021-09-28
  • 2021-08-08
相关资源
相似解决方案