Optimize CentOS, disable unnecessary processes, services, etc..

Discussion in 'Performance Tweaking' started by Meow, Dec 25, 2012.

  1. How would you disable some unnecessary services and processes in CentOS so the server can be more focused on minecraft server only? Thanks
  2. md_5

    Administrator Developer

    A fresh debian install is only 100 or so megabytes, and comes with nothing (although most server hosting companies install a lot more crap ontop), but I love it.
  3. Thanks for the feedback. Would you consider CentOS as a server distro?
  4. The beauty about Linux is if you get rid of the desktop bloat, shed it down to bare minimal, add some server related packages, and suddenly, it is a pretty acceptable server. CentOS is no different. Just get rid of KDE/Gnome/XWindow/etc. and anything else that gives off desktop GUI, and you'll have a pretty minimal setup.

    CentOS uses yum for package management for rpm packages. Unlike Debian's APT, yum is written in python, it is a bit more editable for people. But, that comes at the expense of performance (speed and memory consumption) when you manage packages. That's a pretty rare occurrence, so you shouldn't feel need to switch OS unless you really want to. You should get comfortable with yum and use that to get rid of excess packages that you won't need. What you do and do not need depends on what you are expecting to do with your server, so that's an exercise left for you to figure out.