LinuxQuestions.org
Register a domain and help support LQ
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 05-09-2003, 11:41 AM   #1
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Rep: Reputation: 30
Turning off services?


Hi,
I'm a newbie and I'm struck by how much slower Linux is to Windows.
I've read elsewhere that tuning off unwanted services may be a solution.
I'm running RH8 on an XP2100 with 512mb ddr ram.

I understand that /sbin/chkconfig --list checks which services are running.Can anyone advice me on what things I can turn off for home use AND how I can turn them off.Thanks:

These are the services that I'm running atm on levels 3 and 5:

syslog
netfs
network
random
rawdevices
xinetd
portmap
apmd
atd
gpm
autofs
isdn
keytable
kudzu
sshd
sendmail
iptables
nfslock
rhnsd
pcmcia
crond
anacron
xfs
lpd


regards,
Ludwig
 
Old 05-09-2003, 12:10 PM   #2
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
If you don't need to send mail, you can turn off sendmail. If you have no PCMCIA slots (that is, if you aren't using a laptop), you can turn off pcmcia.

iptables is a firewall, so if you don't need that (if you're already behind a firewall) you can disable it too.

kudzu isn't necessary if you don't plan on swapping hardware around very often. atd could probably be turned off, since you already have crond in there (read the manpages for this for details).

sshd is a daemon to allow remote login (using secure shell) to your computer. If you don't plan on doing that, you can disable it too.

That's about all I know

edit: btw, it's pretty vague to talk about which OS is "faster".... it really depends on what you're doing. Are display updates slow? If so, make sure you have updated (and correct) video drivers installed, try using a different (less graphic-intensive) window manager like Fluxbox or Blackbox. If programs are slow to run, see if you can get ahold of versions for your architecture, or compile them for your architecture yourself (i.e., if you're using the i386 version, try getting one that's closer to your CPU, like i586 or athlon or whatever it is. Search for other threads on this topic, since it's been covered before.)

Last edited by wapcaplet; 05-09-2003 at 12:13 PM.
 
Old 05-09-2003, 12:23 PM   #3
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
thanks for your input, wapcaplet

Just out of interest, sshd: Remote login.
Does that mean that I could log in to my computer from work,say, with my root password?
That sounds interesting if it's possible.

thx
Ludwig
 
Old 05-09-2003, 12:30 PM   #4
jt1020
Member
 
Registered: Apr 2003
Location: root@localhost
Distribution: Fedora Core 5, Ubuntu, Debian
Posts: 537

Rep: Reputation: 30
I'm using Red Hat 9, close this, slows down boot too much:

gpm
pcmcia
rawdevices
rhnsd
sshd
rhnsd
netfs
nfslock
portmap
kudzu
xinetid
apmd
random
 
Old 05-09-2003, 02:22 PM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Yes, sshd would allow you to log into your linux box from anywhere out on the internet, including work. It's still not a good idea to log in as root though. Log in as a regular user and su when you need root priviledges.

The other good aspect of ssh is you can tunnel other protocols through it. For example, I routinely run VNC through ssh so I have a secure graphical interface to my linux box.
 
Old 05-09-2003, 02:34 PM   #6
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
Hi Hangdog,

That sounds quite interesting.

Where could I find out information about how to log in remotely?

cheers
Ludwig
 
Old 05-09-2003, 04:49 PM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Some of the best information is found right here on LQO. Just do a search on ssh and VNC and you will find many, many threads on how the whole thing works. You could also visit openSSH . If you want to connect from a Windows machine, have a look at Putty. If you do a google on "putty ssh" you'll find literally dozens of places to download.
 
Old 05-09-2003, 05:02 PM   #8
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
thanks hangdog
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Getting an RPC errors after turning off services ceci2 Linux - Newbie 2 04-03-2005 03:28 PM
Turning Off Services Obie Linux - Security 2 05-30-2004 03:58 AM
TightVNC Ver terminal Services.. also looking for terminal Services for linux 2782d4 Linux - Security 3 05-20-2004 03:30 AM
turning off dfownz Slackware 1 01-14-2004 08:53 PM
turning off services a-money Linux - Distributions 1 08-05-2003 08:00 PM


All times are GMT -5. The time now is 11:05 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration