VPS server one-click installation to open the original BBR/modified BBR/violent BBR modified version/BBR Plus/rapid/five-in-one script to set up virtual memory.
BBR is a TCP congestion control algorithm developed by Google, which can unilaterally accelerate TCP connections. If the Linux Kernel of the VPS server system is version 4.9 or above, you can directly enable BBR acceleration through system commands. You can also refer to the five-in-one version of this article to enable one-click installation to enable BBR acceleration on the VPS server.
If the Linux Kernel of the VPS server system is version 4.9 or above, you can directly enable the original BBR acceleration through system commands. You can view the kernel version of the current system through the uname -r
command. Refer to this site Use the original Google BBR one-click installation script to enable acceleration for the VPS server.
Applicable system
-
CentOS 8+
-
Debian 8+
-
Ubuntu 16+
Ready to install
Update the server system and the installation packages that the script depends on. Refer to the following commands to update the server and install wget and curl package.
CentOS yum update -y && yum install wget -y && yum install curl -y
Debian / Ubuntu apt-get update -y && apt-get install wget -y && apt-get install curl -y
A key installation
Enter the following command using the root account
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
The installation interface appears
The first is kernel management. Select a kernel in 1, 2, and 3 to start BBR installation, as shown in the figure below.
In some systems, the options shown in the figure below will appear. Use the left button of the keyboard to move the table to No.
After the installation is complete, you will be prompted to restart the system, and then enter the following command after restarting
./tcp.sh
It shows that the kernel switch is successful, as shown in the figure below
Then there is acceleration management, select a BBR accelerated version in 4, 5, 6, 7, 8.
At this point, the VPS server has started BBR. As shown in the figure below, the kernel has been installed and the acceleration module has been started.
Set up virtual memory
Generally set to twice the memory
wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh
Special Note
If you are prompted with a certificate error, you can execute the following command
CentOS
yum -y install ca-certificates
Debian/Ubuntu
apt-get -y install ca-certificates
Additional information
If you are not satisfied with the acceleration effect, you can re-execute the following command to switch acceleration management
./tcp.sh
Until you switch to the speed position you want, use the original BBR/modified BBR/violent BBR modified version/BBR Plus/rapid/five-in-one script to successfully open BBR for the Trojan server with one click.