Setup a Local Yum Repo from DVD on Oracle Linux
Hi! The Tutorial shows you Step-by-Step How to Create a Working Local YUM Repository from the Installation Media DVD on Oracle Enterprise Linux 7.
The Procedure described is Especially Useful for the Oracle Linux Beta Releases and if you Do Not Dispose of Internet Connection.
-
Load the Oracle Enterprise Linux 7 Server Installation DVD.
-
Mounting DVD from Command Line.
su
If Got “User is Not in Sudoers file” then see: How to Enable sudo
mkdir /mnt/dvd
mount -t iso9660 /dev/cdrom /mnt/dvd
-
Copying DVD Contents.
mkdir -p /var/OSimage/OL7b_x8664
cp -r /mnt/dvd/* /var/OSimage/OL7b_x8664/
-
Making the YUM repo.
vi /etc/yum.repos.d/OL7b.repo
Hit the ‘i’ Key and Append:
[OL7b] name=Oracle Enterprise Linux 7 Beta x8664 baseurl=file:///var/OSimage/OL7b_x8664 gpgkey=file:///var/OSimage/OL7b_x8664/RPM-GPG-KEY gpgcheck=1/nenabled=1
Hit the ‘Esc’ Key and then Enter ‘:wq’ to Write and Quit from Vi Editor :)
-
Enabling the Local YUM repo.
yum clean all
yum repolist
exit
How to Install Google-Chrome Web Browser on Oracle Linux
How to Install the Latest Firefox on Oracle Linux:
How to Install Evernote on Oracle Enterprise Linux