optimize
This commit is contained in:
49
README.md
49
README.md
@@ -12,21 +12,30 @@
|
||||
**2021-05-31** 更新 Linux 一键安装脚本同时支持 X86 和 ARM
|
||||
**2021-05-29** 更新从`0.36.2`版本起 docker 镜像同时支持 X86 和 ARM
|
||||
|
||||
## 使用说明
|
||||
## 使用
|
||||
以下分为四种部署方法,请根据实际情况自行选择:
|
||||
- 群晖 NAS docker 安装 **[支持 docker 的群晖机型首选]** [点击查看教程](https://www.ioiox.com/archives/26.html)
|
||||
- 群晖 NAS 一键脚本安装 **[不支持 docker 的群晖机型]** [点击查看教程](https://www.ioiox.com/archives/6.html)
|
||||
- Linux 服务器 一键脚本安装 **[内网 Linux 服务器或虚拟机]**
|
||||
- Linux 服务器 docker 安装 **[内网 Linux 服务器或虚拟机]**
|
||||
|
||||
### Linux 服务器 一键脚本安装
|
||||
1. 群晖 NAS docker 安装 **[支持 docker 的群晖机型首选]**
|
||||
2. 群晖 NAS 一键脚本安装 **[不支持 docker 的群晖机型]**
|
||||
3. Linux 服务器 一键脚本安装 **[内网 Linux 服务器或虚拟机]**
|
||||
4. Linux 服务器 docker 安装 **[内网 Linux 服务器或虚拟机]**
|
||||
|
||||
---
|
||||
|
||||
### 1. 群晖 NAS docker 安装 **[支持 docker 的群晖机型首选]**
|
||||
[详情点击查看教程](https://www.ioiox.com/archives/26.html)
|
||||
|
||||
### 2. 群晖 NAS 一键脚本安装 **[不支持 docker 的群晖机型]**
|
||||
[详情点击查看教程](https://www.ioiox.com/archives/6.html)
|
||||
|
||||
### 3. Linux 服务器 一键脚本安装
|
||||
> *本脚本目前同时支持 Linux X86 和 ARM 架构*
|
||||
|
||||
安装
|
||||
```shell
|
||||
wget https://raw.githubusercontent.com/stilleshan/frpc/master/frpc_linux_install.sh && chmod +x frpc_linux_install.sh && ./frpc_linux_install.sh
|
||||
# 国内 gitee 镜像
|
||||
wget https://gitee.com/stilleshan/frpc/raw/master/frpc_linux_install.sh && chmod +x frpc_linux_install.sh && ./frpc_linux_install.sh
|
||||
# 以下为国内镜像
|
||||
wget https://github.ioiox.com/stilleshan/frpc/raw/branch/master/frpc_linux_install.sh && chmod +x frpc_linux_install.sh && ./frpc_linux_install.sh
|
||||
```
|
||||
|
||||
使用
|
||||
@@ -40,17 +49,19 @@ sudo systemctl restart frpc
|
||||
卸载
|
||||
```shell
|
||||
wget https://raw.githubusercontent.com/stilleshan/frpc/master/frpc_linux_uninstall.sh && chmod +x frpc_linux_uninstall.sh && ./frpc_linux_uninstall.sh
|
||||
# 国内 gitee 镜像
|
||||
wget https://gitee.com/stilleshan/frpc/raw/master/frpc_linux_uninstall.sh && chmod +x frpc_linux_uninstall.sh && ./frpc_linux_uninstall.sh
|
||||
# 以下为国内镜像
|
||||
wget https://github.ioiox.com/stilleshan/frpc/raw/branch/master/frpc_linux_uninstall.sh && chmod +x frpc_linux_uninstall.sh && ./frpc_linux_uninstall.sh
|
||||
```
|
||||
|
||||
### Linux 服务器 docker 安装
|
||||
### 4. Linux 服务器 docker 安装
|
||||
为避免因 **frpc.ini** 文件的挂载,格式或者配置的错误导致容器无法正常运行并循环重启.请确保先配置好 **frpc.ini** 后在运行启动.
|
||||
|
||||
先 **git clone** 本仓库,并正确配置 **frpc.ini** 文件.
|
||||
**git clone** 本仓库,并正确配置 **frpc.ini** 文件.
|
||||
```shell
|
||||
git clone https://gitee.com/stilleshan/frpc.git
|
||||
# git clone 本仓库 gitee 镜像
|
||||
git clone https://github.com/stilleshan/frpc
|
||||
# git clone 本仓库镜像
|
||||
git clone https://github.ioiox.com/stilleshan/frpc
|
||||
# 国内镜像
|
||||
vi /root/frpc/frpc.ini
|
||||
# 配置 frpc.ini 文件
|
||||
```
|
||||
@@ -69,15 +80,11 @@ docker restart frpc
|
||||
# 重启 frpc 容器即可生效
|
||||
```
|
||||
|
||||
## 版本更新
|
||||
- latest 为最新版
|
||||
- Tags 为历史版本
|
||||
|
||||
## 相关链接
|
||||
更多frp相关信息可参考我的博客
|
||||
## 链接
|
||||
- Blog [www.ioiox.com](https://www.ioiox.com)
|
||||
- GitHub [stilleshan/frpc](https://github.com/stilleshan/frpc)
|
||||
- Docker [stilleshan/frpc](https://hub.docker.com/r/stilleshan/frpc)
|
||||
- Docker Hub [stilleshan/frpc](https://hub.docker.com/r/stilleshan/frpc)
|
||||
- Docker [docker.ioiox.com](https://docker.ioiox.com)
|
||||
- 原版frp项目 [fatedier/frp](https://github.com/fatedier/frp)
|
||||
- [群晖NAS使用Docker安装配置frpc内网穿透教程](https://www.ioiox.com/archives/26.html)
|
||||
- [群晖NAS安装配置免费frp内网穿透教程](https://www.ioiox.com/archives/6.html)
|
||||
|
||||
Reference in New Issue
Block a user