LinuxQuestions.org
Visit Jeremy's Blog.
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 03-20-2004, 11:24 AM   #1
Lucasite
LQ Newbie
 
Registered: Mar 2004
Location: United Kingdom
Posts: 21

Rep: Reputation: 15
Starting services at bootup


Hi there,

can anyone tell me the file that contains a list of programme to load at startup?
Ive installed apache web server, but cant get it to start until my box has booted up, and i physical have to type in httpd

Any help gratefully appreciated
 
Old 03-20-2004, 11:56 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Every distribution has it's own way of arranging the bootscripts which start things up when the system boots. It would help if you could share the secret of which version of linux you're using.
 
Old 03-20-2004, 01:29 PM   #3
Lucasite
LQ Newbie
 
Registered: Mar 2004
Location: United Kingdom
Posts: 21

Original Poster
Rep: Reputation: 15
sorry,
im using vector linux.
it has its own tool in X that allows you to select which programs to run at startup, however Ive installed apache and mysql now, but they dont appear in the list. i have to manually start them
 
Old 04-16-2004, 10:07 AM   #4
WebWorkz
LQ Newbie
 
Registered: Aug 2003
Location: Tampa, FL
Posts: 3

Rep: Reputation: 0
How to start apache on boot up. I have no gui so I'm going to have to learn this stuff from command line.

Everything I read tells me I should nix the idea of gui on a box to be used as webserver, so here I go...

Thanks
 
Old 04-16-2004, 10:13 AM   #5
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
In Vector, boot scripts are in /etc/rc.d. If you installed apache and MySQL from Slack/Vector packages then there might be a rc.apache or rc.mysql script in /etc/rc.d. Make them executable:
Code:
chmod +x /etc/rc.d/rc.apache
and they'll start when you reboot. If you don't see a rc.apache or rc.mysql script, then add the commands to start them to /etc/rc.d/rc.local. Then they'll start at boot.
 
Old 04-17-2004, 03:08 PM   #6
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,477

Rep: Reputation: 87
Hi!

In RedHat 7.3, I put

httpd &

in

/etc/rc.local

That started it up fine each time I booted my system.
 
  


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
starting programs on bootup mantonr Linux - Newbie 2 05-30-2005 10:07 AM
bootup sequence services problem meDream Linux - Newbie 2 05-18-2005 07:25 AM
daemons starting on bootup papajohns AIX 4 08-04-2004 02:27 PM
starting apache at bootup softgun Debian 11 08-05-2003 08:17 AM
help starting xscreensaver at bootup rose_bud4201 Linux - Software 2 01-10-2003 07:25 AM


All times are GMT -5. The time now is 01:47 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration