1 系统要求
1.1 硬件要求
1.2 操作系统要求
GBase 8s 产品需要部署于 UOS V20 操作系统,鲲鹏920芯片上,建议以 Software
Development Workstation 模式安装。
2 安装及配置数据库服务器
2.1 安装准备
1.创建 gbasedbt 组和用户
在启动安装过程之前,必须准备系统以确保您有足够权限来执行安装。
您必须以 root 用户身份登录才能执行许多与安装有关的任务。同时要求服务器操作系统
上具有 gbasedbt 组和 gbasedbt 用户。
登录系统后可以执行以下命令创建 gbasedbt 组和 gbasedbt 用户:
[root@localhost ~]# groupadd gbasedbt
[root@localhost ~]# useradd -g gbasedbt gbasedbt
为 gbasedbt 用户设置密码,密码为 gbasedbt:
[root@localhost ~]# passwd gbasedbt
2.创建 GBase 8s 数据库安装目录
GBase 8s 数据库缺省的安装目录为 /opt/GBASE/gbase,并且此文件夹必须为空。
[root@localhost ~]# mkdir -p /opt/GBASE/gbase
[root@localhost ~]# chown gbasedbt:gbasedbt /opt/GBASE/gbase
3.上传并解压安装包
将产品安装光盘插入光驱,取出光盘中 Setup 目录下的文件,复制到本地目录 /opt。
Setup目录中包含 GBase 8s 产品的安装包文件,该文件通常是形如
GBase8sV8.8_AEE_3.1.0_1_UOS_KP920.tar 的压缩文件。
在本手册中,以 GBase8sV8.8_AEE_3.1.0_1_UOS_KP920.tar为例进行安装说明。
解压该 tar 包,解压命令为:tar –vxf filename.tar。
[root@localhost ~]# cd /opt
[root@localhost opt]# tar -vxf
GBase8sV8.8_AEE_3.1.0_1_UOS_KP920.tar
ids_install
onsecurity
ids.properties
.gbase.properties
2.2 安装方法
2.2.1 典型安装
您可以通过使用典型安装设置来快速安装 GBase 8s 及其所有功能部件。
缺省情况下,典型安装设置将创建为您的主机环境配置的即时可用的数据库服务器实例。
但是,您可以禁用安装应用程序中的创建服务器实例选项。
以 root 身份登录,进入解压目录,执行要安装的产品的安装脚本 ids_install,即可进行安
装,具体命令如下:
[root@localhost /]# cd /opt
[root@localhost opt]# sh ids_install
执行安装过程中,安装程序先检查系统环境,如果系统没有安装JDK,那么安装包会先解
压JDK,自动安装到该系统中。如果已经安装,那么将显示产品的授权条款,并等待确认
是否接受这些版权条款。
具体安装过程示例如下:
[root@localhost opt]# sh ids_install
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...
==========================================================================
=====
GBase Software Bundle (created with InstallAnywhere)
--------------------------------------------------------------------------
-----
Preparing CONSOLE Mode Installation...
==========================================================================
=====
Getting Started
---------------
This application will guide you through the installation of GBase
Software
Bundle.
Copyright General Data Corporation 2014, 2019. All rights reserved.
1. Release Notes
The Release Notes can be found in /opt/doc/ids_unix_relnotes_12.10.html.
2. Launch Information Center
Access the GBase Information Center at http://www.gbase.cn.
To Begin Installation, respond to each prompt to proceed to the next step
in
the installation.
If you want to change something on a previous step, type 'back'.
You may cancel this installation at any time by typing 'quit'.
PRESS <ENTER> TO CONTINUE:
=======================================================================
License Agreement
-----------------
Installation and Use of GBase 8s Software Bundle Requires Acceptance of
the Following License Agreement:
Thank you for choosing GBase product!
Please read carefully the following licencing agreement before installing
any
product: TIANJIN GENERAL DATA TECHNOLOGY CO. LTD. LICENSE AGREEMENT
READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED SUPPLEMENTAL
LICENSETERMS
(COLLECTIVELY "AGREEMENT") CAREFULLY BEFORE OPENING THE SOFTWAREMEDIA
PACKAGE.
BY OPENING THE SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE TERMS OF THIS
AGREEMENT. IF YOU ARE ACCESSING THE SOFTWARE ELECTRONICALLY, INDICATE
YOUR
ACCEPTANCE OF THESE TERMS. IF YOU DO NOT AGREE TO ALL THESE TERMS,
PROMPTLY
RETURN THE UNUSED SOFTWARE TO YOUR PLACE OF PURCHASE FOR A REFUND.
1. LICENSE TO USE. GeneralData grants you a non-exclusive and non[1]
transferable
license for the internal use only of the accompanying software and
documentation and any error corrections provided by
GeneralData(collectively
"Software"), by the number of users and the class of computer hardware
for
which the corresponding fee has been paid.
2. RESTRICTIONS. Software is confidential and copyrighted. Title to
Software
and all associated intellectual property rights is retained by
GeneralData
and/or its licensors. Except as specifically authorized in any
Supplemental
License Terms, you may not make copies of Software, other than a single
copy
of Software for archival purposes. Unless enforcement is prohibited by
applicable law, you may not modify,decompile, or reverse engineer
Software. You
acknowledge that Software is not designed, licensed or intended for use
in the
design,construction, operation or maintenance of any nuclear facility.
GeneralData disclaims any express or implied warranty of fitness for such
uses.No right, title or interest in or to any trademark, service mark,
logo or
trade name of GeneralData or its licensors is granted under this
Agreement.
3. DISCLAIMER OF WARRANTY. Unless specified in this agreement, all express
of
implied conditions, representations and warranties, including any implied
warranty of merchantability, fitness for aparticular purpose or
non-infringement are disclaimed, except to theextent that these
disclaimers
are held to be legally invalid.
4. LIMITATION OF LIABILITY. To the extent not prohibited by law, in no
event
will GeneralData or its licensors be liable for any lost revenue, profit
or
data, or for special, indirect, consequential,incidental orpunitive
damages,
however caused regardless of the theory of liability, arising out of or
related to the use of or inability to use software, even if GeneralData
has
been advised of the possibility of such damages.In no event will
GeneralData's
libility to you, whether incontract, tort (including negligence), or
otherwise, exceed the amount paid by you for Software under this
Agreement.
The foregoing limitations will apply even if the above stated warranty
fails
of itsessential purpose.
5. TERMINATION. This Agreement is effective until terminated. Youmay
terminate
this Agreement at any time by destroying all copies of Software. This
Agreement will terminate immediately without noticefrom GeneralData if
you
fail to comply with any provision of this Agreement.Upon Termination, you
must
destroy all copies of Software.
6. EXPORT REGULATIONS. All Software and technical data delivered underthis
Agreement are subject to US export control laws and may be subject to
export
or import regulations in other countries. You agree to comply strictly
with
all such laws and regulations and acknowledge that you have the
responsibility
to obtain such licenses to export,re-export, or import as may be required
after delivery to you.
7. CHINESE GOVERNMENT RESTRICTED. If Software is being acquired by or on
behalf
of the Chinese Government , then the Government's rights in Software and
accompanying documentation will be only as set forth in this Agreement.
8. GOVERNING LAW. Any action related to this Agreement will be governed by
Chinese law: "COPYRIGHT LAW OF THE PEOPLE'S REPUBLIC OF CHINA","PATENT
LAW OF
THE PEOPLE'S REPUBLIC OF CHINA","TRADEMARK LAW OF THE PEOPLE'S REPUBLIC
OF
CHINA","COMPUTER SOFTWARE PROTECTION REGULATIONS OF THE PEOPLE'S REPUBLIC
OF
CHINA". N