Updating DirectAdmin packages
Updating DirectAdmin packages is different from a standard "yum update".
All software installed by DirectAdmin is handled via custombuild. The custombuild command is a process that compiles the software.
Do you want to update PHP, Apache, or MySQL? This is done via custombuild.
Updating custombuild
Make sure you are logged into your server via SSH as root. Then execute the commands below.
Go to the custombuild directory:
cd /usr/local/directadmin/custombuild
Next, fetch the latest packages:
./build update
To preview all new versions of the packages first, you can now run the following command. This will display all current and new version numbers of the packages.
./build versions
To install the new versions, run the following command. The update process can take some time.
./build update_versions
Still have questions? Get in touch.