挂载光盘
#mout /dev/sr0 /mnt/cdrom
修改yum源
[root@localhost nginx-1.20.1]# cat /etc/yum.repos.d/rhel-source.repo
[rhel-source]baseurl=file:///mnt/cdromenabled=1gpgcheck=1
rpm --import /etc/pki/rpm-gpg/RPM*