Click to See Complete Forum and Search --> : Getting Apache to start on redhat 8 confusing


jhilb
10-15-2003, 03:14 PM
I am finding much comflicting information about how to automatically start apache upon boot of my redhat 8.0 machine.

I see rc.d and init.d directories and I really do not know how these work, or these symbolic thingys (i think that they are similar to windows shortcuts are they not?).

anyways... any good, precise info on getting my apache to start upon boot?

I already tried setting the httpd service to start on boot, but apache still is not running. it starts fine manually.

thanks
j

LordShryku
10-15-2003, 07:29 PM
Forgive me if there's some standard way, but I don't use Red Hat much. For what I do know, you can put your custom startup scripts in your /etc/rc.d/rc.local file. So in that file, if you put a line that says

./etc/init.d/httpd start

It should start on boot
HTH

Ok, just found it. At the shell prompt, type "setup" to get into the RH Setup utility, from there go to System Services, and you can choose httpd from the list. Either way here will work