• Increase font size
  • Default font size
  • Decrease font size

How To Get Apache Started in redhat

 Use the chkconfig command to configure Apache to start at boot:

[root]# chkconfig httpd on

Use the httpd init script in the /etc/init.d directory to start,stop, and restart Apache after booting:

[root]# /etc/init.d/httpd start
[root]# /etc/init.d/httpd stop
[root]# /etc/init.d/httpd restart

You can test whether the Apache process is running with

[root]# pgrep httpd

 

Add comment


Security code
Refresh