I'm configuring my own server, running Ubuntu 13.04. I'd like to speed up the OS a bit more by removing ‘unnecessary’ system services. Here is what I did:
Install and start rcconf
to check what services are enabled on boot:
$ sudo apt-get install rcconf
$ sudo rcconf
Uncheck some services like brltty
, speed-dispatcher
, saned
, rsync
.
I'm still not sure about some services like apparmor, grub-common, kerneloops, ondemand and pppd-dns. Is it safe to disable them? Do I need to uninstall those services or is disabling them is enough?
About the ones you listed, I can tell you that you most likely don't want to disable:
ondemand is your cpu governor, and without it your CPU will run at full speed all of the time, even when it doesn't have to.
apparmor is an access control system that protects your system, see the link for more info.
grub-common is the boot loader, and I'm not exactly sure why it is starting on boot, but you probably don't want to disable it.
You might disable kerneloops, it is something of a bug reporting software from what I can gather. Although if you run into a kernel bug, I am pretty sure you will want it enabled.
Honestly removing service in order to "speed up" your system won't do you that much good, unless there's something you know you don't need for a server, like bluetooth. Googling services can help with telling you want they do though.
I do not have the privileges to comment, so I post.
In the past the
kerneloops
daemon was innocuous because multi-user could precede (aesthetically anyways) to the login screen. However due to the migration to SystemD this daemon triggers thenetwork-online.service
.I don't know about you... but I have never seen a commercial DHCP service with low latency response times. So unfortunately for the kernel developers;
systemctl disable kerneloops
.