Note: For the BBR Modified
script for CentOS
systems, I previously shared a script from the respected Nanqinlang, but unfortunately it had a bug that caused issues with the installation on CentOS. A few days ago, a friend and fellow blogger, Qianying, also wrote a modified BBR
script that includes BBR
+BBR Modified
+Lotsever
(Ruise), and it supports Centos
, Debian
, and Ubuntu
systems. It is very convenient and powerful.
Tutorial Update#
[December 24, 2018]
The script has added BBRplus correction version, which solves the problem of original BBR easily stalling under high packet loss rate and slow BBR convergence. It tries to make it better by reducing queuing and packet loss.
[March 8, 2018]
The script has added Nanqinlang's violent modified BBR, making the speed more violent. The actual effect depends on the network.
Script Installation#
Supported Systems: CentOS 6+
, Debian 8+
, Ubuntu 14+
.
Note: If the server has important data, it is recommended to backup the data before installation, especially for CentOS systems.
Run the following command:
#There are 2 steps in the process, the first step is to install the corresponding kernel, and the second step is to enable the corresponding acceleration for the kernel
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
After running the script, the following options will appear:
Operate according to your own needs, and after restarting, continue with the ./tcp.sh
command.
If you encounter this image during the kernel removal process:
Pay attention to select NO
, and then restart the system as prompted.
Finally, due to the integration of too many accelerations in this script, compatibility may not be very good, and the installation of BBR
may not be successful for some systems.
For speed improvement, Lotsever (Ruise) has the best effect. The modified BBR
and BBR
correction versions have different test effects due to different VPS networks. Please test them yourself before making a choice.
Related Links#
BBR Modified source: https://www.94ish.me/1635.html
BBR Correction version source: https://www.hostloc.com/thread-507165-1-1.html