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

Comments

Popular posts from this blog

[Solved] Gitlab remote: ERROR: Your SSH key has expired.

[Resolved] groupVersion shouldn't be empty

[Solved] Fingerprint sha256 has already been taken