挂载本地iso镜像
[root@linux-node1 ~]# mkdir -p /disk/iso [root@linux-node1 ~]# cd /disk/iso/ [root@linux-node1 iso]# ls -l total 4365312 -rw-r--r-- 1 root root 4470079488 Nov 15 11:50 CentOS-7.5-x86_64-DVD-1804.iso [root@linux-node1 ~]# mount -o loop /disk/iso/CentOS-7.5-x86_64-DVD-1804.iso /media/cdrom/iso mount: /dev/loop0 is write-protected, mounting read-only [root@linux-node1 ~]# vim /etc/fstab /disk/iso/CentOS-7.5-x86_64-DVD-1804.iso /media/cdrom/iso iso9660 defaults 0 0 [root@linux-node1 ~]# mount -a [root@linux-node1 ~]# df -Th