Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snail007 committed Aug 5, 2023
1 parent 857fedc commit bd8b0d5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand All @@ -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
```
Expand All @@ -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

Expand Down
7 changes: 5 additions & 2 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,更详细的使用方法请参考上面的手册目录,进一步了解你想要使用的功能。
Expand Down Expand Up @@ -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`
Expand Down

0 comments on commit bd8b0d5

Please sign in to comment.