优化修改部署
This commit is contained in:
@@ -50,8 +50,11 @@ certd/
|
||||
### 第一步:上传文件到服务器
|
||||
|
||||
```bash
|
||||
# 在本地执行,上传 base 和 certd 目录
|
||||
scp -r base/ certd/ root@<服务器IP>:/opt/
|
||||
# 在本地执行,上传 certd 目录
|
||||
scp -r certd/ root@<服务器IP>:/opt/certd
|
||||
|
||||
# 如果服务器上还没有部署过 base(首台服务或全新服务器),还需上传 base
|
||||
scp -r base/ root@<服务器IP>:/opt/base
|
||||
```
|
||||
|
||||
### 第二步:登录服务器执行部署
|
||||
|
||||
0
certd/backup.sh
Normal file → Executable file
0
certd/backup.sh
Normal file → Executable file
0
certd/deploy.sh
Normal file → Executable file
0
certd/deploy.sh
Normal file → Executable file
Reference in New Issue
Block a user