第一步:
- echo ‘deb http://deb.xanmod.org releases main’ | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list
- wget -qO – https://dl.xanmod.org/gpg.key | sudo apt-key –keyring /etc/apt/trusted.gpg.d/xanmod-kernel.gpg add –
- sudo apt update && sudo apt install linux-xanmod -y
- update-grub && update-grub2 && reboot
复制代码
第二步:
- echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
- echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
- sysctl -p
- sysctl net.ipv4.tcp_available_congestion_control
- lsmod | grep bbr
复制代码
|