From 7e24132bf6afeeccd3db9ab2f28892c8c814121b Mon Sep 17 00:00:00 2001 From: arraykeys Date: Fri, 20 Mar 2020 12:49:24 +0800 Subject: [PATCH] no message --- README_ZH.md | 16 +++++++++++++--- install_auto.sh | 11 +++++++---- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/README_ZH.md b/README_ZH.md index 28d91e8..bf22c69 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -52,8 +52,16 @@ ProxyAdmin 是强大的代理服务工具 [snail007/goproxy](https://github.com/ 提示:所有操作需要root权限。 +##### 免费版执行这个哟: + ```shell -curl -L https://raw.githubusercontent.com/snail007/proxy_admin_free/master/install_auto.sh | bash +curl -L https://mirrors.host900.com/snail007/proxy_admin_free/install_auto.sh | bash +``` + +##### VIP版执行这个: + +```shell +curl -L https://mirrors.host900.com/snail007/proxy-admin-vip/install_auto.sh | bash ``` 安装完成,配置目录是/etc/gpa,更详细的使用方法请参考上面的手册目录,进一步了解你想要使用的功能。 @@ -62,9 +70,11 @@ curl -L https://raw.githubusercontent.com/snail007/proxy_admin_free/master/insta ### 手动安装 -选择适合你的系统的文件并下载,[点击进入下载](https://github.com/snail007/proxy_admin_free/releases) +#### 免费版下载 +选择适合你的系统的文件并下载,[点击进入下载](http://mirrors.host900.com/snail007/proxy_admin_free/) -如果上面不能正常下载,点击这里[镜像下载](http://mirrors.host900.com/snail007/proxy_admin_free/) +#### VIP版本下载 +选择适合你的系统的文件并下载,[点击进入下载](http://mirrors.host900.com/snail007/proxy-admin-vip) ### Linux && MacOS diff --git a/install_auto.sh b/install_auto.sh index b4c86a3..35be239 100755 --- a/install_auto.sh +++ b/install_auto.sh @@ -24,17 +24,20 @@ wget -t 1 "http://mirrors.host900.com/snail007/proxy_admin_free/$F" fi echo -e ">>> installing ... \n" #install proxy-admin -tar zxvf $F >/dev/null -tar zxvf $F +tar zxvf $F >/dev/null 2>&1 chmod +x proxy-admin +set +e ./proxy-admin uninstall >/dev/null 2>&1 +set -e ./proxy-admin install rm $F +set +e systemctl status proxyadmin & +set -e sleep 2 -echo -e ">>> install done, thanks for using snail007/proxy-admin\n" +echo -e "\n>>> install done, thanks for using snail007/proxy-admin\n" echo -e ">>> install path /usr/bin/proxy\n" echo -e ">>> configuration path /etc/proxy\n" echo -e ">>> uninstall just exec : rm /usr/bin/proxy && rm /etc/proxy\n" -echo -e ">>> please visit : http://YOUR_IP:32080/ username: root, password: 123" +echo -e ">>> please visit : http://YOUR_IP:32080/ username: root, password: 123\n" echo -e ">>> How to using? Please visit : $manual\n"