LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apache automatic start (https://www.linuxquestions.org/questions/linux-newbie-8/apache-automatic-start-745824/)

tekmann33 08-07-2009 08:59 AM

apache automatic start
 
I have downloaded and installed my apache2 service on to my Fedora 9 machine and I would like to have apache start at boot time.

I prefer installing the apache2 service from a tarball into the /usr/local directory since then I know where all the files are.

When I list the services with the chkconfig command this is what I receive for httpd:

Code:

[ezproxy@proxy ~]$ /sbin/chkconfig --list | grep httpd
httpd                  0:off        1:off        2:off        3:off        4:off        5:off        6:off
[ezproxy@proxy ~]$

Now, is this the http daemon that is associated with the apache2 that I just installed or is this the embedded apache service that came with Fedora? If it is not the apache2 that I installed, how do I get that to start at boot time?

Thanks in advance.

acid_kewpie 08-08-2009 02:12 AM

installing apache from source won't create a rc script for you. Compiling from source just for peace of mind seems very strange. You know exactly where the files are when you run "rpm -qf httpd" etc... and you'll be missing many patches and such that the vendor believes are important. Remove your source install, and install a proper rpm through yum.

Same time though, I've no idea what you're talking about with an "embedded" apache... fedora doesn't have this, nothing would have this... you've either got apache running, installed form an RPM, or you don't.


All times are GMT -5. The time now is 04:30 AM.