General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-30-2004, 11:34 AM
|
#1
|
LQ Newbie
Registered: Jul 2004
Location: Pakistan
Posts: 4
Rep:
|
starting a service at boot time
Hi all,
i need to start mysql deamon at boot time so that i dont need to start it manually.. can any body help.. thanks in advance
regards
Asad
|
|
|
07-30-2004, 12:30 PM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
the method to do this varies between distros...
what distro are you using??
|
|
|
07-30-2004, 04:03 PM
|
#3
|
Member
Registered: Jul 2004
Location: Perth , Western Australia
Distribution: Fedora Core 5 , Mint 9
Posts: 118
Rep:
|
In most distros you can type at the command line
ntsysv
A utility will show up with a list of services that can be started at boot-up , scroll down the list and select / deselect the required service by pressing the space bar , then press Tab to select OK and then exit.
|
|
|
07-31-2004, 01:20 AM
|
#4
|
LQ Newbie
Registered: Jul 2004
Location: Pakistan
Posts: 4
Original Poster
Rep:
|
i am using Red Hat 9
|
|
|
07-31-2004, 09:59 AM
|
#5
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
try using something like this:
chkconfig mysql on
|
|
|
07-31-2004, 01:21 PM
|
#6
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
yup as win32sux said you can use the chkconfig utility from the command line interface or if you are using th desktop you can run redhat-config-services to get a nice little gui. I prefer chkconfig as well but linux is all about options so I figured I'd throw this one out too.
|
|
|
All times are GMT -5. The time now is 02:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|