Home WebServer PanelDirectAdmin How to downgrade software on DirectAdmin

How to downgrade software on DirectAdmin

by Thạch Phạm
Published: Last Updated on

In this tutorial, AZDIGI will guide you on downgrading the software on DirectAdmin.

I. Overview

AZDIGI have many articles on upgrading software on DirectAdmin and I always remind you that upgrading software during system administration is very important.

However, there are cases where upgrading software leads to some errors, so downgrading software on DirectAdmin to its previous version is necessary.

In this tutorial, I will use cUrl software as an example. If you want to downgrade MySQL or MariaDB, you can refer to the following two separate articles:

II. Downgrading software on DirectAdmin

To downgrade the software on DirectAdmin, we need to perform the following three steps.

Step 1: SSH into your DirectAdmin system

To downgrade MariaDB on DirectAdmin, we first need to SSH or access your VPS/server with root privileges. If you don’t know how to SSH into your VPS/Server, you can refer to the following tutorial:

After successfully SSH, we move on to step 2 to start the downgrading process.

Step 2: Commands for downgrading software on DirectAdmin

If you have determined the version number of the software you want to downgrade, it is great. If not, you should search for it on search engines with the keyword format “Software name + Changelog.”

In this article, I will downgrade cUrl from version 7.77.0 to 7.76.1, so my website needs to check this page:

Below are the commands we need to perform:

AZDIGI Tutorial

cd /usr/local/directadmin/custombuild
echo "curl:7.76.1:" > custom_versions.txt
./build curl

Explanation of the above commands:

  • Command 1: Move into custombuild folder.
  • Command 2: Declare to custombuild that we will use curl version 7.76.1.
  • Command 3: Install curl with the corresponding version.

Where curl is the software we want to downgrade, and 7.76.1 is the version number we intend to downgrade to.

Depending on your case, please modify accordingly.

Below is the image of my curl downgrade process:

Commands 1, 2.
Command 3 and check the cUrl version again with the command curl -V, the version currently in use is 7.76.1 as we desire.

At this point, our software downgrade task on DirectAdmin is complete.

It’s quite simple, isn’t it? If you want to upgrade to the latest version of cUrl, you only need to execute the following two commands:

AZDIGI Tutorial
echo > custom_versions.txt
./build curl

Explanation of the two commands above:

  • Command 1: Empty the custom_versions.txt file.
  • Command 2: Reinstall cUrl with the latest version.

III. Summary

Through this tutorial, you can see that downgrading software on DirectAdmin is also quite simple. But we should only do this when it is really necessary. AZDIGI always recommend using the latest software versions to have the highest security, good compatibility, and to take advantage of the latest features.

Wishing you success!

See more useful articles about DirectAdmin at the following link:

If you need assistance, you can contact support in the ways below:

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign