|
|
|
@ -93,7 +93,7 @@ escheduler ALL=(ALL) NOPASSWD: NOPASSWD: ALL
|
|
|
|
|
|
|
|
|
|
## 产品部署 |
|
|
|
|
|
|
|
|
|
### 1. 切换到部署用户,修改安装目录权限 |
|
|
|
|
### 1. 修改安装目录权限 |
|
|
|
|
|
|
|
|
|
- 安装目录如下: |
|
|
|
|
|
|
|
|
@ -109,7 +109,7 @@ escheduler ALL=(ALL) NOPASSWD: NOPASSWD: ALL
|
|
|
|
|
``` |
|
|
|
|
- 修改权限 |
|
|
|
|
|
|
|
|
|
`sudo chown -R escheduler:escheduler *` |
|
|
|
|
`chown -R deployUser:deployUser *` |
|
|
|
|
|
|
|
|
|
### 2. 修改环境变量文件 |
|
|
|
|
|
|
|
|
@ -125,7 +125,7 @@ escheduler ALL=(ALL) NOPASSWD: NOPASSWD: ALL
|
|
|
|
|
|
|
|
|
|
`pip install kazoo` |
|
|
|
|
|
|
|
|
|
- 一键部署 |
|
|
|
|
- 切换到部署用户,一键部署 |
|
|
|
|
|
|
|
|
|
`sh install.sh` |
|
|
|
|
|
|
|
|
|