Home WebServer PanelDirectAdmin Upgrade cURL on DirectAdmin

Upgrade cURL on DirectAdmin

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

In this tutorial, AZDIGI will help you to upgrade cURL on DirectAdmin simply and easily.

I. What is cURL?

cURL is a computer software project that provides libraries and command-line tools for transferring data using a variety of protocols; it was first released in 1997. It stands for “Client URL”. The original author, as well as the lead developer, is Swedish developer Daniel Stenberg.

cURL uses many support protocols such as HTTP, HTTPS, FTPS,…

Currently, most websites using WordPress source code use this tool to communicate with WordPress.org and many other websites on the internet.

Regular cURL upgrades will increase site-to-site stability and support more new protocols in the future.

II. Upgrade cURL on DirectAdmin

To upgrade cURL on DirectAdmin, follow these 3 steps.

Step 1: SSH into your DirectAdmin system

To optimize MySQL speed 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 continue with step 2 to check the cURL version in use and the latest version at the present time.

Step 2: Check the cURL version you are using and the latest version

After successfully SSH, we use the following command to check the cURL version on the server and the newest version is upgradeable.

AZDIGI Tutorial
sh /usr/local/directadmin/custombuild/build versions | grep curl

Here is my result. the version of cURL I’m using is 7.73.0, the upgradable version is 7.74.0.

The version of cURL I’m using is 7.73.0, the upgradable version is 7.74.0.

If you want to learn about the changes and improvements in each version of cURL, you can find out at the following link, which contains the author’s videos explaining each change.

After knowing that the version we are using is the old version, we can continue to step 3 to upgrade cURL onDirectAdmin.

Step 3: Commands to upgrade cURL on DirectAdmin

To upgrade cURL on DirectAdmin, we execute the following commands:

AZDIGI Tutorial
cd /usr/local/directadmin/custombuild
./build update
./build curl

Explanation of the above commands:

  • Command 1: Move to custombuild folder.
  • Command 2: Update custombuild script.
  • Command 3: Upgrade cURL to the latest version

Below is the image after you run command 3 complete.

Complete cURL upgrade to version 7.74.0

Next, you can recheck the cURL version with the same command as in step 2.

AZDIGI Tutorial
sh /usr/local/directadmin/custombuild/build versions | grep curl

And here is my final result:

The version cURL uses 7.74.0 and the latest version is also 7.74.0.

So we have finished upgrading cURL on DirectAdmin to the latest version.

III. Summary

With just 3 simple steps above, we could upgrade cURL on DirectAdmin to the latest version. Upgrading software/programs in the process of using DirectAdmin in particular and other systems, in general, will bring many benefits. Improving security is probably the biggest benefit for the system.

Hope this article will be of help to you. 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