Page 1 of 1

How do I clean my server for optimum performance like in windows?

Posted: Tue Oct 26, 2021 11:07 pm
by Rob Swan
Your server is good a keeping itself running so you don’t need to do much.

If you have recently run my custom, EHCP force upgrade script from THIS POST I have included some cleaning commands so, all should be good.

If you do want to do some cleaning, you could use these commands (in this order).

The first command is.

sudo apt autoremove

This removes any old outdated software, so if you have any be sure to Y (yes) to remove the old software.
Then, this command.

sudo apt autoclean

This removes and leftover folder and files from the old software you removed, be sure to Y (yes) to remove the old software leftovers.

Then, this final command to clean any other leftovers, this may not do much though as the chances are you have already cleaned everything (again its Y if asked).

sudo apt clean