admin avatar

Detailed tutorial for upgrading debian 7 to debian 8 and configuring bbr acceleration.

🕕 by admin





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
cat /etc/issue

Upgrade debian 7 system to debian 8

1
2
3
4
5
6
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
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
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`




💘 相关文章


📝 有偿服务

• 服务器合租380/年
• 服务器配置:2.4G,6核12线程
• nvme raid 1硬盘
• 不提供服务器自主面板
• 适合稳定的个人博客
• 提供备份服务,备份空间自备
• 只提供ipv6地址,搭配cloudflare使用
• 提供想要安装的程序和域名
• 博客必须是和谐健康的
• 博客不能是视频和图片站
• 提供以下付费服务
• 建站,FTP,备份,Linux,Wordpress等建站问题咨询管理
• 加微信:344452500(不闲聊,直接说事)

写一条评论

Based on Golang + fastHTTP + sdb | go1.16.8 Processed in 2ms