#1  
Old 24th March 2013, 22:54
technoid technoid is offline
Junior Member
 
Join Date: Mar 2009
Posts: 12
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
  #2  
Old 1st April 2013, 16:19
markc markc is offline
Member
 
Join Date: Dec 2012
Posts: 56
Thanks: 6
Thanked 9 Times in 9 Posts
 
Default

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
Reply

Bookmarks

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 3.0.3.3 fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 19:02
500 internal error after upgrade abintipl Installation/Configuration 9 18th July 2012 12:51
php_admin_value safe mode error manojR Installation/Configuration 1 29th December 2008 08:33
Problems with php safe mode on, can't turn it off findafriend Installation/Configuration 4 3rd March 2008 10:22
squirrelmail in /usr/ - multiple domains - php safe mode brengo Installation/Configuration 2 16th March 2007 18:36


All times are GMT +2. The time now is 09:39.


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