当前位置:网站首页>Install the gold warehouse database of NPC

Install the gold warehouse database of NPC

2022-07-04 22:44:00 Running white gull

1. Download mirroring

Download link : Renmin Jincang - Become the world's leading provider of database products and services

2. install 1.8 Version above jdk(linux edition )

2.1. Download link

Java Downloads | Oracle

2.2. Unzip the installation package

tar -zxvf jdk-8u333-linux-aarch64.tar.gz

 2.3. Modify environment variables

vi /etc/profile

2.4. stay profile Finally, add the following configuration information

JAVA_HOME= It corresponds to your own jdk Storage path

export JAVA_HOME=/usr/local/jdk1.8.0_333     
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib:$CLASSPATH
export JAVA_PATH=${JAVA_HOME}/bin:${JRE_HOME}/bin
export PATH=$PATH:${JAVA_PATH}

2.5. Refresh profile

source /etc/profile

2.6. Verify installation results

java -version

The results are as follows  

openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)

3. install Kingbase

3.1. A new user kingbase

useradd kingbase
passwd kingbase

3.2.  stay /home/kingbase Extract the installation package from the directory

Create... Under this directory KindbaseES Installation file directory , And give authority .

chown -R kingbase:kingbase /home/kingbase/KingbaseES

3.3. Mount Directory

Still root user , stay Kingbase Under the installation package directory , Enter the following command

mount KingbaseES_V008R006C005B0023_Lin64_install.iso /home/kingbase/KingbaseES

Generate setup Contents and setup.sh Script

3.4. Get into KingbaseES Catalog

Switch kingbase user

sh setup.sh

Then let you enter the installation path and License route , Copy and paste in advance , Database name ( Default system) And password ( Optional root) Other inputs Enter and Y, All the way to default .

Parameter setting :

Set the following initialization database parameters :

• The default port is :54321( Customizable )

• The default account is :system( Customizable )

• password ( Customize )

• The default character set encoding is :UTF8( Optional GBK、GB18030)

• The default database compatibility mode is :ORACLE( Optional PG)

• The default case sensitivity is : yes ( Optional no )

• The default block size is :8k( Optional 16k、32k)

 3.5. perform root.sh

Switch to root user , function < The installation directory >/install/script/root.sh .

3.6. verification

There should be the following files in the installation directory :

 

原网站

版权声明
本文为[Running white gull]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/185/202207042204230910.html