Remove Services that you don't need

From MEPIS Documentation Wiki

Revision as of 00:51, 20 March 2007 by Jerry bond (Talk | contribs)
Jump to: navigation, search

It's a good idea to remove services that start at boot time and you don't need (for security reasons and to limit resources utilization)

For example to stop spamassassin from starting, execute this command as root:

update-rc.d -f spamassassin remove

Another way to manage services is to use KSysV to edit Mepis runlevels (apt-get install ksysv).

List of services that you might not need:

  • spamassassin - e-mail filter
  • hpoj - HP Office Jet printer driver (if you don't have HP printer)
  • cupsys - Common UNIX Printing System(tm) (if you don't have a printer)
  • ntpdate - set system time from NTP servers

More info about Linux services here and here

You will notice that after upgrades the services that you stopped will start back up if they were upgraded.

Here's where to get a script to stop that. Add the following to /etc/apt/sources.list

# Loibl's Script 

Do an

apt-get update && apt-get install freeze-rc.d

Before upgrading type "freeze rc.d" . After the upgrade or before you make any changes to your startup scripts you need to type "unfreeze rc.d" out.

If you would rather have the script than add another repo you can go to this page: (it's in German though.)

See other Quick Fixes | FAQ | Main Page

Personal tools