原创 創建基於本地iso的yum源

1.上傳iso到/opt目錄2.配置[root@localhost ~]# mkdir /mnt/cdrom[root@localhost ~]# vi /etc/fstab/opt/CentOS-7-x86_64-DVD-1708.iso