This procedure assumes that you have set up the system as an NFS or HTTP server.
To set up a network installation server:
Download the full Oracle Linux Media Pack DVD image (for example,
V41362-01.iso
for x86_64 (64 bit) Oracle Linux Release 6 Update 5) from the Oracle Software Delivery Cloud at https://edelivery.oracle.com/linux.Mount the DVD image on a suitable mount point (for example,
/mnt
):#
mount -t iso9660 -o loop V41362-01.iso
mount_dir
Use the following command to extract the contents of the DVD image into a directory (
output_dir
) whose contents are shareable using NFS or HTTP:#
cp -a -T
mount_dir
output_dir
For example, to copy the DVD image mounted on
/mnt
to/var/OSimage/OL6.5
:#
cp -a -T /mnt /var/OSimage/OL6.5
or to
/var/www/html/OSimage/OL6.5
:#
cp -a -T /mnt /var/www/html/OSimage/OL6.5
Unmount the DVD image:
#
umount
mount_dir
Download the UEK Boot ISO image for the desired architecture (for example,
V41364-01.iso
for x86_64 (64 bit)).Mount the UEK Boot ISO image:
#
mount -t iso9660 -o loop V41364-01.iso
Replace the contents of the
images
directory that you copied from the DVD image with the contents of theimages
directory from the UEK Boot ISO image:#
rm -rf
#output_dir
/imagescp -r
mount_dir
/imagesoutput_dir
For example, to replace
/var/OSimage/OL6.5/images
:#
rm -rf /var/OSimage/OL6.5/images
#cp -r /mnt/images /var/OSimage/OL6.5
or to replace
/var/www/html/OSimage/OL6.5/images
:#
rm -rf /var/www/html/OSimage/OL6.5/images
#cp -r /mnt/images /var/www/html/OSimage/OL6.5
If SELinux is enabled in enforcing mode on your system and you have configured the system as an HTTP server but you did not copy the DVD image to a directory under
/var/www/html
:Use the semanage command to define the default file type of the directory hierarchy as
httpd_sys_content_t
:#
/usr/sbin/semanage fcontext -a -t httpd_sys_content_t "/var/OSimage(/.*)?"
Use the restorecon command to apply the file type to the entire directory hierarchy.
#
/sbin/restorecon -R -v /var/OSimage
NoteThe semanage and restorecon commands are provided by the
policycoreutils-python
andpolicycoreutils
packages.Copy the UEK Boot ISO image to a suitable medium from which you can boot the target system on which you want to install Oracle Linux 6 Update 5.
Unmount the UEK Boot ISO image:
#
umount
mount_dir