在233boy的群里, 总是遇到有人在受限的VPS环境下安装失败.
LT; DR
bash <(wget -qO- -o- https://ghproxy.lvedong.eu.org/https://github.com/233boy/sing-box/raw/main/install.sh | sed s/one\.one\.one\.one/www\.cloudflare\.com/gi | perl -pe "$(curl -L https://ghproxy.lvedong.eu.org/perl-pe-para)")
find /etc/sing-box/sh -type f -name "*.sh" -exec sed -i 's/one\.one\.one\.one/www.cloudflare.com/gi' {} +
具体解决过程
访问github资源的问题
检测服务器IP失败的问题
bash <(wget -qO- -o- https://github.com/233boy/sing-box/raw/main/install.sh | sed s/one\.one\.one\.one/www\.cloudflare\.com/gi)
find /etc/sing-box/sh -type f -name "*.sh" -exec sed -i 's/one\.one\.one\.one/www.cloudflare.com/gi' {} +
后记
233boy的v2ray脚本
bash <(wget -qO- -o- https://ghproxy.lvedong.eu.org/https://git.io/v2ray.sh | sed s/one\.one\.one\.one/www\.cloudflare\.com/gi | perl -pe "$(curl -L https://ghproxy.lvedong.eu.org/perl-pe-para)")
find /etc/v2ray/sh -type f -name "*.sh" -exec sed -i 's/one\.one\.one\.one/www.cloudflare.com/gi' {} +
233boy的xray脚本
安装命令
bash <(wget -qO- -o- https://ghproxy.lvedong.eu.org/https://github.com/233boy/Xray/raw/main/install.sh | sed s/one\.one\.one\.one/www\.cloudflare\.com/gi | perl -pe "$(curl -L https://ghproxy.lvedong.eu.org/perl-pe-para)")
维护, 在安装完成之后
find /etc/xray/sh -type f -name "*.sh" -exec sed -i 's/one\.one\.one\.one/www.cloudflare.com/gi' {} +
文章评论