Adding Oracle Linux (OEL) DVD as Repository

If you need to add the Oracle Linux (OEL) DVD as repository first you need to mount the DVD, and afterwards just nano (or your favorite file editor) /etc/yum.repos.d/oel-dvd.repo and paste the following code in it:

[oel-dvd]
name=Oracle Linux $releasever - $basearch - DVD
baseurl=file:///path_to_dvd_mount_point/Server
enabled=1
gpgcheck=0

Leave a Reply

Your email address will not be published. Required fields are marked *