baseurl=file:///mnt/cdrom
gpgcheck=0
enabled=1
[root@dm8 yum.repos.d]# mount -o loop /soft/CentOS-7-x86_64-DVD-1810.iso /mnt/cdrom
[root@dm8 yum.repos.d]# yum clean all
[root@dm8 yum.repos.d]# yum makecache
[root@dm8 yum.repos.d]# yum update
5、关闭防火墙&SElinux
[root@dm8 ~]# systemctl stop firewalld.service
[root@dm8 ~]# systemctl disable firewalld.service
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@dm8 ~]# cat /etc/selinux/config |grep SELINUX=
SELINUX= can take one of these three values:
SELINUX=disabled -----需重启操作系统生效
6、创建DM用户&目录
[root@dm8 ~]# groupadd -g 12349 dinstall
[root@dm8 ~]# useradd -u 12345 -g dinstall -m -d /home/dmdba -s /bin/bash dmdba
[root@dm8 ~]# passwd dmdba
Changing password for user dmdba.
New password: !QAZ2wsx
BAD PASSWORD: The password fails the dictionary check - it is based on a dictionary word
Retype new password: !QAZ2wsx
passwd: all authentication tokens updated successfully.
[root@dm8 ~]# mkdir -p /u02
[root@dm8 ~]# chown -R dmdba:dinstall /u02
[root@dm8 ~]# chmod -R 775 /u02/
7、挂载DM软件的iso
[root@dm8 soft]# unzip dm8_20210712_x86_rh6_64_ent.zip
[root@dm8 dm8_20210712_x86_rh6_64_ent]# pwd
/soft/dm8_20210712_x86_rh6_64_ent
[root@dm8 dm8_20210712_x86_rh6_64_ent]# mkdir -p /mnt/dm_media
[root@dm8 dm8_20210712_x86_rh6_64_ent]# mount
dm8_20210712_x86_rh6_64_ent_8.1.2.38_pack1.iso /mnt/dm_media/
mount: /dev/loop1 is write-protected, mounting read-only
[root@dm8 dm8_20210712_x86_rh6_64_ent]# cd /mnt/dm_media/
[root@dm8 dm_media]# ls
DM8 Install.pdf DMInstall.bin
8、修改系统限制
[dmdba@dm8 ~]$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited --保持ulimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited --保持ulimited
评论