The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.

4.12.5 Setting up a Network Installation Server

Note

This procedure assumes that you have set up the system as an NFS or HTTP server.

To set up a network installation server:

  1. 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.

  2. Mount the DVD image on a suitable mount point (for example, /mnt):

    # mount -t iso9660 -o loop V41362-01.iso mount_dir

  3. 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

  4. Unmount the DVD image:

    # umount mount_dir

  5. Download the UEK Boot ISO image for the desired architecture (for example, V41364-01.iso for x86_64 (64 bit)).

  6. Mount the UEK Boot ISO image:

    # mount -t iso9660 -o loop V41364-01.iso

  7. Replace the contents of the images directory that you copied from the DVD image with the contents of the images directory from the UEK Boot ISO image:

    # rm -rf output_dir/images
    # cp -r mount_dir/images output_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

  8. 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:

    1. 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(/.*)?"

    2. Use the restorecon command to apply the file type to the entire directory hierarchy.

      # /sbin/restorecon -R -v /var/OSimage

    Note

    The semanage and restorecon commands are provided by the policycoreutils-python and policycoreutils packages.

  9. 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.

  10. Unmount the UEK Boot ISO image:

    # umount mount_dir