How to start the Apache Web Server in Redhat 9.0
Redhat 9 comes with Apache webserver. This is installed by default, but does not run at boot up.
To run Apache type the following at the command prompt:
To test it type:
If apache is running you should see something like the following:
There are several ways to run Apache at bootup, and here is one of the simple ones.
To run Apache at bootup type:
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:
Then type :w and enter it (writes the file, i.e. saves it)
Followed by :q and enter it (quits the vi text editor)