docs: numbering for english in section 7.7
parent
0f3864e853
commit
b903c05708
|
@ -403,7 +403,8 @@ If your line really has a very high packet loss rate, the only reliable solution
|
|||
:::
|
||||
|
||||
6. I have said so much because there are too many misconceptions and scam scripts around `BBR` to fool novices. I hope you now have a relatively clear understanding of `BBR`. Next, let's install the latest Debian kernel and enable `BBR`! (It's really simple)
|
||||
1. Add the official `backports` source to Debian 10 to get the updated software library
|
||||
|
||||
7. Add the official `backports` source to Debian 10 to get the updated software library
|
||||
|
||||
```shell
|
||||
sudo nano /etc/apt/sources.list
|
||||
|
@ -415,13 +416,13 @@ If your line really has a very high packet loss rate, the only reliable solution
|
|||
, to ensure compatibility and avoid the default file being overwritten in unforeseen circumstances and causing configuration loss.
|
||||
:::
|
||||
|
||||
2. Then add the following item at the end, save and exit.
|
||||
8. Then add the following item at the end, save and exit.
|
||||
|
||||
```
|
||||
deb http://deb.debian.org/debian buster-backports main
|
||||
```
|
||||
|
||||
3. Refresh the software library and query the latest version of the official Debian kernel and install it. Please be sure to install the version corresponding to your VPS (this article takes the more common [amd64] as an example).
|
||||
9. Refresh the software library and query the latest version of the official Debian kernel and install it. Please be sure to install the version corresponding to your VPS (this article takes the more common [amd64] as an example).
|
||||
|
||||
```shell
|
||||
sudo apt update && sudo apt -t buster-backports install linux-image-amd64
|
||||
|
@ -437,7 +438,7 @@ If your line really has a very high packet loss rate, the only reliable solution
|
|||
|
||||
:::
|
||||
|
||||
4. Modify the `kernel` parameter configuration file `sysctl.conf` and specify to enable `BBR`
|
||||
10. Modify the `kernel` parameter configuration file `sysctl.conf` and specify to enable `BBR`
|
||||
|
||||
```shell
|
||||
sudo nano /etc/sysctl.conf
|
||||
|
@ -449,20 +450,20 @@ If your line really has a very high packet loss rate, the only reliable solution
|
|||
207 version. Using a custom configuration file can also prevent the default file from being overwritten in unexpected circumstances, resulting in configuration loss.
|
||||
:::
|
||||
|
||||
5. Add the following content
|
||||
11. Add the following content
|
||||
|
||||
```
|
||||
net.core.default_qdisc=fq
|
||||
net.ipv4.tcp_congestion_control=bbr
|
||||
```
|
||||
|
||||
6. Restart the VPS to make the kernel update and `BBR` settings take effect
|
||||
12. Restart the VPS to make the kernel update and `BBR` settings take effect
|
||||
|
||||
```shell
|
||||
sudo reboot
|
||||
```
|
||||
|
||||
7. The complete process is demonstrated as follows:
|
||||
13. The complete process is demonstrated as follows:
|
||||
|
||||
::: tip
|
||||
Because the VPS I am demonstrating supports the cloud server-specific kernel, I used `linux-image-cloud-amd64` in the animation.
|
||||
|
@ -472,7 +473,7 @@ If your line really has a very high packet loss rate, the only reliable solution
|
|||
|
||||

|
||||
|
||||
8. Confirm that `BBR` is enabled
|
||||
14. Confirm that `BBR` is enabled
|
||||
|
||||
If you want to confirm whether `BBR` is enabled correctly, you can use the following command:
|
||||
```shell
|
||||
|
|
Loading…
Reference in New Issue