update github proxy
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
```shell
|
```shell
|
||||||
wget https://raw.githubusercontent.com/stilleshan/frpc/master/frpc_linux_install.sh && chmod +x frpc_linux_install.sh && ./frpc_linux_install.sh
|
wget https://raw.githubusercontent.com/stilleshan/frpc/master/frpc_linux_install.sh && chmod +x frpc_linux_install.sh && ./frpc_linux_install.sh
|
||||||
# 以下为国内镜像
|
# 以下为国内镜像
|
||||||
wget https://ghp.ci/https://raw.githubusercontent.com/stilleshan/frpc/master/frpc_linux_install.sh && chmod +x frpc_linux_install.sh && ./frpc_linux_install.sh
|
wget https://ghfast.top/https://raw.githubusercontent.com/stilleshan/frpc/master/frpc_linux_install.sh && chmod +x frpc_linux_install.sh && ./frpc_linux_install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
使用
|
使用
|
||||||
@@ -51,7 +51,7 @@ sudo systemctl restart frpc
|
|||||||
```shell
|
```shell
|
||||||
wget https://raw.githubusercontent.com/stilleshan/frpc/master/frpc_linux_uninstall.sh && chmod +x frpc_linux_uninstall.sh && ./frpc_linux_uninstall.sh
|
wget https://raw.githubusercontent.com/stilleshan/frpc/master/frpc_linux_uninstall.sh && chmod +x frpc_linux_uninstall.sh && ./frpc_linux_uninstall.sh
|
||||||
# 以下为国内镜像
|
# 以下为国内镜像
|
||||||
wget https://ghp.ci/https://raw.githubusercontent.com/stilleshan/frpc/master/frpc_linux_uninstall.sh && chmod +x frpc_linux_uninstall.sh && ./frpc_linux_uninstall.sh
|
wget https://ghfast.top/https://raw.githubusercontent.com/stilleshan/frpc/master/frpc_linux_uninstall.sh && chmod +x frpc_linux_uninstall.sh && ./frpc_linux_uninstall.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
### 4. Linux 服务器 docker 安装
|
### 4. Linux 服务器 docker 安装
|
||||||
@@ -61,7 +61,7 @@ wget https://ghp.ci/https://raw.githubusercontent.com/stilleshan/frpc/master/frp
|
|||||||
```shell
|
```shell
|
||||||
git clone https://github.com/stilleshan/frpc
|
git clone https://github.com/stilleshan/frpc
|
||||||
# git clone 本仓库镜像
|
# git clone 本仓库镜像
|
||||||
git clone https://ghp.ci/https://github.com/stilleshan/frpc
|
git clone https://ghfast.top/https://github.com/stilleshan/frpc
|
||||||
# 国内镜像
|
# 国内镜像
|
||||||
vi /root/frpc/frpc.toml
|
vi /root/frpc/frpc.toml
|
||||||
# 配置 frpc.toml 文件
|
# 配置 frpc.toml 文件
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ WORK_PATH=$(dirname $(readlink -f $0))
|
|||||||
FRP_NAME=frpc
|
FRP_NAME=frpc
|
||||||
FRP_VERSION=0.62.0
|
FRP_VERSION=0.62.0
|
||||||
FRP_PATH=/usr/local/frp
|
FRP_PATH=/usr/local/frp
|
||||||
PROXY_URL="https://ghp.ci/"
|
PROXY_URL="https://ghfast.top/"
|
||||||
|
|
||||||
# check frpc
|
# check frpc
|
||||||
if [ -f "/usr/local/frp/${FRP_NAME}" ] || [ -f "/usr/local/frp/${FRP_NAME}.toml" ] || [ -f "/lib/systemd/system/${FRP_NAME}.service" ];then
|
if [ -f "/usr/local/frp/${FRP_NAME}" ] || [ -f "/usr/local/frp/${FRP_NAME}.toml" ] || [ -f "/lib/systemd/system/${FRP_NAME}.service" ];then
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ WORK_PATH=$(dirname $(readlink -f $0))
|
|||||||
FRP_NAME=frpc
|
FRP_NAME=frpc
|
||||||
FRP_VERSION=0.62.0
|
FRP_VERSION=0.62.0
|
||||||
FRP_PATH=/usr/local/frp
|
FRP_PATH=/usr/local/frp
|
||||||
PROXY_URL="https://ghp.ci/"
|
PROXY_URL="https://ghfast.top/"
|
||||||
|
|
||||||
# check frpc
|
# check frpc
|
||||||
if [ -f "/usr/local/frp/${FRP_NAME}" ] || [ -f "/usr/local/frp/${FRP_NAME}.toml" ] || [ -f "/lib/systemd/system/${FRP_NAME}.service" ];then
|
if [ -f "/usr/local/frp/${FRP_NAME}" ] || [ -f "/usr/local/frp/${FRP_NAME}.toml" ] || [ -f "/lib/systemd/system/${FRP_NAME}.service" ];then
|
||||||
|
|||||||
Reference in New Issue
Block a user