电科金仓数据库V9版本Linux版本安装体验

电科金仓数据库V9版本Linux版本安装体验

前期配置忽略,请参考其他配置

复制代码
mkdir -p /data/kingbaseES/V9 /data/kingbasedata

chown -R kingbase:kingbase /data/kingbaseES/V9 /data/kingbasedata
chown -R kingbase:kingbase /data/kingbaseES
chown -R kingbase:kingbase /data/kingbasedata
chmod 755 -R /data/kingbaseES
chmod 755 -R /data/kingbasedata

cp -r * /data/kingbaseES/V9/

cd /data/kingbaseES/V9/

# mount -o loop KingbaseES_V009R001C010B0004_Lin64_install.iso /mnt/

$ ./setup.sh -i console
[22:40:32:866]Java Version: 1.8.0_202
[22:40:32:928]Now launch installer...
[22:40:33:715]Command line arguments: -console -language eng 
[22:40:35:306]================================================================================
[22:40:35:309]Welcome KingbaseES Installer
[22:40:35:309]----
[22:40:35:309] 
[22:40:35:309]Welcome to the Installation Program!
[22:40:35:309]
[22:40:35:309]This installation program is designed to provide you with a convenient and hassle-free installation experience.
[22:40:35:309]Before starting the installation, please note the following:
[22:40:35:309]
[22:40:35:309]Exit Applications:
[22:40:35:309]    We recommend closing all running applications during the installation process to ensure smooth execution of the installation program.
[22:40:35:309]    You can reopen these applications after installation is complete.
[22:40:35:309]
[22:40:35:309]Save Documents:
[22:40:35:309]    Before proceeding with installation, please make sure to save and close all open documents.
[22:40:35:309]    This precaution helps prevent data loss in case a restart is required during installation.
[22:40:35:309]
[22:40:35:309]Restart Required:
[22:40:35:309]    The installation may require a restart of your computer to complete the process.
[22:40:35:309]    Please do not worry; this step is taken to ensure the completeness and stability of the installation.
[22:40:35:309]    The installation program will notify you when a restart is necessary.
[22:40:35:309]
[22:40:35:309]Installation Preparation:
[22:40:35:309]    We suggest reviewing the system requirements and notes provided by the installation program before continuing with installation.
[22:40:35:309]    This review will help you installation and achieve the best possible experience.
[22:40:35:309]
[22:40:35:309]Thank you for choosing KingbaseES.
[22:40:35:309]If you encounter any issues or need assistance during installation, please feel free to contact our technical support team at any time.
[22:40:35:309]We wish you a pleasant and successful installation!
[22:40:35:309]
[22:40:35:309]Press [ENTER] to next, [Q] exit the program [Default: <ENTER>]
[22:41:53:711]
[22:41:53:722]================================================================================
[22:41:53:722]License Agreement
[22:41:53:722]----
[22:41:53:722] 
[22:41:53:747] 
[22:41:53:747]China Electronics Technology Kingbase (B
[22:41:53:747]eijing) Technologies Inc.
[22:41:53:747]"SOFTWARE END-USER LICENSE AGREEMENT"
[22:41:53:747]IMPORTANT-READ CAREFULLY: This End-User 
[22:41:53:747]License Agreement ("EULA") is a legal ag
[22:41:53:747]reement between you (either an individua
[22:41:53:747]l or a single entity) and China Electron
[22:41:53:747]ics Technology Kingbase (Beijing) Techno
[22:41:53:747]logies Inc.(abbreviated as Kingbase in t
[22:41:53:747]he context). The "software product" incl
[22:41:53:747]udes computer software, and may include 
[22:41:53:747]associated media, printed materials, and
[22:41:53:747] online documentation(Software product).
[22:41:53:747] This "software product" includes any up
[22:41:53:747]grade and supplemental materials to the 
[22:41:53:747]original "software product" provided by 
[22:41:53:747]Kingbase. Any software product that are 
[22:41:53:747]provided with the "software product", wh
[22:41:53:747]ich are accompanied by their own license
[22:41:53:747] agreements or terms of use are governed
[22:41:53:747] by this EULA. You agree to be bound by 
[22:41:53:747]the terms of this EULA by installing, co
[22:41:53:747]pying, downloading, accessing or otherwi
[22:41:53:747]se using the "software product". If you 
[22:41:53:747]do not agree to the terms of this EULA, 
[22:41:53:747]you may not install, copy or use the "so
[22:41:53:747]ftware product".
[22:41:53:747] 
[22:41:53:747]SOFTWARE PRODUCT LICENSE
[22:41:53:747] 
[22:41:53:747]The "software product" is protected by c
[22:41:53:747]opyright laws, international copyright t
[22:41:53:747]reaty and other intellectual property la
[22:41:53:747]ws and treaties.
[22:41:53:747] 
[22:41:53:747]The "software product" is licensed to us
[22:41:53:747]e, not sold.
[22:41:53:747] 
[22:41:53:747]1. GRANT OF LICENSE. As long as you foll
[22:41:53:747]ow this EULA, Kingbase grants you the fo
[22:41:53:747]--more(Press [SPACE] to turn pages)--
[22:43:01:437]llowing non-exclusive, non-transitive ri
[22:43:01:437]ghts:
[22:43:01:437] 
[22:43:01:437]APPLICATION SOFTWARE. You can use the so
[22:43:01:437]ftware in locations as agreed in the rel
[22:43:01:437]ated contract. The usage is restricted b
[22:43:01:437]y the quantity of the purchased and the 
[22:43:01:437]type of the license (as agreed in the co
[22:43:01:437]ntract). If the license type has no spec
[22:43:01:437]ial specification, you can only install,
[22:43:01:437] use, access, display, run or use other 
[22:43:01:437]methods to interact(run) with one copy o
[22:43:01:437]f this "software product" (or any previo
[22:43:01:437]us versions on the same operating system
[22:43:01:437]) on a single computer, workstation, han
[22:43:01:437]dheld computer, smart phone or other ele
[22:43:01:437]ctronic device ("computer").
[22:43:01:437] 
[22:43:01:437]RESERVATION OF RIGHTS. Except for the sp
[22:43:01:437]ecific statements in this EULA, Kingbase
[22:43:01:437] reserves all rights not expressly grant
[22:43:01:437]ed to you. Kingbase reserves the right t
[22:43:01:437]o interpret the content of the agreement
[22:43:01:437].
[22:43:01:437] 
[22:43:01:437]2. LIMITATIONS AND OTHER RIGHT
[22:43:01:437] 
[22:43:01:437]LIMITATION ON TRANSFER. Under any condit
[22:43:01:437]ion, without the written permission of K
[22:43:01:437]ingbase, you may not transfer this licen
[22:43:01:437]se and any usage permission under this l
[22:43:01:437]icense.
[22:43:01:437] 
[22:43:01:437]NOT FOR RESALE SOFTWARE. If this "softwa
[22:43:01:437]re product" is identified as "Not For Re
[22:43:01:437]sale", it may not be sold or otherwise t
[22:43:01:437]ransferred for value, or used for any pu
[22:43:01:437]rpose other than demonstration, test or 
[22:43:01:437]evaluation, no matter what else is state
[22:43:01:437]d in this EULA.
[22:43:01:437] 
[22:43:01:437]--more(Press [SPACE] to turn pages)--
[22:43:03:551]LIMITATIONS ON REVERSE ENGINEERING, DECO
[22:43:03:551]MPILATION, AND DISASSEMBLY. You may not 
[22:43:03:551]reverse engineer, decompile, or disassem
[22:43:03:551]ble the "software product", except and o
[22:43:03:551]nly to the extent that such activity is 
[22:43:03:551]expressly permitted by applicable law no
[22:43:03:551]t with standing this limitation.
[22:43:03:551] 
[22:43:03:551]TRADEMARKS. This EULA does not grant you
[22:43:03:551] any rights in connection with any trade
[22:43:03:551]marks or service marks of Kingbase.
[22:43:03:551] 
[22:43:03:551]NO RENTAL. You may not rent, lease or le
[22:43:03:551]nd the "software product" to others.
[22:43:03:551] 
[22:43:03:551]EXPORT LIMITATION. You admit that the "s
[22:43:03:551]oftware product" is governed by the expo
[22:43:03:551]rt laws of People's Republic of China. Y
[22:43:03:551]ou agree to obey all the international a
[22:43:03:551]nd domestic laws applicable to this "sof
[22:43:03:551]tware product", including "Foreign Trade
[22:43:03:551] Law of the People's Republic of China",
[22:43:03:551] and other restrictions and regulations 
[22:43:03:551]issued by the Chinese government related
[22:43:03:551] to software exportation.
[22:43:03:551] 
[22:43:03:551]PRODUCT SUPPORT. Kingbase provides you t
[22:43:03:551]he support service related to the softwa
[22:43:03:551]re product ("support service"), but the 
[22:43:03:551]specific content of the support service 
[22:43:03:551]is limited by related contract. Kingbase
[22:43:03:551] reserves the right to charge the suppor
[22:43:03:551]t service. The usage of support service 
[22:43:03:551]is restricted by the policies and plans 
[22:43:03:551]in the user's manual, online document an
[22:43:03:551]d/or other Kingbase provided materials. 
[22:43:03:551]Any supplemental software code provided 
[22:43:03:551]to you should be treated as a part of th
[22:43:03:551]e "software product", and has to comply 
[22:43:03:551]the terms and conditions in this EULA. A
[22:43:03:551]s for the technical information you prov
[22:43:03:551]--more(Press [SPACE] to turn pages)--
[22:43:07:815]ided to Kingbase as a part of the suppor
[22:43:07:815]t service, Kingbase may commercialize it
[22:43:07:815], including product support and developm
[22:43:07:815]ent. Kingbase will not mention you indiv
[22:43:07:815]idually when using this technical inform
[22:43:07:815]ation.
[22:43:07:815] 
[22:43:07:815]TERMINATION. Without prejudice to other 
[22:43:07:815]rights, Kingbase may terminate this EULA
[22:43:07:815] if you fail to comply with the terms an
[22:43:07:815]d conditions of this EULA. In such event
[22:43:07:815], you must destroy all copies of the "so
[22:43:07:815]ftware product" and all of its component
[22:43:07:815] parts.
[22:43:07:815] 
[22:43:07:815]3. UPGRADES. If the "software product" i
[22:43:07:815]s labeled as an upgrade, you must be pro
[22:43:07:815]perly licensed to use a product identifi
[22:43:07:815]ed by Kingbase as being eligible for the
[22:43:07:815] upgrade in order to use the "software p
[22:43:07:815]roduct". Kingbase reserves the right to 
[22:43:07:815]charge the upgrade version or upgrade. "
[22:43:07:815]software product" labeled as an upgrade 
[22:43:07:815]replaces and/or supplements the Eligible
[22:43:07:815] Product which you are qualified to use.
[22:43:07:815] You may use the resulting upgraded prod
[22:43:07:815]uct only in accordance with the terms of
[22:43:07:815] this EULA. If the "software product" is
[22:43:07:815] an upgrade of a component of a package 
[22:43:07:815]of software programs that you licensed a
[22:43:07:815]s a single product, the "software produc
[22:43:07:815]t" may be used and transferred only as p
[22:43:07:815]art of that single product package and m
[22:43:07:815]ay not be separated for use on more than
[22:43:07:815] one computer.
[22:43:07:815] 
[22:43:07:815]4. INTELLECTUAL PROPERTY. The ownership,
[22:43:07:815] copyright and other intellectual proper
[22:43:07:815]ty of the "software product" (including 
[22:43:07:815]but not limited to the picture, photo, a
[22:43:07:815]nimation, video, recordings, music, text
[22:43:07:815]--more(Press [SPACE] to turn pages)--
[22:43:08:583] and supplemental programs contained in 
[22:43:08:583]the "software product"), enclosed printe
[22:43:08:583]d materials and any copies of the "softw
[22:43:08:583]are product", is owner by Kingbase and i
[22:43:08:583]ts suppliers. The ownership and intellec
[22:43:08:583]tual property accessed by this "software
[22:43:08:583] product" belongs to the owner of the co
[22:43:08:583]ntents, and may be protected by copyrigh
[22:43:08:583]t laws, and other intellectual property 
[22:43:08:583]laws and treaties. This EULA does not gr
[22:43:08:583]ant you the right to use these contents.
[22:43:08:583] If this "software product" include docu
[22:43:08:583]ments only provided electronically, you 
[22:43:08:583]can print one copy of the electronic doc
[22:43:08:583]uments. You may not remove the copyright
[22:43:08:583] declaration from the software, and ensu
[22:43:08:583]res that the copyright declaration is co
[22:43:08:583]pied for the replica (whole or part) of 
[22:43:08:583]the "software product". You agree to sto
[22:43:08:583]p any forms of illegal copying this soft
[22:43:08:583]ware and the documents. You cannot copy 
[22:43:08:583]the enclosed printed materials in this "
[22:43:08:583]software product".
[22:43:08:583] 
[22:43:08:583]5. MULTIMEDIA SOFTWARE. You may obtain t
[22:43:08:583]he "software product" through multiple m
[22:43:08:583]edias. No matter the type and size of th
[22:43:08:583]e media you receive, you can only use th
[22:43:08:583]e media which is applicable to your sing
[22:43:08:583]le computer. You cannot run a different 
[22:43:08:583]media on another computer. Except for th
[22:43:08:583]e part as in "permanent transfer" of the
[22:43:08:583] "software product (as stated above), yo
[22:43:08:583]u cannot transfer the other medias to an
[22:43:08:583]other user via rent, lease or lend.
[22:43:08:583] 
[22:43:08:583]6. BACKUP COPY. After installing a copy 
[22:43:08:583]of the "software product" according to t
[22:43:08:583]he EULA, you may keep the original media
[22:43:08:583] by which Kingbase provided you the "sof
[22:43:08:583]tware product" solely for backup or arch
[22:43:08:583]--more(Press [SPACE] to turn pages)--
[22:43:11:455]ival purpose. If original media is neede
[22:43:11:455]d to use the "software product", you may
[22:43:11:455] make one back-up copy solely for your b
[22:43:11:455]ackup or archival purposes. Except as ex
[22:43:11:455]pressly provided in this EULA, you may n
[22:43:11:455]ot otherwise make copies of the software
[22:43:11:455], including the printed materials accomp
[22:43:11:455]anying the software. Authorized copy sho
[22:43:11:455]uld be kept in secured environments.
[22:43:11:455] 
[22:43:11:455]7. CONFIDENTIALITY. "Confidential inform
[22:43:11:455]ation" includes program(including the me
[22:43:11:455]thods and concepts used in the program) 
[22:43:11:455]and any information that Kingbase identi
[22:43:11:455]fies as exclusive or confidential. Unles
[22:43:11:455]s expressly granted by this EULA, you ma
[22:43:11:455]y not expose or provide the confidential
[22:43:11:455] information by other methods to a third
[22:43:11:455] party and any employees to whom you do 
[22:43:11:455]not grant the usage in their business. Y
[22:43:11:455]ou should take any reasonable, necessary
[22:43:11:455] measures to ensure that the program or 
[22:43:11:455]any component of the software is not exp
[22:43:11:455]osed or provided by other methods to a t
[22:43:11:455]hird party.
[22:43:11:455] 
[22:43:11:455]If you acquired the Kingbase product in 
[22:43:11:455]People's Republic of China, the followin
[22:43:11:455]g limited warranty applies to you.
[22:43:11:455] 
[22:43:11:455]1. LIMITED WARRANTY.
[22:43:11:455]As long as you have valid license, Kingb
[22:43:11:455]ase warrants that: (1) The "software pro
[22:43:11:455]duct" will perform substantially in acco
[22:43:11:455]rdance with the accompanying materials f
[22:43:11:455]or a period of ninety (90) days after th
[22:43:11:455]e date of receipt. (2) The provided supp
[22:43:11:455]ort will perform substantially in accord
[22:43:11:455]ance with the accompanying materials, an
[22:43:11:455]d Kingbase engineers will try their best
[22:43:11:455] to solve any problems permitted by comm
[22:43:11:455]--more(Press [SPACE] to turn pages)--
[22:43:12:912]ercial range. If the product is not comp
[22:43:12:912]liant to the warranty, Kingbase will fix
[22:43:12:912], replace the product or refund you for 
[22:43:12:912]the product, and you have to return the 
[22:43:12:912]"software product" to Kingbase along wit
[22:43:12:912]h the invoice held by you. If the malfun
[22:43:12:912]ction of the product is due to accident,
[22:43:12:912] abuse or misuse, then the warranty is n
[22:43:12:912]ot effective. The replaced product has t
[22:43:12:912]he residual of the original warranty per
[22:43:12:912]iod, or thirty days, whichever is longer
[22:43:12:912]. To the maximum extent permitted by app
[22:43:12:912]licable law, except for the above warran
[22:43:12:912]ty, all expressed or implied warranties,
[22:43:12:912] conditions and other terms are denied b
[22:43:12:912]y Kingbase. All implicit warranties whic
[22:43:12:912]h cannot be excluded are limited to 90 d
[22:43:12:912]ays or the minimum period allowed by the
[22:43:12:912] appropriate laws, whichever is longer.
[22:43:12:912] 
[22:43:12:912]2. LIMITATION OF LIABILITY
[22:43:12:912]To the maximum extent permitted by appli
[22:43:12:912]cable law, except for the above warranty
[22:43:12:912], Kingbase and its suppliers shall not b
[22:43:12:912]e liable for any damages whatsoever (inc
[22:43:12:912]luding without limitation, damages for l
[22:43:12:912]oss of business profits, business interr
[22:43:12:912]uption, loss of business information or 
[22:43:12:912]other pecuniary loss) arising out of the
[22:43:12:912] use or inability to use the "software p
[22:43:12:912]roduct", even if Kingbase and its suppli
[22:43:12:912]ers have been advised of the possibility
[22:43:12:912] of such damages. In any case Kingbase a
[22:43:12:912]nd any of its suppliers' entire liabilit
[22:43:12:912]y under any provision of this EULA shall
[22:43:12:912] be limited to the amount actually paid 
[22:43:12:912]by you for the "software product" or RMB
[22:43:12:912] 10.00 Yuan, which ever is higher. Howev
[22:43:12:912]er, if you have signed support agreement
[22:43:12:912] with Kingbase, all Kingbase's liability
[22:43:12:912] of the support service will be defined 
[22:43:12:912]--more(Press [SPACE] to turn pages)--
[22:43:13:455]by that agreement.
[22:43:13:455] 
[22:43:13:455]GOVERNING LAWS
[22:43:13:455]This EULA is governed by the laws of the
[22:43:13:455] People's Republic of China (including b
[22:43:13:455]ut not restricted to "Copyright Law of t
[22:43:13:455]he People's Republic of China", "Regulat
[22:43:13:455]ions for the Protection of Computer Soft
[22:43:13:455]ware of the People's Republic of China",
[22:43:13:455] "Trademark Law of the People's Republic
[22:43:13:455] of China", "Patent Law of the People's 
[22:43:13:455]Republic of China", "Anti-Unfair Competi
[22:43:13:455]tion Law of the People's Republic of Chi
[22:43:13:455]na", etc.). In respect of any dispute or
[22:43:13:455] claim which may arise by this EULA or t
[22:43:13:455]he violation of the EULA, you consent to
[22:43:13:455] the jurisdiction of the federal and pro
[22:43:13:455]vincial courts sitting in the location o
[22:43:13:455]f Kingbase. If Kingbase's intellectual p
[22:43:13:455]roperty is violated, the above terms do 
[22:43:13:455]not restrict Kingbase to apply remedial 
[22:43:13:455]measures from the legitimate court with 
[22:43:13:455]governing rights.
[22:43:13:455] 
[22:43:13:455]China Electronics Technology Kingbase (B
[22:43:13:455]eijing) Technologies Inc.
[22:43:13:455] 
[22:43:13:455]Add: 2 layer, E block, Information Indus
[22:43:13:455]trial Park, Rongda Road 7, Chaoyang Dist
[22:43:13:455]rict, Beijing, 100102 China
[22:43:13:455]Tel: 86-10-5885 1118
[22:43:13:455]Http: //www.kingbase.com.cn
[22:43:13:455]National Hotline: 400-601-1188
[22:43:13:455]Support E-mail: support@kingbase.com.cn
[22:43:13:455]
[22:43:13:455]Press [1] Accept, [2] Refuse, [3] Redisplay:
[22:43:21:934]1
[22:43:21:940]================================================================================
[22:43:21:940]Add Licence
[22:43:21:940]----
[22:43:21:940] 
[22:43:21:940]If no license file is selected, the software will use its built-in trial version license.
[22:43:21:940]Notice: Please update the license file promptly within its validity period.
[22:43:21:940] 
[22:43:21:940]Please enter the path to the license file: [Default:  ]
[22:44:38:141]/data/soft/license_4_V009R001C-企业版-180天.dat
[22:44:38:149]License File Content
[22:44:38:149]--------------------------------------------------
[22:44:38:259]License序列号  启用  0E0BAA7A-C92E-11F0-B8A6-
[22:44:38:259]000C29CBE49F
[22:44:38:259]生产日期  启用  2025-11-24
[22:44:38:259]产品名称  启用  KingbaseES
[22:44:38:259]产品线名称  启用  数据库
[22:44:38:259]产品版本号  启用  V009R001C
[22:44:38:259]浮动基准日期  启用  
[22:44:38:259]细分版本  启用  企业版
[22:44:38:268]用户名称  启用  官方网站试用授权
[22:44:38:268]项目名称  启用  官方网站试用授权
[22:44:38:268]容器名称  禁用  禁用
[22:44:38:268]MAC地址  启用  00:00:00:00:00:00
[22:44:38:268]有效期间  启用  180
[22:44:38:268]最大连接数  启用  0
[22:44:38:268]Data Watch  启用  0
[22:44:38:268]RWC  启用  0
[22:44:38:268]RAC  启用  0
[22:44:38:268]TDC  启用  0
[22:44:38:268]Sharding  启用  0
[22:44:38:268]ADC  禁用  0
[22:44:38:268]多租户  启用  0
[22:44:38:268]绑定核心  启用  0
[22:44:38:268]并行导入  启用  0
[22:44:38:268]PLSQL编译执行  启用  0
[22:44:38:268]分区并发优化  启用  0
[22:44:38:268]全局计划缓存  启用  0
[22:44:38:268]优化器增强  启用  0
[22:44:38:268]位图索引  启用  0
[22:44:38:268]物化视图  启用  0
[22:44:38:268]OLAP函数  启用  0
[22:44:38:268]时序场景性能增强包  启用  0
[22:44:38:268]分区  启用  0
[22:44:38:268]关系模型  启用  0
[22:44:38:268]GIS模型  启用  0
[22:44:38:268]向量模型  启用  0
[22:44:38:268]全文本模型  启用  0
[22:44:38:268]数据库模式  启用  postgresql,oracle,mysql,sqlse
[22:44:38:268]rver
[22:44:38:268]KDMS  启用  0
[22:44:38:268]KDTS  启用  0
[22:44:38:268]KStudio  启用  0
[22:44:38:268]KOPS  启用  0
[22:44:38:268]外部数据源  启用  0
[22:44:38:268]快速加载  启用  0
[22:44:38:268]日志解析  启用  0
[22:44:38:268]KWR  启用  0
[22:44:38:268]KSH  启用  0
[22:44:38:268]KDDM  启用  0
[22:44:38:268]SQL监控  启用  0
[22:44:38:268]SQL调优建议器  启用  0
[22:44:38:268]HINT  启用  0
[22:44:38:268]Query Mapping  启用  0
[22:44:38:268]集群配置工具  启用  0
[22:44:38:268]集群网络故障容错  启用  0
[22:44:38:268]一键集群操作  启用  0
[22:44:38:268]三权分立  启用  0
[22:44:38:268]强制访问控制  启用  0
[22:44:38:268]透明加密  启用  0
[22:44:38:268]列加密  启用  0
[22:44:38:268]加密通讯协议  启用  0
[22:44:38:268]审计  启用  0
[22:44:38:268]licenseVersion  启用  400
[22:44:38:268]密码复杂度  启用  0
[22:44:38:268]用户锁定  启用  0
[22:44:38:268]恢复到指定时间点  启用  0
[22:44:38:268]日志压缩  启用  0
[22:44:38:268]并行备份还原  启用  0
[22:44:38:268]并行DQL  启用  0
[22:44:38:268]
[22:44:38:268]Press [N] to next, Press [P] to previous, Press [Q] exit the program [Default: N]
[22:45:18:509]N
[22:45:18:514]================================================================================
[22:45:18:514]Installation Path
[22:45:18:514]----
[22:45:18:514] 
[22:45:18:514]Please select an installation path.
[22:45:18:514]Default installation path: /opt/Kingbase/ES/V9
[22:45:18:514] 
[22:45:18:514]Enter an absolute path or press ENTER to accept the default path. [Default: /opt/Kingbase/ES/V9]
[22:45:42:502]/data/kingbaseES/V9
[22:45:42:504]--------------------------------------------------------------------------------------------------------
[22:45:42:504]The target directory already exists! Do you confirm to install here, which may overwrite existing files?
[22:45:42:504]
[22:45:42:504]Please Select
[22:45:42:504]--------------------------------------------------------------------------------------------------------
[22:45:42:504]Press [Y] Yes, [N] No:  [Default: Y]
[22:45:52:997]Y
[22:45:52:998]Press [N] to next, Press [P] to previous, Press [Q] exit the program [Default: N]
[22:45:55:963]N
[22:45:55:963]================================================================================
[22:45:55:963]Installation Set
[22:45:55:963]----
[22:45:55:963] 
[22:45:55:963]  1- Full
[22:45:55:963]    These are the most frequently used application components, recommended for most users.
[22:45:55:963]
[22:45:55:963]  2- Server
[22:45:55:963]    Install only the database service.
[22:45:55:963]
[22:45:55:963]  3- Custom
[22:45:55:963]    Select this option to customize which components you want to install.
[22:45:55:963]
[22:45:55:963]Input number of set or press [ENTER] accept default value [Default: 1]
[22:46:07:247]1
[22:46:07:256]================================================================================
[22:46:07:256]Installation Preview
[22:46:07:256]----
[22:46:07:256] 
[22:46:07:256]Installation Path:
[22:46:07:256]    /data/kingbaseES/V9
[22:46:07:256]
[22:46:07:256]Installed Packs:
[22:46:07:256]    Boot
[22:46:07:256]    Product Manual
[22:46:07:256]    Database Operations Tool
[22:46:07:256]    Server
[22:46:07:256]    High Availability
[22:46:07:256]    Interface
[22:46:07:256]    DeployTool
[22:46:07:256]    KDTS
[22:46:07:256]    KStudio(CS)
[22:46:07:256]
[22:46:07:256]UnInstall Packs:
[22:46:07:256]
[22:46:07:256]
[22:46:07:256]Disk Size(For Install):
[22:46:07:280]  Need Size: 3,710.93 MB, Available Size: 840.9 GB
[22:46:07:280]
[22:46:07:280]Press [N] to next, Press [P] to previous, Press [Q] exit the program [Default: N]
[22:46:18:667]N
[22:46:18:667]================================================================================
[22:46:18:667]Installation Progress
[22:46:18:667]----
[22:46:18:667] 
[22:46:18:741]====================
[22:46:18:741]Installation started
[22:46:18:741]Framework: 6.0.0-SNAPSHOT-b32da3 (kInstaller)
[22:46:18:741]Platform: linux,version=3.10.0-1127.el7.x86_64,arch=x64,symbolicName=null,javaVersion=1.8.0_202
[22:46:18:918][ Starting to unpack ]
[22:46:18:918][ Processing package: install (1/9) ]
[22:46:22:757][ Processing package: doc (2/9) ]
[22:46:25:029][ Processing package: Suptools (3/9) ]
[22:46:25:058][ Processing package: Server (4/9) ]
[22:46:37:575][ Processing package: KingbaseHA (5/9) ]
[22:47:09:848][ Processing package: Interface (6/9) ]
[22:47:09:848][ Processing package: DeployTool (7/9) ]
[22:47:09:848][ Processing package: KDTS (8/9) ]
[22:47:20:058][ Processing package: KStudio (9/9) ]
[22:47:26:290][ Unpacking finished ]
[22:47:26:290]Installation completed
[22:47:26:301][ Starting processing ]
[22:47:26:301]Starting process modifyexecute (1/3)
[22:47:26:305]Starting process modifyFiles (2/3)
[22:47:26:306]The beginning of Repair File Contents.
[22:47:26:306]Running modifyFilesValue.sh...
[22:47:26:318]Repair deploy.ini...Complete.
[22:47:26:320]Repair File Contents Finish. 
[22:47:26:320]
[22:47:26:320]
[22:47:26:320]Starting process packtools (3/3)
[22:47:26:678]Installation Success 100%
[22:47:26:685]================================================================================
[22:47:26:685]Shortcut
[22:47:26:685]----
[22:47:26:685] 
[22:47:26:787]----------------------------------
[22:47:26:787]Create shortcuts in the Start-Menu
[22:47:26:787]----------------------------------
[22:47:26:787]Press [Y] Yes, [N] No:  [Default: Y]
[22:47:49:974]Y
[22:47:49:974]Shortcut Owner: 1: Current user; 2: All User [Default: 1]
[22:47:57:478]1
[22:47:57:478]Select a Program Group for the Shortcuts: [Default: KingbaseESV009R001]
[22:48:28:718]
[22:48:28:783]================================================================================
[22:48:28:783]Installation Completed!
[22:48:28:783]----
[22:48:28:783] 
[22:48:28:783]
[22:48:28:783]  Installation Completed!
[22:48:28:783]
[22:48:28:783]  Target Path:
[22:48:28:783]    /data/kingbaseES/V9
[22:48:28:783]
[22:48:28:783]  
[22:48:28:783]    Boot:/data/kingbaseES/V9/KESRealPro/V009R001C010/install
[22:48:28:783]    Product Manual:/data/kingbaseES/V9/KESRealPro/V009R001C010/doc
[22:48:28:783]    Database Operations Tool:/data/kingbaseES/V9/KESRealPro/V009R001C010/SupTools
[22:48:28:783]    Server:/data/kingbaseES/V9/KESRealPro/V009R001C010/Server
[22:48:28:783]    High Availability:/data/kingbaseES/V9/KESRealPro/V009R001C010/KingbaseHA
[22:48:28:783]    Interface:/data/kingbaseES/V9/KESRealPro/V009R001C010/Interface
[22:48:28:783]    DeployTool:/data/kingbaseES/V9/KESRealPro/V009R001C010/ClientTools/guitools/DeployTools
[22:48:28:783]    KDTS:/data/kingbaseES/V9/KESRealPro/V009R001C010/ClientTools/guitools/KDts
[22:48:28:783]    KStudio(CS):/data/kingbaseES/V9/KESRealPro/V009R001C010/ClientTools/guitools/KStudio
[22:48:28:783]
[22:48:28:783]
[22:48:28:785]To initialize the database, please start Kconsole:
[22:48:28:785]/data/kingbaseES/V9/Server/bin/kconsole.sh
[22:48:28:785]Manually initialize database:
[22:48:28:785]/data/kingbaseES/V9/Server/bin/initdb -U "system" -W -D "/data/kingbaseES/V9/data"
[22:48:28:786][ Writing the uninstaller data ... ]
[22:48:30:110][ Command-line installation completed. ]

