What is safe to cleanup?
What files are safe to clean up after your server has been running for awhile?
I know about removing old emails from .Trash/.Junk. I also know that old log files can be downloaded and then removed. What about things like the apt cache files?
Are there other files that are no longer being used and are safe to remove?
If you just want to be "tidy" then I'd install deborphan on a Debian/Ubuntu system and keep using it until all packages without dependents are removed and sure, apt-get clean, will remove all installed and cached packages.
If you are desperate for a bit extra space then there are some more extreme things you could do like "rm -rf /usr/sahre/doc/*" which will reclaim ~40Mb and locales could be removed if you only need English and there is another 60Mb. Most font packages could go and save yet another 20Mb. If you built jailkit then gcc and friends could go and arguably should be removed from a server anyway.
A post install cleanup script with a couple of levels of intensity would be an interesting project. Perhaps someone already has such a thing?
|All times are GMT +2. The time now is 23:53.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.