ubuntu server 更新为hwe内核 开启BBR
2018-02-02 08:45
495 查看
--指定loacle 字符集
dpkg-reconfigure locales
--指定时区
dpkg-reconfigure tzdata
dpkg --get-selections |grep linux-image
dpkg --get-selections |grep linux-headers
更新为使用hwe内核
apt install --install-recommends linux-generic-hwe-16.04 linux-headers-generic-hwe-16.04 xserver-xorg-hwe-16.04
开启 TCP BBR
开机后 uname -r 看看是不是内核 ≥ 4.9
执行
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
如果结果都有bbr, 则证明你的内核已开启 TCP BBR!
执行
lsmod | grep bbr
dpkg-reconfigure locales
--指定时区
dpkg-reconfigure tzdata
dpkg --get-selections |grep linux-image
dpkg --get-selections |grep linux-headers
更新为使用hwe内核
apt install --install-recommends linux-generic-hwe-16.04 linux-headers-generic-hwe-16.04 xserver-xorg-hwe-16.04
开启 TCP BBR
开机后 uname -r 看看是不是内核 ≥ 4.9
执行
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
如果结果都有bbr, 则证明你的内核已开启 TCP BBR!
执行
lsmod | grep bbr
相关文章推荐
- 更新Ubuntu Server 10.4 内核及编辑内核启动项
- Ubuntu 升级内核 开启BBR 清理内核
- Ubuntu内核升级以及如何开启BBR加速
- ubuntu server版配置关闭系统自动更新
- Ubuntu16.04更新4.13.8内核.md
- 禁止Ubuntu更新内核
- ubuntu server设置时区和更新时间
- LKU:一套在 Ubuntu/LinuxMint 上编译、安装和更新最新内核的 Shell 脚本
- Ubuntu环境下 Linux实用命令与内核更新
- Ubuntu更新4.9.6内核
- Ubuntu 8.04 Linux系统下面编译更新内核版本
- 修改ubuntuserver更新源
- ubuntu 编译新内核,更新grub启动项
- ubuntu 更新内核后virtualbox 无法启动情况解决办法
- Ubuntu系统内核更新与垃圾清理方法
- Ubuntu server 16.04 LTS 首次使用更新源
- ubuntu:更新内核与清理无用文件
- LKU:一套在 Ubuntu/LinuxMint 上编译、安装和更新最新内核的 Shell 脚本
- Ubuntu Server 下开启远程连接MySQL