wget --no-check-certificate -O ***-go.sh https://raw.githubusercontent.com/teddysun/***_install/master/***-go.sh chmod +x ***-go.sh ./***-go.sh 2>&1 | tee ***-go.log
卸载方法:
使用 root 用户登录,运行以下命令:
./***-go.sh uninstall
其他事项:
客户端配置的参考链接:https://teddysun.com/339.html
安装完成后即已后台启动 ***-go ,运行:
/etc/init.d/*** status
可以查看 ***-go 进程是否已经启动。
本脚本安装完成后,已将 ***-go 加入开机自启动。
使用命令:
启动:/etc/init.d/*** start
停止:/etc/init.d/*** stop
重启:/etc/init.d/*** restart
状态:/etc/init.d/*** status
多用户多端口配置文件示例:
配置文件路径:/etc/***/config.json
{
"port_password":{
"8989":"password0",
"9001":"password1",
"9002":"password2",
"9003":"password3",
"9004":"password4"
},
"method":"your_encryption_method",
"timeout":600
}
浙公网安备 33010602011771号