300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > DM7安装步骤

DM7安装步骤

时间:2023-12-12 06:49:19

相关推荐

DM7安装步骤

1、准备工具。

1)VM工具:VMware-workstation-full-11.1.0-2496824

2)虚拟机:NeoKylin Advance V6.0 x86_64

3)DM7数据库:dm7_setup_rh6_64_ent_7.6.0.142_0312

2、安装操作系统。(中标麒麟)

1)创建新的虚拟机

2)安装操作系统。(中标麒麟)

3、安装DM数据库

1)使用root用户登录系统

2)使用命令ifconfig查看本系统ip地址,并使用远程工具(mobaxterm)把数据库安装包存放到opt目录下。

3)创建用户组及用户

3.1)新增用户组

[root@localhost opt]# groupadd dminstall

3.2)新增用户

[root@localhost opt]# useradd -g dminstall dmdba

3.3)设置密码,注意:密码不少于6位

[root@localhost opt]# passwd dmdba

3.4)设置dmdba用户的openfile数量

[root@localhost opt]# vim /etc/security/limits.conf

在文档中加入

dmdba soft nofile 4096

dmdba hard nofile 65536

注意:让文件生效需要重启操作系统。

4)安装数据库

4.1)创建安装目录(dm7)

[root@localhost opt]# mkdir /dm7

4.2)授权

[root@localhost opt]# chown dmdba.dminstall -R /dm7

4.3)挂载(因为DM7数据库安装包为iso文件,所以需要使用挂载方式打开安装包)

[root@localhost opt]# mount -o loop dm7_setup_rh6_64_ent_7.6.0.142_0312.iso /mnt

4.4)建议使用dmdba用户安装数据库

[root@localhost mnt]# su dmdba

[dmdba@localhost ~]$ cd /mnt

命令窗口方式安装数据库(全程下一步)

[dmdba@localhost mnt]$ ./DMInstall.bin –i

注意1:请选择安装目录

注意2:需要使用root用户执行以下语句

[root@localhost opt]# /dm7/script/root/root_installer.sh

4.5)卸载软件

[dmdba@localhost dm7]$ ./uninstall.sh

[root@localhost opt]# /dm7/root_uninstaller.sh

注意:如果有数据库实例,先停止数据库实例,在卸载软件。

4、创建数据库

1)开启图形界面

[root@localhost mnt]# xhost +

Access control disabled, clients can connect from any host

2)运行dbca.sh

[dmdba@localhost dm7]$ cd /dm7/tool/

[dmdba@localhost tool]$ ./dbca.sh

3)图形化创建数据库

注意:创建过程中需要使用root用户运行脚本

[root@localhost opt]# /dm7/script/root/dm_service_installer.sh -s /dm7/bin/DmServiceDMSERVER

4)测试连接数据库

[dmdba@localhost tool]$ cd /dm7/bin/

[dmdba@localhost bin]$ disql sysdba/SYSDBA

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。