至此,数据库软件安装完成,根据提示初始化数据库。

新版本需要使用kconsole图形化初始化。










复制代码
# /home/kingbase/.kes_dbca/root-service-kes_instance.sh 
waiting for server to shut down.... done
server stopped
Starting KingbaseES V9: 
waiting for server to start.... done
server started
KingbaseES V9 started successfully


配置环境变量

/data/kingbaseES/V9/Server/bin

复制代码
$ kingbase -V
kingbase (KingbaseES) V009R001C010

$ ksql test system
License Type: 企业版.
Type "help" for help.

test=# \l
                                     List of databases
   Name    | Owner  | Encoding |   Collate   |    Ctype    | Iculocale | Access privileges 
-----------+--------+----------+-------------+-------------+-----------+-------------------
 kingbase  | system | UTF8     | en_US.UTF-8 | en_US.UTF-8 |           | 
 security  | system | UTF8     | en_US.UTF-8 | en_US.UTF-8 |           | 
 template0 | system | UTF8     | en_US.UTF-8 | en_US.UTF-8 |           | =c/system        +
           |        |          |             |             |           | system=CTc/system
 template1 | system | UTF8     | en_US.UTF-8 | en_US.UTF-8 |           | =c/system        +
           |        |          |             |             |           | system=CTc/system
 test      | system | UTF8     | en_US.UTF-8 | en_US.UTF-8 |           | 
