达梦数据库客户端安装
1. 解压介质
unzip dm8_20240408_x86_rh7_64.zip
解压后生成如下文件:
-rw-r--r-- 1 root root 240 Apr 15 2024 dm8_20240408_x86_rh7_64_ent_8.1.3.140.README
-rw-r--r-- 1 root root 1082462208 Apr 15 2024 dm8_20240408_x86_rh7_64.iso
-rw-r--r-- 1 root root 158 Apr 15 2024 dm8_20240408_x86_rh7_64.iso_SHA256.txt
挂载到/mnt文件夹下
mkdir -p /soft/dm8
mount -o loop dm8_20240408_x86_rh7_64.iso /soft/dm8
2. 开始安装
事先已经创建好dba用户和组
/************************
groupadd dba
useradd -m -g dba -d /home/dba dba
*************************/
su - dba
cd /soft/dm8
./DMInstall.bin -i
以下是安装过程
Installer Language:
[1]: 简体中文
[2]: English
Please select the installer's language [2]:
Extract install files.........
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 127913
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 4096
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
The max number of open files is too little, suggest to set 65536 or more to number of open files.
Welcome to DM DBMS Installer
Please input the path of key file!
Whether to input the path of Key File? (Y/y:Yes N/n:No) [Y/y]:n
Whether to Set The TimeZone? (Y/y:Yes N/n:No) [Y/y]:n
Installation Type:
1 Typical
2 Server
3 Client
4 Custom
Please Input the number of the Installation Type [1 Typical]:3
Require Space: 1467M
Please Input the install path [/home/dba/dmdbms]:
Available Space:80G
Please Confirm the install path(/home/dba/dmdbms)? (Y/y:Yes N/n:No) [Y/y]:y
Pre-Installation Summary
Installation Location: /home/dba/dmdbms
Require Space: 1467M
Available Space: 80G
Version Information:
Expire Date:
Installation Type: Client
Confirm to Install? (Y/y:Yes N/n:No):y
2025-06-19 12:07:03
[INFO] Installing DM DBMS...
2025-06-19 12:07:03
[INFO] Installing BASE Module...
2025-06-19 12:07:05
[INFO] Installing CLIENT Module...
2025-06-19 12:07:06
[INFO] Installing DRIVERS Module...
2025-06-19 12:07:06
[INFO] Installing MANUAL Module...
2025-06-19 12:07:07
[INFO] Move log file to log directory.
2025-06-19 12:07:07
[INFO] Installed DM DBMS completely.
Please execute the commands by root:
/home/dba/dmdbms/script/root/root_installer.sh
End
3. 执行脚本
su - root
/home/dba/dmdbms/script/root/root_installer.sh
4. 设置环境变量
vi ~/.bashrc
export PATH=$PATH:/home/dba/dmdbms/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/dba/dmdbms/bin
source ~/.bashrc
5. 查看版本号
root@dsmp-store1 DM]# disql -id
DM Database 64 V8 03134284172-20240321-222308-20093
DAMO开发者矩阵,由阿里巴巴达摩院和中国互联网协会联合发起,致力于探讨最前沿的技术趋势与应用成果,搭建高质量的交流与分享平台,推动技术创新与产业应用链接,围绕“人工智能与新型计算”构建开放共享的开发者生态。
更多推荐



所有评论(0)