How to update the software on a Linux VPS

Keeping your software up to date is one of the first and most important things you need to do after getting a VPS. Many critical vulnerabilities are patched by the time they become public so if you do not update your software frequently then your server is at a big risk of being exploited. In this tutorial, we will show you how to update the system software on your Linux VPS running CentOS or Ubuntu as an operating system.