Pages

Subscribe:

Sunday, January 11, 2015

Configuring Apache to auto-start on Reboot

For configuring Apache service to autostart in case of a server restart follow the steps below:-


#chkconfig --list httpd
#chkconfig --add httpd
#chkconfig --list httpd
output:-
httpd             0:off 1:off 2:off 3:off 4:off 5:off 6:off
#chkconfig httpd on
#chkconfig --list httpd
output:-
httpd             0:off 1:off 2:on  3:on  4:on  5:on  6:off

0 comments:

Post a Comment