Detailed tutorial for upgrading debian 7 to debian 8 and configuring bbr acceleration.
bbr acceleration is not described in detail here, but to enable the bbr acceleration kernel must be greater than 8.0. Here is a detailed tutorial for upgrading debian 7 to debian 8 and configuring bbr acceleration. View the distribution information of the Linux system
1
2
cat /etc/issue
Upgrade debian 7 system to debian 8
1
2
3
4
5
6
7
8
apt-get update && apt-get upgrade -y
sed -i 's/wheezy/jessie/g'/etc/apt/sources.list
apt-get update && apt-get upgrade -y
apt-get dist-upgrade -y
apt-get autoremove
apt-get clean
Restart the system and execute the following command.
1
2
3
4
5
6
7
mkdir bbr-tmp && cd bbr-tmp
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9.88/linux-headers-4.9.88-040988_4.9.88-040988.201803181131_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9.88/linux-headers-4.9.88-040988-generic_4.9.88-040988.201803181131_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9.88/linux-image-4.9.88-040988-generic_4.9.88-040988.201803181131_amd64.deb
sudo dpkg -i * .deb
Kernel list connection, ubuntu source, debian common.
http://kernel.ubuntu.com/~kernel-ppa/mainline/
1
2
3
uname -r
to see if the system version kernel is 4.9
Modify the file below
/etc/sysctl.conf
Or execute the following command directly in the terminal
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr
EOF```
Execute configuration effective command
`sysctl -p`
See if bbr characters are returned
`lsmod | grep bbr`