自动安装
    将数据库软件包(GBase*.tar)放于当前目录，bash AutoInit_GBase8s.sh 执行自动安装；

环境检查
    执行bash CheckEnv.sh检查(AutoInit_GBase8s.sh自动调用该脚本)当前环境是否支持GBase 8s安装；

清除
    执行CleanAll.sh，将自动清理gbasedbt及安装目录；

脚本参数说明
Usage:
    AutoInit_GBase8s.sh [-d path] [-i path] [-p path] [-s y|n] [-l locale] [-u user] [-o y|n] 
	                    [-n servername] [-c num_of_cpu] [-m num_of_memory] [-t type_of_instance]

        -d path    The path of dbspace.
        -i path    The path of install software.
        -p path    The path of home path.
        -s y|n     Value of dbspace is 1GB? Yes/No, default is N.
        -u user    The user name for SYSDBA, gbasedbt/informix, default is gbasedbt
        -l locale  DB_LOCALE/CLIENT_LOCALE/SERVER_LOCALE value.
        -o y|n     Only install software? Yes/No, default is N.
        -n NAME    Servername, default is gbase01.
        -c NUM     Number of CPU use.
        -m NUM     Number of MB Memory use.
        -t TYPE    Type of instance will install, [small], if use this, ignore -c and -m. 
        -a y|n     Security need, default N.

-d  指定数据库空间目录，默认为/data/gbase（若该目录非空，则使用INSTALL_DIR/data）
-i  指定数据库软件安装目录INSTALL_DIR，默认为/opt/gbase
-p  指定数据库用户gbasedbt的HOME目录，默认为/home/gbase
-s  数据库空间是否均使用1GB，默认是y（所有数据库空间均使用1GB大小）
-u  指定数据库系统管理员的名称，仅限gbasedbt和informix
-l  指定数据库的DB_LOCALE/CLIENT_LOCALE参数值，默认为zh_CN.utf8
-o  指定仅安装数据库，而不进行初始化操作，默认是n（安装并初始化数据库）
-n  指定数据库服务名称
-c  指定使用的CPU数量
-m  指定使用的内存数量，单位为MB
-t  指定安装的实例类型，当前可接受small
-a  指定是否开启三权分立，默认是n 

systemd自启动配置  
    执行BuildSystemd.sh自动创建默认数据库环境的自启动    
    启动服务: systemctl start GBaseService_${servername}  
    关闭服务：systemctl stop GBaseService_${servername}  