OVZ 使用 BBR 魔改版加速
Debian 8 64 步骤:
下载rintd二进制文件:
wget --no-check-certificate "https://github.com/linhua55/lkl_study/releases/download/v1.2/rinetd_bbr_powered" -O /root/rinetd
修改权限:
chmod +x rinetd
修改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
设置开机启动
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
最后执行:
systemctl enable rinetd.service && systemctl start rinetd.service