http://kernel.ubuntu.com/~kernel-ppa/mainline/

64位: v4.19.34

https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19.34/linux-image-unsigned-4.19.34-041934-generic_4.19.34-041934.201904051741_amd64.deb

v4.9.168

https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9.168/linux-image-4.9.168-0409168-generic_4.9.168-0409168.201904051739_amd64.deb

32位: v4.19.34

https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19.34/linux-image-4.19.34-041934-generic_4.19.34-041934.201904051741_i386.deb

v4.9.168

https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9.168/linux-image-4.9.168-0409168-generic_4.9.168-0409168.201904051739_i386.deb

安装

dpkg -i image.deb

删除旧内核

dpkg -l|grep linux-image 
apt-get purge 旧内核

更新grub

/usr/sbin/update-grub
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
sysctl net.ipv4.tcp_congestion_control
lsmod | grep bbr

查找:

^.*KEYWORD.*$

替换为:(空)

如果不留空行:
查找:

^.*KEYWORD.*\r?\n

替换为:(空)
注意:
Notepad++的[全部替换]受[方向]约束,所以如果想“向下”全部替换,要把光标放到文首。

notepad++截图

注意:

  1. 要替换全部要把光标放在文首
  2. 严格按照上次选项,要选正则表达式,不选匹配新行

via:https://blog.csdn.net/csdnliuxin123524/article/details/78355583