Fedora 更新至 25 并启用 BBR

好像今年不用个 BBR 都白瞎 KVM 了

照着来就行

#更新系统至 25
dnf install dnf-plugin-system-upgrade -y
dnf system-upgrade download --releasever=25 --nogpgcheck -y
dnf system-upgrade reboot
dnf update -y
#启用 bbr
echo "net.ipv4.tcp\_congestion\_control = bbr" >> /etc/sysctl.d/80-bbr.conf
echo "tcp\_bbr" >> /etc/modules-load.d/80-bbr.conf
echo "net.core.default\_qdisc=fq" >> /etc/sysctl.d/80-bbr.conf
sysctl -p
reboot
#重启后检查内核
uname -a
#检查 bbr
sysctl net.ipv4.tcp\_available\_congestion\_control
lsmod | grep bbr
#查找旧内核
rpm -qa|grep kernel
#卸载就行了,要不就留着占地

启用 bbr 后的确把某些应该放进┏┛墓┗┓的渣 VPS 救活了,不过选的时候就不要用这些渣渣更 b( ̄▽ ̄)d
以上

Comments
Write a Comment