LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-29-2006, 12:34 AM   #1
aztek
LQ Newbie
 
Registered: Apr 2006
Posts: 18

Rep: Reputation: 0
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.
 
Old 05-29-2006, 12:47 AM   #2
baddah
Member
 
Registered: Feb 2006
Location: Cape Town,South Africa
Distribution: Fedora Core 8
Posts: 183

Rep: Reputation: 30
try

>> chkconfig --level 345 httpd on

,or put the start command in /etc/rc.local
 
Old 05-29-2006, 01:32 AM   #3
aztek
LQ Newbie
 
Registered: Apr 2006
Posts: 18

Original Poster
Rep: Reputation: 0
sorry but i dont have /etc/rc.local and where shall i perform this chkconfig --level 345 httpd on?

Thanks
 
Old 05-29-2006, 01:53 AM   #4
baddah
Member
 
Registered: Feb 2006
Location: Cape Town,South Africa
Distribution: Fedora Core 8
Posts: 183

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I auto start modules that aren't auto loaded on boot? darkbluedrew Debian 2 09-18-2005 09:10 AM
eth0 Auto Connect, How to auto start on logon cornish Linux - Networking 2 05-09-2005 12:02 PM
auto start up Daz_Man2803 Linux - Newbie 1 06-14-2004 02:32 PM
mplayer auto start FXRS Linux - Software 5 07-18-2003 10:43 AM
Auto Start eggoz Linux - General 1 03-21-2003 09:10 PM


All times are GMT -5. The time now is 02:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration