From 43a8376fb83165f5d30781ea1f8acdc5f4d6ca7c Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Tue, 3 Oct 2017 15:16:54 +0200 Subject: [PATCH] ADD Nginx Mainstream Test (Step 10) --- .dev-tools/install-nginx-4.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.dev-tools/install-nginx-4.sh b/.dev-tools/install-nginx-4.sh index 8e01491e6..a56a95689 100755 --- a/.dev-tools/install-nginx-4.sh +++ b/.dev-tools/install-nginx-4.sh @@ -47,10 +47,10 @@ # Lets Uninstall Current Nginx 1.12.1 # *********************************** -sudo apt-get -y remove nginx -sudo apt-get -y remove nginx-extras +#sudo apt-get -y remove nginx +#sudo apt-get -y remove nginx-extras sudo apt-get -y install software-properties-common -sudo apt-get -y autoremove +#sudo apt-get -y autoremove sudo rm -rf /etc/nginx/mybots.d/ sudo rm -rf /etc/nginx/myconf.d/ @@ -61,7 +61,8 @@ sudo rm -rf /etc/nginx/myconf.d/ mainstreamnginx=development sudo add-apt-repository -y ppa:nginx/$mainstreamnginx sudo apt-get update -sudo apt-get install -y --assume-yes nginx-extras +#sudo apt-get install -y --assume-yes nginx-extras +sudo apt-get -y dist-upgrade sudo nginx -V sudo nginx -t sudo service nginx start @@ -72,9 +73,9 @@ sudo service nginx start ls -la /etc/nginx/ sudo service nginx restart sudo service nginx reload -sudo systemctl status nginx.service -sudo systemctl enable nginx.service -sudo systemctl status nginx.service +#sudo systemctl status nginx.service +#sudo systemctl enable nginx.service +#sudo systemctl status nginx.service # ************************************** # Make Sure We Cleanup From Nginx Test 3