甲骨文云
2:開啟防火牆
iptables -P INPUT ACCEPTiptables -P FORWARD ACCEPTiptables -P OUTPUT ACCEPTiptables -Fapt-get purge netfilter-persistent
reboot重來
XRAY 教程
準備工作
1、VPS準備Debian 9+
2、域名解析到VPS的IP上
申請SSL證書
apt update -yapt install -y curlapt install -y socatcurl 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.confecho "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.confsysctl -plsmod | 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