创建用户dmdba,用户组dinstall
[root@localhost mnt]# groupadd -g 12345 dinstall
[root@localhost mnt]# useradd -u 12345 -g dinstall -m -d /home/dmdba -s /bin/bash dmdba
[root@localhost mnt]# passwd dmdba
Changing password for user dmdba.
New password:
BAD PASSWORD: The password is shorter than 8 characters
Retype new password:
passwd: all authentication tokens updated successfully.
创建文件夹tools,上传DM.iso 镜像文件到tools下,并挂载
[root@localhost tools]# mount -o loop dm8_20210528_x86_rh6_64_ent_8.1.2.18.iso /mnt
mount: /dev/loop0 is write-protected, mounting read-only
创建安装目录,并赋权
[root@localhost /]# mkdir dm
[root@localhost /]# chown -R dmdba:dinstall /dm
用dmdba账号进行安装
[dmdba@dm1 mnt]$ ./DMInstall.bin
按要求选择时区
Key是需要用户花钱的,个人测试环境,不需要输入
选择安装目录:
进行安装,用root执行下面这条语句:
安装数据库:
一直下一步,然后需要用root执行如下两条语句:
更多相关问题请浏览:
达梦云适配技术社区:https://eco.dameng.com/