How to start the Apache Web Server in Redhat

There are several ways to run Apache at bootup, and here is one of the simple ones.
To run Apache at bootup type:

vi /etc/rc.local

This will open rc.local in the text editor “vi”. Arrow down to the bottom of the text (there may not be any yet, in which case it will be the first line) and add:

/etc/init.d/httpd start

(Visited 17 times, 1 visits today)
Spread the love