From de1fe95a176d93e759e4fce9370c4f15f22b92ef Mon Sep 17 00:00:00 2001 From: chauncey Date: Sun, 2 Feb 2020 23:27:19 +0800 Subject: [PATCH] Update README.md --- README.md | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/README.md b/README.md index 9dceda9..7c314d7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,57 @@ # mtproxy + MTProxyTLS一键安装绿色脚本 + + + +## 安装方式 + +执行如下代码进行安装 + +```bash +mkdir /home/mtproxy && cd /home/mtproxy +curl -s -o mtproxy.sh https://raw.githubusercontent.com/ellermister/mtproxy/master/mtproxy.sh && chmod +x mtproxy.sh && bash mtproxy.sh +``` + + ![mtproxy.sh](https://raw.githubusercontent.com/ellermister/mtproxy/master/mtproxy.jpg) + + + + + +## 使用方式 + +运行服务 + +```bash +bash mtproxy.sh start +``` + +调试运行 + +```bash +bash mtproxy.sh debug +``` + +停止服务 + +```bash +bash mtproxy.sh stop +``` + +重启服务 + +```bash +bash mtproxy.sh restart +``` + + + +## 卸载安装 + +因为是绿色版卸载极其简单,直接删除所在目录即可。 + +```bash +rm -rf /home/mtproxy +``` +