(5 rows)

test=# show sql_mode;
            sql_mode            
--------------------------------
 ONLY_FULL_GROUP_BY,ANSI_QUOTES
(1 row)

test=# 
相关推荐
ZHW_AI课题组9 小时前
基于PCA与HOG特征融合的热轧钢带缺陷检测
人工智能·python·机器学习
MediaTea9 小时前
DL:扩散模型的基本原理与 PyTorch 实现
人工智能·pytorch·python·深度学习·机器学习
programhelp_9 小时前
Ramp OA 四关全过,CodeSignal OOD 完整复盘
linux·前端·python
Chasing__Dreams9 小时前
大模型应用开发--0--知识点
python
清风一徐9 小时前
Python文件处理
开发语言·python
nbsaas-boot9 小时前
Drools 规则引擎实战:原理、规则语法、数据库动态规则与企业级玩法
java·数据库·python
_Emma_9 小时前
【Linux网络】Linux网络协议栈问题汇集
linux·网络·网络协议
minji...9 小时前
Linux 网络基础之数据链路层(十三)认识以太网,认识MAC地址和MTU,局域网(以太网)通信原理
linux·网络·以太网·交换机·数据链路层·mac地址·局域网通信
承渊政道9 小时前
【MySQL数据库学习】(MySQL数据库基础)
数据库·学习·mysql·ubuntu·bash·数据库架构·数据库系统
0pen19 小时前
android-sqlite3:从官方 SQLite 源码自动构建 Android 可用的 sqlite3
android·数据库·sqlite