How to update a DirectAdmin server

Updating a DirectAdmin server consists of two parts:

  1. Updating OS (Centos/Ubuntu)
  2. Updating Directadmin

Update OS

If you’re running Centos, use the following commands to update the OS:

yum check-update
yum update

If you’re running Ubuntu, use the following commands to update the OS:

apt update
apt upgrade

Update DirectAdmin

cd /usr/local/directadmin/custombuild
./build update

Check what the current versions of the software are, and what the latest versions are:

./build versions

Install the latest versions of the software:

./build update_versions

Update OS and DirectAdmin (one command)

The OS packages and DirectAdmin can be updated with one command in DirectAdmin as follows:

./build update_full