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:
You can test whether the Apache process is running with
[root]# /etc/init.d/httpd start
[root]# /etc/init.d/httpd stop
[root]# /etc/init.d/httpd restart
[root]# pgrep httpd
| How to fix date/time/timezone from command line< Prev | Next >How to create custom linux ISO image |
|---|


