Home » Technology » Howto
Tags: How to Enable httpd on Fedora 16, Start httpd, httpd start using systemctl, stop httpd , how to httpd start
How to Enable, Start, Restart and Stop Httpd in Fedora 16 ?
Submitted by Vidhu on Dec 31 2011
Views: 4866 | Subscribe
How to Enable/Start httpd ?
1. You have to enable Apache / httpd using systemctl
** systemctl - Control the systemd system and service manager
[root@stk /]# su
[root@stk /]# systemctl enable httpd.service
2. Start httpd using this command "systemctl start httpd.service"
[root@stk /]# systemctl start httpd.service
Check the status of httpd service using "systemctl status httpd.service"
How to Check httpd Status ?
[root@stk /]# systemctl status httpd.service
httpd.service - The Apache HTTP Server (prefork MPM)
Loaded: loaded (/lib/systemd/system/httpd.service; enabled)
Active: active (running) since Sat, 31 Dec 2011 17:43:05 +0400; 3h 31min ago
Main PID: 823 (httpd)
CGroup: name=systemd:/system/httpd.service
823 /usr/sbin/httpd -k start
839 /usr/sbin/httpd -k start
840 /usr/sbin/httpd -k start
842 /usr/sbin/httpd -k start
844 /usr/sbin/httpd -k start
845 /usr/sbin/httpd -k start
846 /usr/sbin/httpd -k start
847 /usr/sbin/httpd -k start
848 /usr/sbin/httpd -k start
1568 /usr/sbin/httpd -k start
How to Restart httpd ?
Restart httpd service : "systemctl restart httpd.service"
[root@stk /]# systemctl restart httpd.service
Stop httpd service : "systemctl restart httpd.service"
[root@stk /]# systemctl stop httpd.service
Articles Related to Linux :
What is systemctl ? - Linux Command
How to disable ssh root login in Fedora 16 linux ?
How can I list files with their absolute path in linux? ls with file path
Image Your Hard Drive using dd LinuxWebLog com
How to Print Files on Linux from a Remote Computer
Tags: How to Enable httpd on Fedora 16, Start httpd, httpd start using systemctl, stop httpd , how to httpd start

Leave a comment!