centos7+DM8数据库安装
系统镜像Centos-7-x86_64-DVD-2009.iso
内存:4G 存储:200G
收集软件信息
uname -ra
[root@localhost ~]# uname -ra
Linux localhost.localdomain 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
硬件信息
查看cpu信息
```bash
cat /proc/cpuinfo
![在这里插入图片描述](https://img-blog.csdnimg.cn/80a0e85a855e4596a5528ad892236360.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBAUnPmmI56,size_20,color_FFFFFF,t_70,g_se,x_16)
# 关闭防火墙
```bash
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# systemctl disable firewalld
创建数据库用户和安装路径
[root@localhost /]# groupadd dinstall
[root@localhost /]# useradd -g dinstall dmdba
[root@localhost /]# mkdir /dm8
[root@localhost /]# chown dmdba:dinstall /dm8
设置文件最大打开数目
[root@localhost ~]# ulimit -n 65536
挂载镜像
[root@localhost opt]# mount -o loop /opt/dm8_20210818_x86_rh6_64_ent_8.4.2.18_pack14\ \(1\).iso /mnt
命令行安装
[root@localhost opt]# su - dmdba
上一次登录:三 1月 19 16:39:28 CST 2022pts/0 上
[dmdba@localhost ~]$ cd /mnt
[dmdba@localhost mnt]$ ll
总用量 739440
-r-xr-xr-x. 1 root root 2784248 8月 23 14:36 DM8 Install.pdf
-r-xr-xr-x. 1 root root 754402133 8月 23 14:40 DMInstall.bin
[dmdba@localhost mnt]$ ./DMInstall.bin -i
后续按照提示操作
图形化安装
[dmdba@localhost ~]$ cd /mnt
[dmdba@localhost mnt]$ ./DMInstall.bin
据提示内容,切换到root用户运行脚本命令
[root@localhost ~]# /dm8/script/root/root_installer.sh
初始化数据库
图形化看到此提示界面表示已成功安装数据库