Unneeded services for server edition

Florian Diesch diesch at spamfence.net
Thu May 14 01:17:07 UTC 2009


howard chen <howachen at gmail.com> wrote:

> I have installed UBuntu 9.04 (Jaunty) server edition, by default, it
> auto started with the following services:
>
> apparmor

https://help.ubuntu.com/9.04/serverguide/C/apparmor.html
Usually you want that

> atd

atd is a standard Unix daemon to run jobs at a specific time.
Usually you want that.


> bootlogs.sh

Some log files related things like saving dmesg to /var/log/dmesg
after booting

Usually you want this

> console-setup

Setup console font and keymap.

> cron

Standard U(nix daemon that regularly execute jobs. You want it.

> dbus

Daemon for inter-process-communication, needed by startup.
Usually you want that on Ubuntu

> keyboard-setup

Set the console keyboard as early as possible so during the file
systems checks the administrator can interact. You want it.

> klogd

Kernel logging daemon. You want it.

> linux-restricted-modules-common

Handles restricted kernel modules. You need it as long as you are
using restricted kernel modules.


> module-init-tools

Load the modules listed in /etc/modules. Doesn't harm even if you
don't need it



> ondemand

Set the CPU Frequency Scaling governor to "ondemand"
Just runs once. Depending on your needs you may not nedd/want it.



> pppd-dns

Restore resolv.conf if the system crashed. Just runs once. You usually
want it if you are using ppp


> procps

Configure kernel parameters according to /etc/sysctl.conf and
/etc/sysctl.d/*.conf
 Just runs once, usally you want it


> rsync

You want it if you are running the rsync daemon (needs to be enabled
in /etc/default/rsync)

> sysklogd

Standard system logging daemon. You need it.



> udev
> udev-finish

Both related to the udev virtaul file system. You need it.


> x11-common

Set up the X server and ICE socket directories
 Just runs once, you don't need it if you don't have a GUI


> acpid

Start the Advanced Configuration and Power Interface daemon
Most likely you want it if your hardware supports ACPI



> avahi-daemon

Zeroconf daemon for configuring your network

>
> but are they all needed?
>
> at least, I think avahi-daemon, x11-common, rsync should be disabled
> for standard server (e.g. apache, mysql etc)
>
> Any comments?

rsync is disabled in /etc/default/rsync,  x11-common is only installed
if you have X and then you need it. You may want to disable
avahi-daemon if you don't need it.



   Florian
-- 
<http://www.florian-diesch.de/>




More information about the ubuntu-users mailing list