Updating a DirectAdmin server consists of two parts:
- Updating OS (Centos/Ubuntu)
- Updating Directadmin
Update OS
If you’re running Centos, use the following commands to update the OS:
yum check-updateyum updateIf you’re running Ubuntu, use the following commands to update the OS:
apt updateapt upgradeUpdate DirectAdmin
cd /usr/local/directadmin/custombuild./build updateCheck what the current versions of the software are, and what the latest versions are:
./build versionsInstall the latest versions of the software:
./build update_versionsUpdate OS and DirectAdmin (one command)
The OS packages and DirectAdmin can be updated with one command in DirectAdmin as follows:
./build update_full