서버 내에 cdrom을 마운트 하여 rpm 파일을 복제 및 repository 구성할 경우가 있다. 그럴 경우 아래아 같이 cdrom을 마운트하여 repo 설정을 한다.
cdrom 마운트
mount -t iso9660 /dev/sr0 /mnt
[root@test yum.repos.d]# cat /etc/yum.repos.d/rhel.repo
[rhel]
name=redhat6
baseurl=file:///mnt ## file로 마운트할 경우 " /// " 설정
enabled=1
gpgcheck=0