trojan-gfw / trojan

An unidentifiable mechanism that helps you bypass GFW.
https://trojan-gfw.github.io/trojan/
GNU General Public License v3.0
18.81k stars 3.02k forks source link

请问怎么卸载 #626

Open xemaco opened 2 years ago

xemaco commented 2 years ago

在Debian的VPS上用脚本命令sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/trojan-gfw/trojan-quickstart/master/trojan-quickstart.sh)" 安装了服务端,现在像卸载请问需要怎么操作,不好意思,小白一枚。。

redstoneleo commented 2 years ago

同问

Bryan2333 commented 2 years ago

我觉得可以在VPS上安装一个locate,然后将trojan有关的文件都找出来删掉。 例如

rm -rf `locate -i trojan`
redgreat commented 2 years ago

关闭服务后,web还是自动启动的一直占着80端口,建议直接改下菜单里的关闭 1.trojan管理 2.停止trojan 内,把这个

root     3036813       1  0 13:55 ?        00:00:00 /usr/local/bin/trojan web

进程也关掉,这样就能随意开启关闭服务了

redgreat commented 2 years ago

直接

systemctl stop trojan
systemctl stop trojan-web

这俩指令也能全停了