Your CentOS and DirectAdmin installation can only be updated separately from each other.
- We recommend to always create a snapshot before you update your VPS and software.
- Execute each command as a root-user, or user with sudo rights.
Updating CentOS
Step 1
Connect to your DirectAdmin VPS using SSH or your VPS console.
Step 2
To check available updates of software on your CentOS VPS, use the command:
yum check-update
This command verifies if new updates are available.
Step 3
To install available updates type:
yum update
Confirm the action with 'y' and CentOS will download and install the available updates.
Please note that the first step is optional. Using yum update you'll install all pending updates, regardless of whether you checked them in advance or not.
Updating DirectAdmin
Step 1
Connect to your DirectAdmin VPS using SSH or your VPS console.
Step 2
Updating DirectAdmin should be done through the custombuild script.
cd /usr/local/directadmin/custombuild ./build update
Step 3
You can check which updates are available using the command:
./build versions
This command gives an overview of all the currently installed versions and possible updates.
Step 4
Install all pending updates using the command:
./build update_versionsThe custombuild command is a process that will compile and install updates. The update process can take some time.
This concludes this article. For more information about updating DirectAdmin / software on your DirectAdmin VPS, take a look at our DirectAdmin tutorial series.
Should you have any questions left regarding this article, do not hesitate to contact our support department. You can reach us via the ‘Contact Us’ button at the bottom of this page.
If you want to discuss this article with other users, please leave a message under 'Comments'.

Comments
@nourieh,
That's really cool! :) I believe the url has changed though, so for convenience here's the updated URL to your page: https://blog.jeyserver.com/how-to-update-direct-admin
We translated this post to for who wants to read it in Persian/Farsi. Link: https://blog.jeyserver.com/how-keep-directadmin-installation-up-to-date ما این پست را به فارسی ترجمه کرده ایم.