Old 24th March 2013, 23:54
technoid technoid is offline
Junior Member
Join Date: Mar 2009
Posts: 14
Thanks: 4
Thanked 0 Times in 0 Posts
Default 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?
Reply With Quote
Sponsored Links
Old 1st April 2013, 17:19
markc markc is offline
Join Date: Dec 2012
Posts: 57
Thanks: 6
Thanked 9 Times in 9 Posts

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?
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 20:02
500 internal error after upgrade abintipl Installation/Configuration 9 18th July 2012 13:51
php_admin_value safe mode error manojR Installation/Configuration 1 29th December 2008 09:33
Problems with php safe mode on, can't turn it off findafriend Installation/Configuration 4 3rd March 2008 11:22
squirrelmail in /usr/ - multiple domains - php safe mode brengo Installation/Configuration 2 16th March 2007 19:36

All times are GMT +2. The time now is 01:56.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.