安装前先运行update
apt-get update -y && apt-get install curl -y ? ? ? ? ? #ubuntu/debian 系统安装 Curl 方法:?
yum update -y && yum install curl -y ? ? ? ? ? ? ? ? #centos 系统安装 Curl 方法:?

有些 VPS 需要安装 XZ 压缩工具
apt-get install xz-utils ? #Debian/Ubuntu 安装 XZ 压缩工具命令
yum install xz ? ?#CentOS 安装 XZ 压缩工具

如果申请的时候遇到SSL证书一直申请失败,可以尝试运行:
iptables -F
命令后重新运行一键脚本看看。,

?

SSR

脚本1:
yum -y install wget
wget -N –no-check-certificate https://raw.githubusercontent.com/hombo125/doubi/master/ssr.sh && chmod +x ssr.sh && bash ssr.sh

脚本2:
yum -y install wget
wget -N –no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/ssr.sh && chmod +x ssr.sh && bash ssr.sh

?

V2ray

脚本1:(这个不需要绑定域名之类的操作)
bash <(curl -s -L https://git.io/v2ray.sh)
如果提示 curl: command not found ,那是因为你的 VPS 没装 Curl;安装好 curl 之后就能安装脚本了

?

脚本2:(两个人选其一就可以,该脚本带同时附带bbrplus加速脚本。需要手动设置开启)
wget -N –no-check-certificate -q -O install.sh “https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/master/install.sh” && chmod +x install.sh && bash install.sh

下面这个脚本来自dev分支。
wget -N –no-check-certificate -q -O install.sh “https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/dev/install.sh” && chmod +x install.sh && bash install.sh

?

Trojan

bash <(curl -s -L https://github.com/V2RaySSR/Trojan/raw/master/Trojan.sh)

该脚本带同时附带bbrplus加速脚本。

?

BBR

wget –no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh
chmod +x bbr.sh
./bbr.sh

?

BBRplus

脚本1:

wget -N –no-check-certificate “https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh”
chmod +x tcp.sh
./tcp.sh

?

脚本2:

采用上面trojan或者v2ray脚本,内置bbrplus或者锐速加速等;

?

查看是否开启bbr或者bbrplus:

lsmod | grep bbr

如果显示bbr,则表示开启了bbr加速,如果显示bbrplus,则表示开启了bbrplus加速。

?

?手动申请证书

?curl https://get.acme.sh | sh
~/.acme.sh/acme.sh –register-account -m ilaoyao@126.com
~/.acme.sh/acme.sh ?–issue -d or2.ilaoyao.ml ? –standalone
~/.acme.sh/acme.sh –installcert -d or2.ilaoyao.ml –key-file /root/private.key –fullchain-file /root/cert.crt

?

宝塔面板

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh #centos

wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh #ubuntu&debian