美文网首页
OpenVZ平台开启Google BBR

OpenVZ平台开启Google BBR

作者: Lazy1 | 来源:发表于2017-08-06 16:40 被阅读230次
  • 使用的系统是CentOS 6 x64

     wget https://raw.githubusercontent.com/kuoruan/shell-scripts/master/ovz-bbr/ovz-bbr-installer.sh
      chmod +x ovz-bbr-installer.sh
      ./ovz-bbr-installer.sh
    
  • 会进行安装ovz-bbr但是由于cs6的 glibc 版本 是2.12,这里需要升级 glibc大于2.12.

  • CentOS 6 更新 glibc,首先下载如下几个文件:

wget http://ftp.gnu.org/gnu/glibc/glibc-2.15.tar.gz
wget http://ftp.gnu.org/gnu/glibc/glibc-ports-2.15.tar.gz
tar -zxf glibc-2.15.tar.gz
tar -zxf glibc-ports-2.15.tar.gz
mv glibc-ports-2.15 glibc-2.15/ports
mkdir glibc-build-2.15
cd glibc-build-2.15
yum install gcc
../glibc-2.15/configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin
make all && make install
  • ldd --version查看当前的glibc的版本

      ldd (GNU libc) 2.15
      Copyright (C) 2012 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions.  There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      Written by Roland McGrath and Ulrich Drepper.
    
  • 然后后退到根目录下执行
    ./ovz-bbr-installer.sh

  • 选择需要加速的端口即可开启

  • 判断 BBR 已正常工作

       ping 10.0.0.2,如果能通,说明 bbr 已经启动。

相关文章

  • OpenVZ平台开启Google BBR

    使用的系统是CentOS 6 x64 wget https://raw.githubusercontent.com...

  • openvz开启bbr

    参考https://www.v2ex.com/t/353778 确认vps能开启TUN/TAP功能 创建tap0接...

  • OpenVZ+BBR

    OpenVZ+BBR

  • OpenVZ 开启 BBR 技术说明

    首先,对 Google 公司发明的 BBR TCP 拥塞控制算法表示致敬。 为什么要写这个技术说明 网上有大量的 ...

  • Centos7更新内核

    更新内核的原因 想要更新内核的原因,是要开启BBR。在使用Google BBR之前,我们首先要了解它是什么。了解计...

  • CentOS 7 开启Google BBR

    BBR介绍 Google BBR (Bottleneck Bandwidth and RTT) 是一种新的TCP拥...

  • VPS安装SSR-锐速-BBR-rinetd加速

    VPS这里我讲两种: OpenVz:可安装:rinetd加速 KVM:可安装:锐速、BBR。注:由于内核要求不同,...

  • Ubuntu 18.04快速开启Google BBR

    说明:Ubuntu 18.04前几天发布了,改变挺大的,内核也直接升到了正式版4.15,而BBR内核要求为4.9,...

  • CentOS7开启BBR

    系统 CentOS 7.9 开启BBR 安装ELRepo源 升级内核 配置GRUB 开启BBR 重启生效 验证

  • OpenVZ VPS 安装BBR加速SSR

    一般来说,VPS供应商还把KVM集成BBR,但是很多像我一样穷酸的学生一样,很多时候并不是很有钱去买KVM,只能考...

网友评论

      本文标题:OpenVZ平台开启Google BBR

      本文链接:https://www.haomeiwen.com/subject/kbfnlxtx.html