快速开始

整体架构

大致步骤

详细步骤

1.添加服务器

2.安装配置插件

问题自查步骤

1.检查ssh是否能登陆

2.检查docker是否已经运行

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock
sudo usermod -a -G docker $USER
# 查看docker命令
[root@codelover myServer]# docker version
Client: Docker Engine - Community
 Version:           20.10.21
 API version:       1.41
 Go version:        go1.18.7
 Git commit:        baeda1f
 Built:             Tue Oct 25 18:02:19 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true
# 查看docker是否启动
[root@codelover myServer]# docker ps
CONTAINER ID   IMAGE                      COMMAND                  CREATED        STATUS                PORTS                                                                                                                                     NAMES
18c519acd12d   myservers/my_servers       "/app/app -k d85c99a…"   14 hours ago   Up 14 hours                

3.检查MyServers的服务端是否运行

[root@codelover myServer]# docker ps | grep myServers
18c519acd12d   myservers/my_servers       "/app/app -k d85c99a…"   14 hours ago   Up 14 hours                                                                                                                                                     myServers

4.检查App的端口(默认18612)密钥是否和MyServers服务端一致

[root@codelover myServer]# cat ~/.myservers/config/config.yaml 

# 最后一行是密钥
SecretKey: d85c99a728dd5066cd565c0c645407ec

QA

1. 若安装失败,可手动运行安装脚本

curl -sSL https://plugin.codeloverme.cn/auto_update.sh > install.sh && chmod +x install.sh && ./install.sh && rm -rf install.sh 

2. 群晖如何安装?

3. 路由器如何安装?

4. MyServers服务端和其他服务是什么关系?

5. 如何暴露MyServers的服务到外网?

浏览器查看此文档