Contents
hide
介绍
- 这个已经失效 本馆档案
- https://github.com/jinwyp/one_click_script
- 也可以开启bbr,wireguard等
实现
Shell
x
7
1
curl -O https://raw.githubusercontent.com/jinwyp/one_click_script/master/trojan_v2ray_install.sh && chmod +x ./trojan_v2ray_install.sh && ./trojan_v2ray_install.sh
2
3
# or
4
5
wget --no-check-certificate https://raw.githubusercontent.com/jinwyp/one_click_script/master/trojan_v2ray_install.sh && chmod +x ./trojan_v2ray_install.sh && ./trojan_v2ray_install.sh
6
7
# 我只需要trojan-go,所以就选了个5


一些相关操作命令信息
Shell
xxxxxxxxxx
1
8
1
systemctl stop trojan-go
2
vi /usr/src/trojan/server.conf
3
systemctl status trojan-go
4
systemctl restart trojan-go
5
journalctl -n 50 -u trojan-go
6
7
tail -f /root/trojan-access.log
8
tail -f /root/trojan-go/server.json