[root@kingbaseES ~]# systemctl stop firewalld
[root@kingbaseES ~]# systemctl disable firewalld
[root@kingbaseES ~]# mkdir /install
[root@kingbaseES ~]# mkdir /backup
[root@kingbaseES ~]# mkdir /archive
[root@kingbaseES ~]# mkdir /data
[root@kingbaseES ~]# mkdir -p /KingbaseES/V8
[root@kingbaseES ~]# useradd kingbase
[root@kingbaseES ~]# chown -R kingbase:kingbase /KingbaseES
[root@kingbaseES ~]# chown -R kingbase:kingbase /install
[root@kingbaseES ~]# chown -R kingbase:kingbase /backup
[root@kingbaseES ~]# chown -R kingbase:kingbase /archive
[root@kingbaseES ~]# chown -R kingbase:kingbase /data
[root@kingbaseES ~]# chmod -R 755 /KingbaseES
[root@kingbaseES ~]# chmod -R 755 /install
[root@kingbaseES ~]# chmod -R 755 /backup
[root@kingbaseES ~]# chmod -R 755 /archive
[root@kingbaseES ~]# chmod -R 755 /data
[root@kingbaseES ~]# ls -l / |grep kingbase
[root@kingbaseES ~]# mount -o loop KingbaseES_V008R006C007M009B0030_Lin64_install.iso /mnt
[root@kingbaseES ~]# cd /mnt
[root@kingbaseES mnt]# cp -r /mnt/* /install/
[root@kingbaseES install]# cd /install
[root@kingbaseES install]# chown -R kingbase:kingbase *
[root@kingbaseES install]# mv /root/license_29296_0.dat /install/
[root@kingbaseES install]# chown kingbase:kingbase license_29296_0.dat
[root@kingbaseES install]# su - kingbase
[kingbase@kingbaseES ~]$ cd /install/
[kingbase@kingbaseES ~]$ export LANG=zh_CN.UTF-8
[kingbase@kingbaseES install]$ sh setup.sh -i console
[root@kingbaseES ~]# systemctl status kingbase8d
[root@kingbaseES ~]# ps -ef|grep kingbase
[root@kingbaseES install]# su - kingbase
[kingbase@kingbaseES ~]$vi .bash_profile
#增加环境变量
PATH=/KingbaseES/V8/Server/bin:$PATH:$HOME/.local/bin:$HOME/bin
export KINGBASE_DATA=/data
[kingbase@kingbaseES ~]$ sys_ctl stop -D /data
[kingbase@kingbaseES ~]$ sys_ctl start -D /data