LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-21-2005, 06:45 AM   #1
BeaverusIV
Member
 
Registered: Oct 2004
Location: New Zealand
Distribution: Arch Linux 2010.05
Posts: 136

Rep: Reputation: 18
Remove useless services / apps


Okay, so I have searched on the Internet how to optmiise linux because I want to install it on my server, but to no avail.

Can anyone help me elimiate uneeded programs, services, etc.. from linux (FC 4 if that helps)

The server will be used to run Linux DC++ and BitTorrent, nothing else, so all email, games, editors, multimedia apps are out.
 
Old 08-21-2005, 10:06 AM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
The Fedora installation system has a "Minimal" option, which will give you a command-line system with networking and little else. You can then use yum to install any extra software that you actually want on the system:

http://fedora.redhat.com/docs/fedora...ype-notes.html
 
Old 08-21-2005, 10:17 AM   #3
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
Find out what programs are installed and want to remove.

Code:
rpm -qa | grep theprogram
Then remove it...

Code:
rpm -e yourprogram
You can also shut down those services that you're not using instead of removing them, if you wanted to. All they'll do it sit there and take up space on your hard-drive.
 
Old 08-21-2005, 06:51 PM   #4
BeaverusIV
Member
 
Registered: Oct 2004
Location: New Zealand
Distribution: Arch Linux 2010.05
Posts: 136

Original Poster
Rep: Reputation: 18
Thnx for your help, I'll try that, but how do I find out what programs I don't need? DO I just search the 'net and find out what they do?
 
Old 08-22-2005, 01:51 PM   #5
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
By coincidence, this article in Fedora Weekly News tells what the services do:

http://fedoranews.org/mediawiki/inde...n_I_Disable%3F

Bear in mind, though, that Internet connections are a order of magnitude slower than the internal connections of the machine, so provided that you stay within the limits of the hardware you can only significantly improve the network performance by adjusting the connection (Quality of Service, more bandwidth etc.).

As Linux~Powered says, unused applications just use up storage space. You can remove whole groups/classes of applications with Add/Remove Applications and yum if you want to, though.
 
Old 08-22-2005, 03:35 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
"Services," as they are called in Windows (they are "daemons" on Linux) come into play in one of two ways:
  1. During startup, they are mentioned by one of the Snn.. symbolic-links in (say) /etc/rc5.d. (Your directory may vary.) These programs are started at boot-time during the initialization process.
  2. The service can be started by (say) xinetd whenever a packet arrives on a certain port. These are defined in (say) /etc/xinetd.d. (The idea here is that you don't have to have a bunch of extra daemons hanging around "just in case" they are actually requested. They're only started, by xinetd, if they just-now actually have been requested...)
As far as performance is concerned, well, "an idle process really doesn't take up much resources." But for security, you definitely want to know which daemons you have defined, and why and when they run. Any daemon that you do not know about, and do not need, is an unnecessary avenue by which a clever intruder might be able to break in to your system.
 
Old 08-22-2005, 08:24 PM   #7
BeaverusIV
Member
 
Registered: Oct 2004
Location: New Zealand
Distribution: Arch Linux 2010.05
Posts: 136

Original Poster
Rep: Reputation: 18
Thanks guys for your replies.

I wanted to do this because we have only got 18GB HDD and 128MB SD RAM running on a PIII 650MHz

I need all the resources, plus it helps boot times
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
remove services alaios Debian 3 01-10-2005 09:28 PM
how to remove linux Services?? Ameii83 Linux - Software 5 12-28-2004 08:17 PM
how 2 remove services from startup?? fhameed Linux - Software 4 08-30-2004 10:39 PM
KsysV : get rid of useless services? tristure Linux - Software 2 10-28-2003 11:20 PM
How can i remove these services? Kinstonian Linux - General 2 04-15-2003 10:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:50 AM.

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