mirror of
https://github.com/snail007/proxy_admin_free.git
synced 2026-04-02 10:40:03 +00:00
update
This commit is contained in:
@@ -43,7 +43,7 @@ If your VPS is a Linux 64-bit system, you only need to execute the following sen
|
||||
Tip: All operations require root privileges.
|
||||
|
||||
```shell
|
||||
curl -L https://mirrors.host900.com/https://raw.githubusercontent.com/snail007/proxy_admin_free/master/install_auto.sh | bash
|
||||
bash -c "$(curl -s -L https://raw.githubusercontent.com/snail007/proxy_admin_free/master/install_auto.sh)"
|
||||
```
|
||||
|
||||
The installation is complete, the configuration directory is /etc/gpa. For more detailed usage, please refer to the manual directory above to learn more about the features you want to use.
|
||||
|
||||
@@ -55,13 +55,13 @@ ProxyAdmin 是强大的代理服务工具 [snail007/goproxy](https://github.com/
|
||||
##### 免费版执行这个哟:
|
||||
|
||||
```shell
|
||||
curl -L https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/blob/master/install_auto.sh | bash
|
||||
bash -c "$(curl -s -L https://mirrors.goproxyauth.com/https://github.com/snail007/proxy_admin_free/blob/master/install_auto.sh)" @ cn
|
||||
```
|
||||
|
||||
##### VIP版执行这个:
|
||||
|
||||
```shell
|
||||
curl -L https://mirrors.host900.com/https://github.com/snail007/proxy-admin-vip/blob/master/install_auto.sh | bash
|
||||
bash -c "$(curl -s -L https://mirrors.goproxyauth.com/https://github.com/snail007/proxy-admin-vip/blob/master/install_auto.sh)" @ cn
|
||||
```
|
||||
|
||||
安装完成,配置目录是/etc/gpa,更详细的使用方法请参考上面的手册目录,进一步了解你想要使用的功能。
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
#!/bin/bash
|
||||
#!/bin/bash
|
||||
if [ "$1" == "cn" ]; then
|
||||
MIRROR="https://mirrors.goproxyauth.com/"
|
||||
fi
|
||||
F="proxy-admin_linux-amd64.tar.gz"
|
||||
set -e
|
||||
if [ -e /tmp/proxy ]; then
|
||||
@@ -9,8 +13,8 @@ cd /tmp/proxy
|
||||
echo -e "\n>>> downloading ... $F\n"
|
||||
|
||||
manual="https://snail.gitee.io/proxy/manual/zh/"
|
||||
LAST_VERSION=$(curl --silent "https://mirrors.host900.com/https://api.github.com/repos/snail007/proxy_admin_free/releases/latest" | grep -Po '"tag_name":"\K.*?(?=")')
|
||||
wget -t 1 "https://mirrors.host900.com/https://github.com/snail007/proxy_admin_free/releases/download/${LAST_VERSION}/$F"
|
||||
LAST_VERSION=$(curl --silent "${MIRROR}https://api.github.com/repos/snail007/proxy_admin_free/releases/latest" | grep -Po '"tag_name": *"\K.*?(?=")')
|
||||
wget -t 1 "${MIRROR}https://github.com/snail007/proxy_admin_free/releases/download/${LAST_VERSION}/$F"
|
||||
|
||||
echo -e ">>> installing ... \n"
|
||||
#install proxy-admin
|
||||
|
||||
Reference in New Issue
Block a user