LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-09-2004, 12:19 PM   #1
yuva_mca
LQ Newbie
 
Registered: Oct 2003
Posts: 21

Rep: Reputation: 15
start the service for every boot time


Hi

I have installed apache with .tar file .I have the
apache under /usr/local/apache . apachectl file under
/usr/local/apache/bin directory. How to start the
apachectl service for every time system restart, It
must be start automatically. Please tell me how to
do... How to write the script, how to configure for
run level 2,3 and 5. Please give me the solution as
soon as possible.

Regards
Yuvaraj.K
 
Old 03-09-2004, 12:34 PM   #2
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
What distribution are you using?

Some have different tools than others...

'man chkconfig' may work for you.
 
Old 03-09-2004, 12:35 PM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2393Reputation: 2393Reputation: 2393Reputation: 2393Reputation: 2393Reputation: 2393Reputation: 2393Reputation: 2393Reputation: 2393Reputation: 2393Reputation: 2393
You do not mention which distro you are using, this is important because some distro's have a different way of implementing the runlevel mechanism.

Feed your fav searchengine with: runlevels <distro>
You should get lots of hits.

If something is still not clear, feel free to ask
 
Old 03-09-2004, 01:18 PM   #4
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 39
Add the command to /etc/rc.d/rc.local

-Joey
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get service to start at boot zaichik Linux - Newbie 12 08-27-2008 09:15 PM
BOINC as a service to start at boot purelithium Linux - General 14 11-18-2005 09:04 PM
Network service start at boot? King of Japan Linux - Networking 2 09-01-2005 10:23 AM
starting a service at boot time fallen26 General 5 07-31-2004 12:21 PM
how to start a service at boot senthilkumar Slackware 2 07-19-2004 07:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:15 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration