ovz构架centos6 64位系统 安装bbr

发布于 2018-09-01  1010 次阅读


由于centos6的glib版本太低,无法安装bbr,先更新glib。
步骤:
查看自己服务器的 kernel版本
rpm -q kernel
下载对应的 kernel-headers 版本
地址:
http://rpm.pbone.net/index.php3/stat/4/idpl/18032865/dir/scientific_linux_6/com

wget ftp://ftp.ntua.gr/pub/linux/scientificlinux/6.0/x86_64/updates/security/kernel-headers-2.6.32-220.13.1.el6.x86_64.rpm

安装 rpm 包

rpm -Uvh kernel-headers-2.6.32-220.13.1.el6.x86_64.rpm

4.升级glib版本

wget http://ftp.redsleeve.org/pub/steam/glibc-2.15-60.el6.x86_64.rpm
http://ftp.redsleeve.org/pub/steam/glibc-common-2.15-60.el6.x86_64.rpm
http://ftp.redsleeve.org/pub/steam/glibc-devel-2.15-60.el6.x86_64.rpm
http://ftp.redsleeve.org/pub/steam/glibc-headers-2.15-60.el6.x86_64.rpm
http://ftp.redsleeve.org/pub/steam/nscd-2.15-60.el6.x86_64.rpm

5.安装

rpm -Uvh glibc-2.15-60.el6.x86_64.rpm
glibc-common-2.15-60.el6.x86_64.rpm
glibc-devel-2.15-60.el6.x86_64.rpm
glibc-headers-2.15-60.el6.x86_64.rpm
nscd-2.15-60.el6.x86_64.rpm

查看版本

ldd --version

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.
ok,可以正常使用各种一键脚本安装了。

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

一曲肝肠断,何处觅知音。