The eBay Song - Reptile Supplies - Homeowner Loans - Debt Help - Flights

PDA

View Full Version : How to make tarball version of Apache 2 into service in Linux?


shishi
Jul 18th 2006, 10:38 pm
I have downloaded Apache 2.2.2 and installed it on my computer running Linux Mandrake 10.1 and on other computer running Fedora.

From the documentation, I know that to start apache we can use

/usr/local/apache2/bin/apachectl start

I also know that Mandrake 10.1 and Fedora has been bundled with apache.

My question is how can I make my apache installation to replace the bundled one so my apache can run as a service and I can start it with

service httpd start



Anyone can help me?

wormy
Jul 19th 2006, 4:39 am
Apache 1.3 starts with apachectl start but apache2 startes with apache2ctl so you need to stop 1.3 from running at startup and have 2.0 start instead. There is a utility sysv-rc-conf that can do that very quickly.