Quick Linux commands for Apache2 server

Here are some quick to remember Linux commands for controlling Apache2 server.


1. Starting an Apache2 server.

"sudo service apache2 start"


2. Restarting an Apache2 server:

"sudo service apache2 restart"


3. Stoping an Apache2 server:

"sudo service apache2 stop"

Post a Comment

0 Comments