# Centos-update-kernel **Repository Path**: kingbj/centos-update-kernel ## Basic Information - **Project Name**: Centos-update-kernel - **Description**: Centos 升级内核,升级到最新版本内核 支持以下系列 centos5x centos6x centos7x - **Primary Language**: Shell - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-06-01 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #Centos-update-kernel ``` wget http://git.oschina.net/kingbj/centos-update-kernel/raw/master/centos7x.sh&&bash centos7x.sh ``` Centos 升级内核,升级到最新版本内核(默认最新版本)支持以下系列 支持centos和 RHEL centos支持以下版本,请自行选择 ``` centos6x centos7x ``` 执行对应脚本后,uname -a即可查看内核版本 开启 TCP BBR ``` echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf ``` 查看内核是否开启 TCP BBR ``` sysctl net.ipv4.tcp_available_congestion_control sysctl net.ipv4.tcp_congestion_control ``` 查看 tcp_bbr 模块是否加载 ``` lsmod | grep tcp_bbr ```