Browse Source

doc update

pull/2/head
qiaozhanwei 6 years ago
parent
commit
c2ce0fd80c
  1. 4
      docs/zh_CN/后端部署文档.md
  2. 4
      install.sh

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

@ -89,7 +89,7 @@ install.sh : 一键部署脚本
`sudo chown -R deployUser:deployUser escheduler-backend` `sudo chown -R deployUser:deployUser escheduler-backend`
- 修改conf/env/目录下的`escheduler_env.py`, `.escheduler_env.sh` 两个文件中的环境变量 - 修改conf/env/目录下的 `.escheduler_env.sh` 环境变量
- 修改部署参数(根据自己服务器及业务情况): - 修改部署参数(根据自己服务器及业务情况):
@ -136,7 +136,7 @@ install.sh : 一键部署脚本
### 2.2 编译源码来部署 ### 2.2 编译源码来部署
将源码包release版本1.0.1下载后,解压进入根目录 将源码包release版本1.0.2下载后,解压进入根目录
* 执行编译命令: * 执行编译命令:

4
install.sh

@ -123,9 +123,6 @@ execPath="/tmp/escheduler/exec"
# SHELL环境变量路径 # SHELL环境变量路径
shellEnvPath="$installPath/conf/env/.escheduler_env.sh" shellEnvPath="$installPath/conf/env/.escheduler_env.sh"
# Python换将变量路径
pythonEnvPath="$installPath/conf/env/escheduler_env.py"
# 资源文件的后缀 # 资源文件的后缀
resSuffixs="txt,log,sh,conf,cfg,py,java,sql,hql,xml" resSuffixs="txt,log,sh,conf,cfg,py,java,sql,hql,xml"
@ -249,7 +246,6 @@ sed -i ${txt} "s#process.exec.basepath.*#process.exec.basepath=${execPath}#g" co
sed -i ${txt} "s#data.store2hdfs.basepath.*#data.store2hdfs.basepath=${hdfsPath}#g" conf/common/common.properties sed -i ${txt} "s#data.store2hdfs.basepath.*#data.store2hdfs.basepath=${hdfsPath}#g" conf/common/common.properties
sed -i ${txt} "s#hdfs.startup.state.*#hdfs.startup.state=${hdfsStartupSate}#g" conf/common/common.properties sed -i ${txt} "s#hdfs.startup.state.*#hdfs.startup.state=${hdfsStartupSate}#g" conf/common/common.properties
sed -i ${txt} "s#escheduler.env.path.*#escheduler.env.path=${shellEnvPath}#g" conf/common/common.properties sed -i ${txt} "s#escheduler.env.path.*#escheduler.env.path=${shellEnvPath}#g" conf/common/common.properties
sed -i ${txt} "s#escheduler.env.py.*#escheduler.env.py=${pythonEnvPath}#g" conf/common/common.properties
sed -i ${txt} "s#resource.view.suffixs.*#resource.view.suffixs=${resSuffixs}#g" conf/common/common.properties sed -i ${txt} "s#resource.view.suffixs.*#resource.view.suffixs=${resSuffixs}#g" conf/common/common.properties
sed -i ${txt} "s#development.state.*#development.state=${devState}#g" conf/common/common.properties sed -i ${txt} "s#development.state.*#development.state=${devState}#g" conf/common/common.properties

Loading…
Cancel
Save