How to know the status of webservers NGINX or APACHE2 in ubuntu?
Use the commands
sudo /etc/init.d/apache2 status
sudo /etc/init.d/nginx status
sudo /etc/init.d/apache2 start
sudo /etc/init.d/nginx start
sudo /etc/init.d/apache2 stop
sudo /etc/init.d/nginx stop
sudo service apache2 restart
sudo service nginx restart
Use the commands
sudo /etc/init.d/apache2 status
sudo /etc/init.d/nginx status
sudo /etc/init.d/apache2 start
sudo /etc/init.d/nginx start
sudo /etc/init.d/apache2 stop
sudo /etc/init.d/nginx stop
sudo service apache2 restart
sudo service nginx restart
Comments
Post a Comment