banner
年糕

年糕日记

此站为备份站点,最新文章请访问 oior.net
telegram
email

Installing BBR module for accelerating VPS in OpenVZ virtualization

During the process of using VPS, some users may think of installing the BBR acceleration module on it. However, in OpenVZ VPS, we cannot directly modify the system kernel settings. However, a GitHub user has written a modified version of the BBR module acceleration script, which allows us to enable BBR acceleration on OpenVZ VPS.

Preparation#

  • VPS with OpenVZ virtualization

Deployment Steps#

  1. First, make sure that the node has been installed and the port is open.
  2. SSH into the VPS and copy and paste the following command:
    wget --no-cache -O lkl-haproxy.sh https://github.com/mzz2017/lkl-haproxy/raw/master/lkl-haproxy.sh && bash lkl-haproxy.sh
    
  3. Enter y to confirm the installation.

image

  1. Choose whether to accelerate a single port or a port range. I will choose a single port here.

image

  1. Enter the acceleration port.

image

  1. Wait for 1-3 minutes for the script installation to complete.

image

Notes#

Since the script depends on the TUN module, the VPS must have the TUN module enabled.

Original GitHub#

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.