
(仅限web页面)
请提前准备好服务器可用的域名!
复制下面命令到终端并执行
安装Curl支持环境:apt -y install curl #Ubuntu、Debian yum -y install curl #CentOS安装/更新:
source <(curl -sL https://git.io/trojan-install)卸载:
source <(curl -sL https://git.io/trojan-install) --remove
安装完后输入”
trojan“可进入管理程序
浏览器访问
https://域名可在线web页面管理trojan


Usage: trojan [flags] trojan [command] Available Commands: add 添加用户 clean 清空指定用户流量 completion 自动命令补全(支持bash和zsh) del 删除用户 help Help about any command info 用户信息列表 log 查看trojan日志 port 修改trojan端口 restart 重启trojan start 启动trojan status 查看trojan状态 stop 停止trojan tls 证书安装 update 更新trojan updateWeb 更新trojan管理程序 version 显示版本号 import [path] 导入sql文件 export [path] 导出sql文件 web 以web方式启动 Flags: -h, --help help for trojan
安装完trojan后强烈建议开启BBR等加速:
《原版BBR/魔改BBR/BBR Plus/锐速(Lotserver)四合一脚本/BBR一键安装脚本》登录面板后,可通过trojan链接、扫描二维码、一键导入(Clash for Windows)等方式将节点添加到客户端即可使用!