可视化管理面板x-ui-宝塔面板最详细教程-支持账号流量统计-一个全新的多协议多用户v2ray面板

甲骨文云

2:開啟防火牆

iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
apt-get purge netfilter-persistent

reboot重來


 XRAY 教程

準備工作
1、VPS準備Debian 9+
2、域名解析到VPS的IP上

申請SSL證書

apt update -y
apt install -y curl
apt install -y socat
curl https://get.acme.sh | sh
~/.acme.sh/acme.sh --register-account -m xxx@xxx.xxx

#更換真實的郵箱成功率更高

~/.acme.sh/acme.sh --issue -d xxxx.xxxx.xxx --standalone

更換你的解析域名

~/.acme.sh/acme.sh --installcert -d xxxx.xxxx.xxx --key-file /root/private.key --fullchain-file /root/cert.crt

更換你的解析域名,此步完成後會在VPS root 下
刪除證書/root/cert.crt及密鑰文件/private.key

安裝BBR(視頻中沒用但經用很搞笑的說法很可能是有作用的!大家可以安裝一下)
但別亂網速搜的BBR腳本,崩崩

echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
lsmod | grep bbr

#打完最後,應看到20480或16384 說明BBR 開啟成功

安裝X-ui面板

bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)

私钥路徑:/root/private.key

公钥路徑:/root/cert.crt

发表评论

后一页 前一页