By accessing the website and accepting the Cookie Policy, you agree to use the cookies provided by the Site in accordance with to analyze traffic, remember your preferences, and optimize your experience.
OVZ架构系统安装并开启 Google BBR 教程(KVM / OpenVZ)
bbr ovz openvz    2018-11-23 17:07:33    67    0    0
emengweb   bbr ovz openvz

安装:

wget https://raw.githubusercontent.com/kuoruan/shell-scripts/master/ovz-bbr/ovz-bbr-installer.sh --no-check-certificate 
chmod +x ovz-bbr-installer.sh 
./ovz-bbr-installer.sh

firewalld:

systemctl disable firewalld 
systemctl stop firewalld

卸载:

      ./ovz-bbr-installer.sh uninstall

多端口:

      vim /usr/local/haproxy-lkl/etc/port-rules

启动、停止、重启:

systemctl {start|stop|restart} haproxy-lkl
service haproxy-lkl {start|stop|restart}

更新 glibc:

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
​
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

手动编译:

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
../glibc-2.15/configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin
make all && make install

检查 glibc:

      ldd --version​

 

上一篇: 在Debian 9 (Stretch) 上安装Docker Engine

下一篇: Hetzner独服使用Proxmox创建VPS

67 人读过
文档导航