Home WebServer PanelDirectAdmin Upgrade nghttp2 on DirectAdmin with CustomBuild 2.0

Upgrade nghttp2 on DirectAdmin with CustomBuild 2.0

by Thạch Phạm
Published: Last Updated on
A+A-
Reset

In this tutorial, AZDIGI will guide you through upgrading nghttp2 on DirectAdmin with CustomBuild 2.0. This will help the HTTP/2 protocol on your server work better.

I. What is Nghttp2?

Nghttp2 is a C library aiming to implement the HTTP/2 protocol for web servers. Ng here means next generation.

With the development of information technology today, we have the latest HTTP/3 protocol. However, with the popularity and widespread use of HTTP/2, upgrading the Nghttp2 library versions will help your web server work more efficiently, increase security, and improve the use of resources.

We can follow the following link to see the changes of each Nghttp2 library version.

So you have some more information about Nghttp2, and in this article, AZDIGI will show you to upgrade Nghttp2 on DirectAdmin to the latest version.

II. Upgrade nghttp2 on DirectAdmin

To upgrade nghttp2 on DirectAdmin, follow these 3 steps.

Step 1: SSH into your DirectAdmin system

To upgrade nghttp2 on DirectAdmin, we first need to SSH or access your VPS/server with root privileges. If you do not know how to SSH into your VPS/Server, you can refer to the following tutorial:

After successfully SSHing, we continue with step 2 to check the version of Nghttp2 in use and the latest version at the present time.

Step 2: Check the version of Nghttp2 you are using and the latest version can be upgraded

After SSH is successful, we use the following command to check the version of Nghttp2 in use on the server and the latest version is upgradable:

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

Here is my result. Below are my results, you can see the nghttp2 version in use is 1.41.0, upgradable version is 1.42.0.

how-to-upgrade-nghttp2-on-directadmin
The nghttp2 version in use is 1.41.0, the upgradable version is 1.42.0.

After knowing that the version we are using is the old version, we can continue to step 3 to upgrade nghttp2 on DirectAdmin.

Step 3: The nghttp2 upgrade commands on DirectAdmin

To upgrade nghttp2, we need to execute the commands:

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

Explanation of the above commands:

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

Below is the image after you run command 3 complete.

how-to-upgrade-nghttp2-on-directadmin
Nghttp2 upgrade to version 1.42.0 is complete

You can then recheck the Nghttp2 version with the same command as in step 2.

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

And here are my results:

how-to-upgrade-nghttp2-on-directadmin
The version of NghTP2 is using 1.42.0, the latest version at present is also 1.42.0.

So we have finished upgrading nghttp2 on DirectAdmin. with CustomBuild 2.0.

III. Summary

With only 3 basic steps, we have completed the nghttp2 upgrade on DirectAdmin. Upgrading the services on the server will help your server operate more and more stably, thereby solving many problems that may arise in the future.

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