OpenVZ架构云主机部署BBR的五种方式(UML/LKL/LKL_Rinetd)
简介
日前OpenVZ部署BBR可谓火气酷热。可乐一向没写教程,今日就把伏笔VPS所见到的做成集中写成文章吧。提议使用NanQinLang—Rinetd
非Rinetd系列都需要有Tun/Tap支持
1、UML
本方式来自:https://www.91yun.co/archives/5345
1、一键执行script:
Alpine linux 小内存版: UML 的系统是 Alpine linux ,需要 64M 内存启动,主机最低 128M 内存
wget -N --no-check-certificate https://raw.githubusercontent.com/91yun/uml/master/bbr/uml.sh && bash uml.sh
Centos 版: UML 的系统是 CentOS ,需要 256M 内存启动,主机提议最低 512M 内存
wget -N --no-check-certificate https://raw.githubusercontent.com/91yun/uml/master/bbr/uml-centos.sh && bash uml-centos.sh
装完 ssr 和 bbr 就曾经执行了,如果你不想改密钥和端口的话便可以直接用。。原始配置鄙人面。。
2、进入 uml
screen -x
或者在目录下执行
bash run.sh status
用户名: root
, 密钥: root
详细可见原文地址。
LKL(91yun)
原文地址:https://www.91yun.co/archives/6281
部署 LKL 一键包command
wget --no-check-certificate https://github.com/91yun/uml/raw/master/lkl/install.sh && bash install.sh
若何断定能否部署成功
ping 10.0.0.2
详细见原文地址
Rinetd
1、下载rintd二进制文件(原版bbr和修正版bbr二选一便可):
wget --no-check-certificate https://raw.githubusercontent.com/mixool/rinetd/master/rinetd wget --no-check-certificate https://raw.githubusercontent.com/mixool/rinetd/master/rinetd_bbr_powered -O /root/rinetd
2、修正权限:
chmod +x rinetd
3、修正rinetd的配置文件rinetd.conf,增加监听地址:
vi rinetd.conf # bindadress bindport connectaddress connectport 0.0.0.0 443 0.0.0.0 443 0.0.0.0 80 0.0.0.0 80
4、设置开机启动
vi /etc/systemd/system/rinetd.service [Unit] Description=rinetd [Service] ExecStart=/root/rinetd -f -c /root/rinetd.conf raw venet0:0 Restart=always [Install] WantedBy=multi-user.target
5、最后执行:
systemctl enable rinetd.service && systemctl start rinetd.service
NanQinLang
Debian
wget https://github.com/tcp-nanqinlang/lkl-haproxy/releases/download/1.1.1/tcp_nanqinlang-haproxy-debian.sh bash tcp_nanqinlang-haproxy-debian.sh
Centos
wget https://github.com/tcp-nanqinlang/lkl-haproxy/releases/download/1.1.1/tcp_nanqinlang-haproxy-centos.sh bash tcp_nanqinlang-haproxy-centos.sh
原文地址:https://sometimesnaive.org/article/linux/bash/tcp_nanqinlang-lkl
NanQinLang—Rinetd
Debian 单网卡(单IP)
wget https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-debianorubuntu.sh bash tcp_nanqinlang-rinetd-debianorubuntu.sh
多IP
wget https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-debianorubuntu-multiNIC.sh bash tcp_nanqinlang-rinetd-debianorubuntu-multiNIC.sh
CentOS 单网卡
# 单网卡 wget https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-centos.sh bash tcp_nanqinlang-rinetd-centos.sh # 多网卡 wget https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-centos-multiNIC.sh bash tcp_nanqinlang-rinetd-centos-multiNIC.sh
来自:https://sometimesnaive.org/article/54
希望以上的文章对各位有用,如果觉得不错给我顶一下吧!更多和OpenVZ架构VPS安装BBR的五种方法(UML/LKL/LKL_Rinetd)相关的问题或者对迈阿密主机 访问速度有疑惑也欢迎大家咨询。
原文地址:https://www.cnblogs.com/fubitech/p/9806776.html