• CAC的Debian-8-64bit安装BBR正确打开方式


    装过三台debian 64 bit, CAC, 2欧, KVM虚拟机 做法都一样---下面说下正确安装方式
     
    0. 有装锐速记得先删除,免得换核心后,锐速在扯后腿。
     
    1.换4.9版kernel 有正式版 別装啥rc版, 4.9是LTS(Long Term Support),稳定性杠杠的。
    debian 8 64 bit可装ubuntu核心, 自己编译会哭, cac不理想。。。
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-image-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb
     
    2.安装
    dpkg -i linux-image-4.9.0*.deb
     
    3.删旧核心(不刪也行,用grub调整), 我是直接刪
    dpkg -l|grep linux-image
    这边注意一下, 应该会至少有3个, 除了4.9刚装的以外, 大概会有以下两组,全看你原本用啥核心
    root@localhost:~# dpkg -l|grep linux-image
    ii linux-image-3.16.0-4-amd64 3.16.36-1+deb8u1 amd64 Linux 3.16 for 64-bit PCs
    ii linux-image-4.9.0-040900-generic 4.9.0-040900.201612111631 amd64 Linux kernel image for version 4.9.0 on 64 bit x86 SMP
    ii linux-image-amd64 3.16+63 amd64 Linux for 64-bit PCs (meta-package)
    root@localhost:~#
    3-1.我刪, Do you want to continue? [Y/n] y
    apt-get remove linux-image-amd64 linux-image-3.16.0-4-amd64
    3-2.会进入一个蓝底警告画面面, 选择”NO” (Abort kernel removal? 选NO )
     
    4.更新grub, 会看到有vmlinuz-4.9的字样
    update-grub
     
    5.重开机
    reboot
    ….. 祈祷cac开得了机, 並拿到的ip @@
     
    6.设定bbr, 两行都要, 缺第一個, bbr如同废了
    echo “net.core.default_qdisc=fq” >> /etc/sysctl.conf
    echo “net.ipv4.tcp_congestion_control=bbr” >> /etc/sysctl.conf
     
    7.存档
    sysctl -p
     
    8.执行
    sysctl net.ipv4.tcp_available_congestion_control
     
    9.确认, 有看到tcp_bbr就搞定
    lsmod | grep bbr
     
    鼎峰凡凡QQ:2881064156
    skype:986150279@qq.com
  • 相关阅读:
    BestCoder Round #65
    Codeforces Round #334 (Div. 2)
    二叉搜索树(排序二叉树)
    二叉搜索树 POJ 2418 Hardwood Species
    差分约束系统 POJ 3169 Layout
    思维题(转换) HDU 4370 0 or 1
    SPFA+Dinic HDOJ 3416 Marriage Match IV
    图论 SRM 674 Div1 VampireTree 250
    SPFA(建图) HDOJ 4725 The Shortest Path in Nya Graph
    SPFA(负环) LightOJ 1074 Extended Traffic
  • 原文地址:https://www.cnblogs.com/Q2881064156/p/6183611.html
Copyright © 2020-2023  润新知