1. Download mirror
Download link: Renda Jincang - to become the world's leading provider of database products and services
2. Install jdk (linux version) above version 1.8
2.1. Download link
2.2. Unzip the installation package
tar -zxvf jdk-8u333-linux-aarch64.tar.gz
2.3. Modify environment variables
vi /etc/profile
2.4. Add the following configuration information at the end of the profile
JAVA_HOME=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 the configuration file
source /etc/profile
2.6. Verify the installation results
java -version
Get the following result
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. Create a new user kingbase
useradd kingbase
passwd kingbase
3.2. Unzip the installation package in the /home/kingbase directory
Create a KindbaseES installation file directory under this directory and grant permissions.
chown -R kingbase:kingbase /home/kingbase/KingbaseES
3.3. Mount directory
Still as the root user, enter the following command in the Kingbase installation package directory
mount KingbaseES_V008R006C005B0023_Lin64_install.iso /home/kingbase/KingbaseES
Generate setup directory and setup.sh script
3.4. Enter the KingbaseES directory
switch kingbase user
sh setup.sh
Later, you will be asked to enter the installation path and license path, just copy and paste in advance, the database name (default system) and password (root is optional), and other input Enter and Y, all the way to default.
parameter settings:
Set the initialization database parameters as follows:
• The default port is: 54321 (can be customized)
• The default account is :system (customizable)
• Password (custom)
• The default character set encoding is: UTF8 (optional GBK, GB18030)
• The default database compatibility mode is: ORACLE (PG is optional)
• Default case sensitivity is: yes (optional no)
• The default data block size is: 8k (optional 16k, 32k)
3.5. Execute root.sh
Switch to the root user and run <installation directory>/install/script/root.sh.
3.6. Verification
The installation directory should have the following files: