How to update the software on Linux VPS, Software updates are one of the first and most important things you should do after receiving a virtual server. Various vulnerabilities occur due to the software being out of date on the server and putting you at risk.
How to update the software on Linux VPS
In this tutorial, we will show you how to update the software on your virtual private server. So be with eldernode.
The software updating process is very simple and takes only a few minutes. You need to connect to the server via SSH to update the software on the server. After you connect to your server you can follow the steps below.
How to update the software on Linux VPS.
The first thing to do is to see if there is an update for the packages installed on the server. If you are using a Centos VPS, get the following command:
# yum check-update |
If you are using Ubuntu VPS you can use the following command:
# apt-get update && apt-get -s upgrade |
The above commands show the list of packages that can be upgraded. You can upgrade a single package or upgrade all that are installed on the server.
How to upgrade all packages with a single command:
The following command is for CentosVPS users:
# yum update |
The system will ask you to confirm the update. Enter “Y” and then hit “enter” to start the update process.
The following command is for Ubuntu VPS users:
# apt-get update && apt-get upgrade |
The system will ask you to confirm the update. Enter the “Y” statement and hit “enter” to start the process.
Depending on the number and size of the packages that need to be updated, this process will take a few seconds to several minutes. After the update process is complete, the system software will be updated.
Keep in mind that if you want your system to use the latest software, you should repeat this process regularly.
How to update the software on Linux VPS.
Goodluck
Thanks a lot for this short and straightforward tutorial.
Can I also do this from my WHM?
Thanks and let me know!
Yes, you can also update linux server through WHM.