Browse Source

delete tar

update install document
pull/1/MERGE
baoliang 6 years ago
parent
commit
0dc1f45a16
  1. 6
      docs/zh_CN/后端部署文档.md
  2. 2
      script/scp_hosts.sh

6
docs/zh_CN/后端部署文档.md

@ -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`

2
script/scp_hosts.sh

@ -5,8 +5,6 @@ workDir=`cd ${workDir};pwd`
source $workDir/../conf/config/run_config.conf
source $workDir/../conf/config/install_config.conf
tar -zxvf $workDir/../EasyScheduler-1.0.0.tar.gz -C $installPath
hostsArr=(${ips//,/ })
for host in ${hostsArr[@]}
do

Loading…
Cancel
Save