国产数据库-KingbaseES在linux下的安装

将KingbaseES软件从windows中传至Linux中并解压

[root@localhost ~]# ls
anaconda-ks.cfg  install.log.syslog
Desktop          kdb-7.1.2.0363-release-Linux-x86_64-installer-build0032.zip
install.log      license_ee_7.1.2_企业版180L64.dat
[root@localhost kingbase]# unzip  kdb-7.1.2.0363-release-Linux-x86_64-installer-build0032.zip
[root@localhost kingbase]# su - kingbase
[kingbase@localhost ~]$ cd /home/kingbase/
[kingbase@localhost ~]$ ls
kdb-7.1.2.0363-release-Linux-x86_64-installer-build0032.zip  setup
license_ee_7.1.2_企业版180L64.dat                            setup.sh
[kingbase@localhost ~]$ mkdir /home/kingbase/kingbaseES
[root@localhost ~]# xhost +
access control disabled, clients can connect from any host
[root@localhost ~]# xclock    出现小时中则正常
[kingbase@localhost ~]$ ./setup.sh
Now launch installer...
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
 
Launching installer...

 


 

这里选择完全安装

wKiom1S_I_yA5-ESAAImWzFfVOQ378.jpg




证书选择

wKiom1S_JJGBUeNgAALoiA6gaYE911.jpg




 

确认后开始安装,期间会提示远程账号,默认krms,密码krms,这里直接下一步

 wKiom1S_JKTxN6tqAAK5MTRSfM4082.jpg


 

选择完成

wKiom1S_JMDjou9NAANI2CHyqRE060.jpg

 

切换到root用户执行Root.shLinux特有步骤)

[kingbase@localhost ~]$ su -
口令:
[root@localhost kingbaseES]# cd /home/kingbase/kingbaseES/Install/
[root@localhost Install]# ls
Root.sh  servicemgmt.sh  startup-desktop
[root@localhost Install]# ./Root.sh
Installing ODBC driver...
ODBC Driver is installed successfully!
 
Installing krms7d...
krms7d is installed successfully!
 
krms7d is starting...
starting krms[确定]
成功启动krms服务。
krms7d start successfully!
 
Installing kingbase7d...
kingbase7d is installed successfully!
 
Installing jobmgmt7d...
jobmgmt7d is installed successfully!
 
Installing kdbws7d...
kdbws7d is installed successfully!
 
kdbws7d is starting...
kdbws7d is starting[确定]
kdbws7d start successfully!
 
Starting to initialize database by kingbase ...
 
Complete.

 

 初始化数据库

wKiom1S_JdiyAE3sAAFqoLf8d5k365.jpg

wKioL1S_Jq7x7zfbAAGkJThyY1E349.jpg

wKiom1S_Jdijzny1AAERkA9B5iA283.jpg

wKioL1S_Jq7RfxKbAAEtmqfsq5Y858.jpg

wKiom1S_JdmTsy3VAAHJB2aKamQ453.jpg

wKioL1S_Jq6QadrPAAH4ovdc4Kc662.jpg

wKiom1S_JdnyJJbsAAEluJ1kBCY961.jpg

wKioL1S_Jq6iZRx5AAGC_1dubC0807.jpg

 

root检查下kingbase进程的启动情况

/etc/init.d/kingbase7d stauts


启动数据库

[kingbase@localhost ~]$ isql -U SYSTEM -W beijing TEST     //-U表示用户 -W表示密码  TEST为数据库名
欢迎使用 isql 7.1.2.0363 release 64 bit, Kingbase 交互式终端.
 
类型:  \h SQL帮助命令
       \? isql帮助命令
       \g 将之前的SQL语句发往服务器执行
       \q 退出
 
TEST=#


你可能感兴趣的:(KingbaseES,国产数据库)