LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Services that are not needed... (https://www.linuxquestions.org/questions/linux-general-1/services-that-are-not-needed-79963/)

firefly2442 08-07-2003 05:27 PM

Services that are not needed...
 
I am running Red Hat 9 on a 300Mhz machine with a 8 gig hard drive and 320MB of RAM. It's used as a server for apache, php, mysql, and an email server. When I access my website locally through another computer, it takes a long time to load. I would like to turn off services that I do not need. Here is a list of the ones that are currently checked.

-atd
-crond
-cups ... I don't use a printer, can I turn this one off?
-httpd (need this)
-imap (need this)
-imaps (need this)
-isdn .... what is this?
-keytable
-kudzu
-mysqld (need this)
-network
-portmap ... do I need this?
-random .. what?
-rawdevices ....huh?
-sendmail (need this)
-servers
-spamassassin (need this)
-syslog
-webmin (need this)
-xinetd

Any suggestions would be greatly appreciated! Thank you! :)

Edit: Also, is there a way to allow apache to have processes running all the time? That way when a page is requested the response is faster?

cIx 08-07-2003 06:02 PM

-atd - used to run 'at' jobs, if you plan to run such jobs, you better leave it running
-crond -used to run 'cron' jobs, same as above
-cups - turn off
-httpd (need this)
-imap (need this)
-imaps (need this)
-isdn - turn off
-keytable -
-kudzu - this is a new hardware probing utility. You can turn it off till you add new hardware.
-mysqld (need this)
-network
-portmap -turn off, it's a security risk if not configured correctly. (used for NFS)
-random - generates random numbers....
-rawdevices
-sendmail (need this)
-servers
-spamassassin (need this)
-syslog - logging daemon, better leave it on
-webmin (need this)
-xinetd

You can turn off 4 services safely. It's up to you if you want to turn off cron, at, syslog.

firefly2442 08-07-2003 06:10 PM

Thanks! Turned em off. Gonna go see if it's any faster. :)

cIx 08-07-2003 06:33 PM

$ ps -aux | wc -l will tell you how many processes are running

or

$ ls -ln /proc/ | grep `id -u` | wc -l
will count how many you're running (your UID)


All times are GMT -5. The time now is 04:02 AM.