Cart

    Sorry, we could not find any results for your search querry.

    How can I keep my DirectAdmin installation up-to-date?

    Your CentOS(old)/AlmaLinux(new) and DirectAdmin installation can only be updated separately from each other.


    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 -y check-update

    This command verifies if new updates are available.


     

    Step 3

    To install available updates type:

    yum -y 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 AlmaLinux

     

    AlmaLinux is updated similarly to CentOS and can be done using the command:

    dnf -y update

    Updating DirectAdmin

     

    When updating DirectAdmin two options are available: updating DirectAdmin as a whole, or its services (such as MariaDB).

     

    Updating DirectAdmin

     

    Step 1

    Connect to your DirectAdmin VPS using SSH or your VPS console.


     

    Step 2

    To update DirectAdmin, simply run the command below.

    /usr/local/directadmin/scripts/getDA.sh current

    'Current' can optionally be replaced by alpha, beta, or stable.


     

    Updating DirectAdmin's services

     

    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_versions

    The 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.

    Need help?

    Receive personal support from our supporters

    Contact us