Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> starting a service on boot?!
ProgrammersUnlim...
post Jan 11 2006, 08:57 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 11-January 06
Member No.: 5,958



I've done a ton of searching on google, but have only come up with nothing. I have vsftpd, httpd and mysql that need to start with the machine, how do i set that up? I find a ton of info on how the inittab works, but not how to add my own stuff. What do I do? thanks.
Go to the top of the page
 
+Quote Post
michaelk
post Jan 11 2006, 10:12 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



It depends on the linux distribution you are running.
Were the daemons installed with the OS, package management like RPM or by source?
If installed with the OS or by a package for the distro then it is preconfigured and you can use the GUI admin tool to configure services. If installed by source then you will need to manually configure the daemons to start at boot.

For example Fedora, Redhat, Mandrake and similar:
http://www.redhat.com/docs/manuals/linux/R...tdown-sysv.html

Searching for info on init.d, runlevels. will pop up lots of info.
Go to the top of the page
 
+Quote Post
cagey cretin
post Jan 12 2006, 08:52 PM
Post #3


./configure
***

Group: Members
Posts: 96
Joined: 9-September 03
Member No.: 1,413



QUOTE (ProgrammersUnlimited @ Jan 11 2006, 08:57 PM)
I've done a ton of searching on google, but have only come up with nothing. I have vsftpd, httpd and mysql that need to start with the machine, how do i set that up? I find a ton of info on how the inittab works, but not how to add my own stuff. What do I do? thanks.

Hi, I can't speak for all distros, but for a standard vanilla install for Redhat, Fedora Core, & WHEL, you would probably get results with (enter these as root from command line):

CODE
chkconfig vsftpd on
chkconfig httpd on
chkconfig mysqld on


Hope that helps.
Go to the top of the page
 
+Quote Post
Hemant
post Jan 14 2006, 03:07 PM
Post #4


RMS is my Hero
******

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29



For gentoo:
CODE
rc-update add httpd default


That snippet will add httpd service to the default boot runlevel.


--------------------
Hemant Kumar
user posted image
hemant@linuxhelp.net
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th October 2017 - 10:22 PM