LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apache auto start-up (https://www.linuxquestions.org/questions/linux-newbie-8/apache-auto-start-up-449488/)

aztek 05-29-2006 12:34 AM

apache auto start-up
 
Hi Guys,

Im new to Linux(Debian), I've custom-built my apache 1.3.36 installation. It's working ok but i have to maniually start it during reboot. Where shall i place my "apachectl start" comand to load apache automatically after a reboot? I installed apache at /www.

Thanks in advance.

baddah 05-29-2006 12:47 AM

try

>> chkconfig --level 345 httpd on

,or put the start command in /etc/rc.local

aztek 05-29-2006 01:32 AM

sorry but i dont have /etc/rc.local and where shall i perform this chkconfig --level 345 httpd on?

Thanks

baddah 05-29-2006 01:53 AM

o ok,i see your using debian,I'm not to sure what file to insert it into then,but the chkconfig command should work if you type it in a terminal.(logged in as root).i don't have experience in debian,but surely that must work?

otherwise check this out...

http://www.linuxforums.org/forum/deb...-boot-how.html


All times are GMT -5. The time now is 05:23 PM.