CentOS 6.x 下升级glibc 2.17 及部署BBR

加速需要BBR,OPENVZ无法安装KVX的加速,所以搜了下,记录下解决办法。

原文参考:http://movingon.cn/2017/05/05/CentOS-6-x-%E5%A6%82%E4%BD%95%E5%8D%87%E7%BA%A7-glibc-2-17/

#! /bin/sh

# update glibc to 2.17 for CentOS 6

wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-2.17-55.el6.x86_64.rpm

wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-common-2.17-55.el6.x86_64.rpm

wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-devel-2.17-55.el6.x86_64.rpm

wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-headers-2.17-55.el6.x86_64.rpm

sudo rpm -Uvh glibc-2.17-55.el6.x86_64.rpm \

glibc-common-2.17-55.el6.x86_64.rpm \

glibc-devel-2.17-55.el6.x86_64.rpm \

glibc-headers-2.17-55.el6.x86_64.rpm

提示错误,可以手动进行:

sudo rpm -Uvh glibc-2.17-55.el6.x86_64.rpm \

glibc-common-2.17-55.el6.x86_64.rpm \

glibc-devel-2.17-55.el6.x86_64.rpm \

glibc-headers-2.17-55.el6.x86_64.rpm force --force --nodeps

解决方案:

命令结尾加上参数

--force --nodeps

原因可以看这篇文章 点这里,造成这个问题的主要原因是套件被重複 (强制) 安装了两次以上. 可以用上面的命令进行依赖忽略,也可以卸载。

附:

https://github.com/Alvin9999/new-pac/wiki/%E8%87%AA%E5%BB%BAss%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%95%99%E7%A8%8B

Google BBR安装脚本

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

成功.

你可能感兴趣的:(CentOS 6.x 下升级glibc 2.17 及部署BBR)