Is there anything I need to be doing to "cleanup" my Ubuntu install?

June 18, 2015 1.2k views
Linux Basics Getting Started Backups Ubuntu

I've noticed that the weekly backup takes longer and longer each week, I assume it's because data piles up in logs and updates are installed which take up additional space as well.

Is there anything I need to worry about routinely to keep things clean and efficient? I guess I'm an Ubuntu newbie and just don't want things piling up too much is all.

1 Answer

The most common reason for your disk space usage to grow over time is log files getting larger. Setting up logrotate and archiving or deleting old log files you will no longer need can help with this.

We have a couple tutorials on setting this up, here and here.

by Justin Ellingwood
Apache can be configured to log a large quantity of information to help you diagnose problems and keep an eye on activity. In this guide, we will discuss how Apache handles logging and how you can create your own custom logging rules and rotation schemes.
Have another answer? Share your knowledge.