LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-31-2004, 09:13 AM   #1
berrance
Member
 
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Rep: Reputation: 30
starting apache at boot


can some one please tell me which file it is in slackware i will have to edit so as that software packages will start up at boot time?

what i need is apache and mysql to automaticly start up at boot time. which they did once upon a time until i uninstalled the default slackware apache and mysql and installed my own versions but they arnt installed in the same location so they no longer start at start up, i know hat command to put in the command line to start them up manually. as i said all i need is to know which file it is i need to edit.

thanks in advance for any help

berrance
 
Old 10-31-2004, 09:22 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You can use /etc/rc.d/rc.local and simply put their full path to execute their daemons, OR if you still have /etc/rc.d/rc.whatever for each file (rc.mysql rc.apache maybe) then you can edit the path's in them to the correct locations to use those scripts.

Cool
 
Old 10-31-2004, 10:23 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Since you removed the tgz slackware packages most likely, yes, your own compilation of these two programs have changed. I'd say if you still have the rc.mysql and rc.httpd files.. edit them to your own setup and you can have them startup from rc.M.. don't use rc.local for such services..
 
Old 11-01-2004, 03:36 AM   #4
berrance
Member
 
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Original Poster
Rep: Reputation: 30
thanks for the help guys. it works perfectly now. i still dont know all the ins and outs of linux yet as i have only been using linux for about 2 monthes up to now. i did have another question though i need to start my DHCP server at start up so would it work if i copied say the rc.httpd file and renamed it rc.dhcpd and edited it so it would start the DHCP up instead of apache would that work?

thanks for any help in advance your help so far has been great!
 
  


Reply



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
Apache not starting up scarr3d Debian 4 05-17-2005 04:05 AM
Apache not starting... noteventime Linux - Software 2 03-11-2005 05:34 PM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 06:39 PM
Starting Apache mattp Slackware - Installation 5 03-14-2004 10:58 PM
Starting apache and mysql as service on boot :: buddy Linux - General 2 12-30-2002 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:05 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
Open Source Consulting | Domain Registration