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

Posted June 18, 2015 2.5k views
Linux BasicsUbuntuGetting StartedBackups

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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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.