將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...
這里選擇完全安裝
證書選擇
確認后開始安裝,期間會提示遠程賬號,默認krms,密碼krms,這里直接下一步
選擇完成
切換到root用戶執行Root.sh(Linux特有步驟)
[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.
初始化數據庫
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=#
本文出自 “歲伏” 博客,請務必保留此出處http://suifu.blog.51cto.com/9167728/1606503












