OpenVZ Forum


Home » General » Support » CentOS 5 template (Which packages to remove)
CentOS 5 template [message #38229] Mon, 30 November 2009 20:59 Go to next message
johan_hammy is currently offline  johan_hammy
Messages: 99
Registered: December 2005
Member
I'm not a Linux genius.

I have the CentOS5 x64 container and I'm using it solely as a DNS server. It will never do more than be an authoritative and caching name server.

Back in the day, I used the minimum template for the smallest footprint, but that isn't around anymore.

Any advice on which packages would be safe to remove?
Re: CentOS 5 template [message #38283 is a reply to message #38229] Thu, 03 December 2009 18:53 Go to previous message
unxs is currently offline  unxs
Messages: 21
Registered: September 2009
Location: Oregon, USA
Junior Member
Use yum list installed to see all the installed packages, then use your many years of experience to delete the ones not needed but that do not remove any dependent packages that you do need.

In other words, it is hard but doable.

Another way to remove bloat is with chkconfig --list (and to clean out programs you do not need, like cups and an X font server.)

And finally, find / -size +10000000c that may point you to large libs or other files that may help you identify bloat-ware.
Previous Topic: wiki down?
Next Topic: HN hangs with no reason. Memory shortage?
Goto Forum:
  


Current Time: Mon Jun 17 18:41:40 GMT 2024

Total time taken to generate the page: 0.03884 seconds