FIX Find Error in Nginx Mainstream Service Missing (1)

This commit is contained in:
Mitchell Krog 2017-10-04 14:09:24 +02:00
parent a2fb4428ae
commit ee243a3b7e
No known key found for this signature in database
GPG key ID: 2BB9A077C8DD6994

View file

@ -67,16 +67,22 @@ sudo apt-get update
sudo apt-get install -y --assume-yes nginx-extras sudo apt-get install -y --assume-yes nginx-extras
sudo nginx -V sudo nginx -V
sudo nginx -t sudo nginx -t
#sudo service nginx start
# Try fix starting the Nginx Service
printf '\n%s\n%s\n%s\n\n' "###################################" " FIX NGINX SERVICE ISSUES" "###################################"
sudo service nginx start
sudo /etc/init.d/nginx stop
sudo /etc/init.d/nginx start sudo /etc/init.d/nginx start
sudo /etc/init.d/nginx reload sudo /etc/init.d/nginx reload
# Find where Nginx Mainstream Installed to and Find The Service or We Have to Enable it
#ls -la /etc/
ls -la /etc/nginx/ ls -la /etc/nginx/
sudo service nginx restart sudo service nginx restart
sudo service nginx reload sudo service nginx reload
sudo systemctl enable nginx.service
sudo systemctl status nginx.service
sudo service nginx start
printf '\n%s\n%s\n%s\n\n' "###################################" " END NGINX SERVICE ISSUES" "###################################"
# ************************************** # **************************************
# Make Sure We Cleanup From Nginx Test 3 # Make Sure We Cleanup From Nginx Test 3