ubuntu run apache code example
Example 1: how to stop a web server linux
# how to stop a web server linux
sudo service apache2 stop
Example 2: start apache service
systemctl status apache2
# how to stop a web server linux
sudo service apache2 stop
systemctl status apache2