OpenVZ架構VPS安裝BBR的五種方法(UML-LKL-LKL_Rinetd)
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)相關的問題或者對邁阿密主機 訪問速度有疑惑也歡迎大家咨詢。
OpenVZ架構VPS安裝BBR的五種方法(UML-LKL-LKL_Rinetd)