官方脚本
- 项目地址 https://github.com/trojan-gfw/trojan
- 安装脚本
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/trojan-gfw/trojan-quickstart/master/trojan-quickstart.sh)"
Trojan多用户管理 – Jrohy
- Trojan多用户管理部署程序 https://github.com/Jrohy/trojan
- 安装:
source <(curl -sL https://git.io/trojan-install)
- 卸载
source <(curl -sL https://git.io/trojan-install) --remove
输入 trojan 可进入管理程序
Trojan自动获取官方最新版本(集成BBRPLUS)- 波仔
- 安装脚本
wget -N --no-check-certificate -q -O trojan_install.sh "https://raw.githubusercontent.com/V2RaySSR/Trojan/master/trojan_install.sh" && chmod +x trojan_install.sh && bash trojan_install.sh
安装完成后会提示win/mac的客户端下载连接,运行stat,客户端设置参数及密码在config.json文件里
忘记密码执行以下命令查看(执行对应系统命令,选o查看)
vi /usr/src/trojan/trojan/config.json
vi /usr/src/trojan-macos/trojan/config.json
Atrandys的一键脚本
- 安装脚本
curl -O https://raw.githubusercontent.com/atrandys/trojan/master/trojan_mult.sh && chmod +x trojan_mult.sh && ./trojan_mult.sh
- bbr加速脚本
cd /usr/src && wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
BBR 四合一脚本
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh"
chmod +x tcp.sh
./tcp.sh
或
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
出现删除内核图选择NO,安装完成选择重启,再次执行 ./tcp.sh 选择启动加速