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 |
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-22-2003, 08:59 AM
|
#1
|
Member
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439
Rep:
|
What daemons i stop to boot faster?
how do i stop sendmail and what other daemons dont need if im not running a server.
|
|
|
07-22-2003, 09:33 AM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
edit the startup scripts. They should be located in /etc/rc.d/init.d
|
|
|
07-22-2003, 10:42 AM
|
#3
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
Which Linux distribution are you using?
Most of them have a GUI tool for service management and/or configuration.
At the command line, you can use chkconfig.
Code:
chkconfig --level <levels> <service_name> <on|off>
Type chkconfig --list to see a complete list of all services and runlevels.
|
|
|
07-23-2003, 01:43 AM
|
#4
|
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181
Rep:
|
As jpbarto, I generally just "chmod -x" the scripts I don't need (sendmail, et cetera). No editing necessary, and the scripts are still there in case I want them in the future
|
|
|
07-23-2003, 03:17 AM
|
#5
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
Re: What daemons i stop to boot faster?
Quote:
Originally posted by h1tman
how do i stop sendmail and what other daemons dont need if im not running a server.
|
depends on the disto you are using. in my redhat test pc, i usually disable these services at startup:
rhnsd
autofs
kudzu
via chkconfig --level 12345 <service> off.
again, this would be different to other disto.
|
|
|
07-23-2003, 04:43 AM
|
#6
|
LQ Newbie
Registered: Jul 2003
Posts: 16
Rep:
|
such as sendmail or kudzu.you can use "setup" to config your service and turn down what you don't need.
|
|
|
07-23-2003, 09:54 AM
|
#7
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
or you could install webmin which looks like a great way for newbs to get started taking control of their box. Although nothing beats learning to edit the files by hand. (it takes some work but then no matter what distro / system you're on you know what is doing what and how to take control, instead of relying on tools or utils to do the work for you).
|
|
|
07-23-2003, 02:14 PM
|
#8
|
Member
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439
Original Poster
Rep:
|
sorry for not replying in a while. im running slackware. i edited out alot of the services from rc.d. but its still not where it should or where i heard it can be. i heard booting like 15 seconds and shit. im at like 20.
|
|
|
07-23-2003, 02:33 PM
|
#9
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep:
|
5 seconds could easily just be due to hardware differences, or some vital deamon you are running, or filesystem. Any number of things.
|
|
|
07-24-2003, 12:11 AM
|
#10
|
Member
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439
Original Poster
Rep:
|
imma boot an tell you whats the thing taking most time
|
|
|
All times are GMT -5. The time now is 05:06 AM.
|
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
|
|