当前位置:网站首页>安装人大金仓数据库
安装人大金仓数据库
2022-07-04 22:04:00 【奔跑的白鸥】
1. 下载镜像
2. 安装1.8版本以上的jdk(linux版本)
2.1.下载链接
2.2.解压安装包
tar -zxvf jdk-8u333-linux-aarch64.tar.gz
2.3.修改环境变量
vi /etc/profile
2.4.在profile最后加上以下配置信息
JAVA_HOME=对应的是自己的jdk存放路径
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.刷新配置文件
source /etc/profile
2.6.验证安装结果
java -version
获得如下结果
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. 安装Kingbase
3.1. 新建用户kingbase
useradd kingbase
passwd kingbase
3.2. 在/home/kingbase目录下解压安装包
在该目录下建立KindbaseES安装文件目录,并赋予权限。
chown -R kingbase:kingbase /home/kingbase/KingbaseES
3.3.挂载目录
仍然是root用户,在Kingbase的安装包目录下,输入以下命令
mount KingbaseES_V008R006C005B0023_Lin64_install.iso /home/kingbase/KingbaseES
生成setup 目录和 setup.sh 脚本
3.4. 进入KingbaseES目录
切换kingbase用户
sh setup.sh
后面让你输入安装路径和License路径,提前复制好粘贴即可,数据库名(默认system)和密码(可选root)其他的输入Enter和Y,一路默认即可。
参数设置:
设置如下初始化数据库参数:
• 默认端口为:54321(可自定义)
• 默认账户为:system(可自定义)
• 密码(自定义)
• 默认字符集编码为:UTF8(可选 GBK、GB18030)
• 默认数据库兼容模式为:ORACLE(可选 PG)
• 默认大小写敏感为:是(可选否)
• 默认数据块大小为:8k(可选 16k、32k)
3.5.执行root.sh
切换到root用户,运行 < 安装目录 >/install/script/root.sh 。
3.6.验证
安装目录下应该有以下文件:
边栏推荐
- 30余家机构联合发起数字藏品行业倡议,未来会如何前进?
- Use blocconsumer to build responsive components and monitor status at the same time
- In Linux, I call odspcmd to query the database information. How to output silently is to only output values. Don't do this
- MySQL存储数据加密
- High school physics: linear motion
- AscendEX 上线 Walken (WLKN) - 一款卓越领先的“Walk-to-Earn”游戏
- Visual task scheduling & drag and drop | scalph data integration based on Apache seatunnel
- Apachecn translation, proofreading, note sorting activity progress announcement 2022.7
- idea中pom.xml依赖无法导入
- Deployment of JVM sandbox repeater
猜你喜欢
AscendEX 上线 Walken (WLKN) - 一款卓越领先的“Walk-to-Earn”游戏
[acwing] solution of the 58th weekly match
Scala下载和配置
Machine learning notes mutual information
LOGO特训营 第四节 字体设计的重要性
能源势动:电力行业的碳中和该如何实现?
Logo special training camp Section V font structure and common design techniques
Kdd2022 | what features are effective for interaction?
Embedded development: skills and tricks -- seven skills to improve the quality of embedded software code
With this PDF, we finally got offers from eight major manufacturers, including Alibaba, bytek and Baidu
随机推荐
AscendEX 上线 Walken (WLKN) - 一款卓越领先的“Walk-to-Earn”游戏
Nat. Commun.| Machine learning jointly optimizes the affinity and specificity of mutagenic therapeutic antibodies
Force buckle 3_ 383. Ransom letter
LOGO特训营 第四节 字体设计的重要性
并发网络模块化 读书笔记转
Logo special training camp section III initial creative techniques
阿里推出新品牌“瓴羊”,致力成为“数字化领头羊”
删库不必跑路!详解 MySQL 数据恢复
制作条形码的手机App推荐
Interview question 01.01 Determine whether the character is unique
About stack area, heap area, global area, text constant area and program code area
Kdd2022 | what features are effective for interaction?
都说软件测试很简单有手就行,但为何仍有这么多劝退的?
达梦数据凭什么被称为国产数据库“第一股”?
leetcode 72. Edit Distance 编辑距离(中等)
Tiktok actual combat ~ the number of comments is updated synchronously
Interview question 01.08 Zero matrix
LOGO特训营 第一节 鉴别Logo与Logo设计思路
Ascendex launched Walken (WLKN) - an excellent and leading "walk to earn" game
Huawei Nova 10 series released Huawei application market to build a solid application security firewall