This commit is contained in:
snail007
2023-08-05 18:18:42 +08:00
parent 857fedc151
commit bd8b0d589a
2 changed files with 14 additions and 8 deletions
+9 -6
View File
@@ -90,13 +90,13 @@ Tip: All operations require root privileges.
The free version performs this:
```shell
curl -L https://mirrors.goproxyauth.com/https://raw.githubusercontent.com/snail007/goproxy/master/install_auto.sh | bash
bash -c "$(curl -s -L https://raw.githubusercontent.com/snail007/goproxy/master/install_auto.sh)"
```
The commercial version performs this:
```shell
curl -L https://mirrors.goproxyauth.com/https://raw.githubusercontent.com/snail007/goproxy/master/install_auto_commercial.sh | bash
bash -c "$(curl -s -L https://raw.githubusercontent.com/snail007/goproxy/master/install_auto_commercial.sh)"
```
The installation is complete, the configuration directory is /etc/proxy. For more detailed usage, please refer to the manual directory above to learn more about the features you want to use.
@@ -114,14 +114,14 @@ The free version performs this:
```shell
cd /root/proxy/
wget https://mirrors.goproxyauth.com/https://github.com/snail007/goproxy/releases/download/v7.9/proxy-linux-amd64.tar.gz
wget https://github.com/snail007/goproxy/releases/download/v7.9/proxy-linux-amd64.tar.gz
```
The commercial version performs this:
```shell
cd /root/proxy/
wget https://mirrors.goproxyauth.com/https://github.com/snail007/goproxy/releases/download/v7.9/proxy-linux-amd64_commercial.tar.gz
wget https://github.com/snail007/goproxy/releases/download/v7.9/proxy-linux-amd64_commercial.tar.gz
```
2. Download the automatic installation script
@@ -130,7 +130,7 @@ The free version performs this:
```shell
cd /root/proxy/
wget https://mirrors.goproxyauth.com/https://raw.githubusercontent.com/snail007/goproxy/master/install.sh
wget https://raw.githubusercontent.com/snail007/goproxy/master/install.sh
chmod +x install.sh
./install.sh
```
@@ -139,12 +139,15 @@ The commercial version performs this:
```shell
cd /root/proxy/
wget https://mirrors.goproxyauth.com/https://raw.githubusercontent.com/snail007/goproxy/master/install_commercial.sh
wget https://raw.githubusercontent.com/snail007/goproxy/master/install_commercial.sh
chmod +x install_commercial.sh
./install_commercial.sh
```
## UPDATE
proxy update use mirror to download, if your update has error with mirror, you can set an environment variable `UPDATE_MIRROR=false`
Windows: `set UPDATE_MIRROR=false` then `proxy update`
Linux: `export UPDATE_MIRROR=false` then `proxy update`
### Linux
+5 -2
View File
@@ -108,13 +108,13 @@ GoProxy是一款轻量级、功能强大、高性能的http代理、https代理
免费版执行这个:
```shell
curl -L https://mirrors.goproxyauth.com/https://github.com/snail007/goproxy/blob/master/install_auto.sh | bash
bash -c "$(curl -s -L https://mirrors.goproxyauth.com/https://github.com/snail007/goproxy/blob/master/install_auto.sh)" @ cn
```
商业版执行这个:
```shell
curl -L https://mirrors.goproxyauth.com/https://github.com/snail007/goproxy/blob/master/install_auto_commercial.sh | bash
bash -c "$(curl -s -L https://mirrors.goproxyauth.com/https://github.com/snail007/goproxy/blob/master/install_auto_commercial.sh)" @ cn
```
安装完成,配置目录是/etc/proxy,更详细的使用方法请参考上面的手册目录,进一步了解你想要使用的功能。
@@ -163,6 +163,9 @@ chmod +x install_commercial.sh
```
## 升级更新
更新默认使用镜像地址下载,如果使用镜像无法更新,可以设置环境变量:`UPDATE_MIRROR=false`,禁用镜像下载。
Windows: 先执行 `set UPDATE_MIRROR=false` 然后执行 `proxy update`
Linux: 先执行 `export UPDATE_MIRROR=false` 然后执行 `proxy update`
### Linux
用`root`打开一个终端,如果proxy不再系统PATH里面,需要cd进入proxy目录执行`./proxy`。