用tarball实现liferay自动安装部署5-shell 脚本概述

 

做了前面所有步骤的概述,现在就开始讲解tarball中最核心,也是最重要的部分了--shell script,否则怎么能成为tarball呢。

 

从总体上,基于公司的需求,我们将脚本分化在5个子脚本中,以下是这些脚本的介绍,我直接从架构文档上复制过来了:

Script Name

Description

configure-helper.sh

This script is used for setting the constants,variables and do fundamental calculation or string parsing.

configure.sh

It will read the constants,variables defined in configure-helper.sh and actually do the fresh install work on a new machine.

start.sh

It will read configure-helper.sh and  start the liferay server.

stop.sh

It will read configure-helper.sh and stop the liferay server.

unconfigure.sh

Environment cleanup (Now we haven’t defined the responsibility clearly ,so we leave it blank)

 

你可能感兴趣的:(Portal,liferay,Tarball)