How Do I Start and Stop Httpd in Linux?
Contents How Do I Start and Stop Apache in Linux? Debian/Ubuntu Linux Specific Commands to Start/Stop/Restart Apache Restart Apache 2 Web Server, Enter: #...
Contents
How do I start and stop Apache in Linux?
Debian/Ubuntu Linux Specific Commands to Start/Stop/Restart Apache
- Restart Apache 2 web server, enter: # /etc/init.d/apache2 restart. $ sudo /etc/init.d/apache2 restart. …
- To stop Apache 2 web server, enter: # /etc/init.d/apache2 stop. …
- To start Apache 2 web server, enter: # /etc/init.d/apache2 start.
Must Read
How do I start httpd on Linux 7?
14.1. 3. Running the httpd Service
- 3.1. Starting the Service. To run the httpd service, type the following at a shell prompt as root : ~]# systemctl start httpd.service. …
- 3.2. Stopping the Service. …
- 3.3. Restarting the Service. …
- 14.1.3.4. Verifying the Service Status.