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.

1.4.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, V52218-01.iso for x86_64 (64 bit) Oracle Linux Release 6 Update 6 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 V52218-01.iso /mnt

  3. Use the following command to extract the contents of the DVD image into a directory whose contents are shareable using NFS or HTTP.

    For example, to copy the DVD image mounted on /mnt to /var/OSimage/OL6.6:

    # cp -a -T /mnt /var/OSimage/OL6.6

    or to /var/www/html/OSimage/OL6.6:

    # cp -a -T /mnt /var/www/html/OSimage/OL6.6

  4. Unmount the DVD image:

    # umount /mnt

  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:

    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.

To customize a network installation server that allows the installation of a system with a btrfs root file system, modify the images directory to support the Unbreakable Enterprise Kernel (UEK) instead of the Red Hat Compatible Kernel as the installation kernel. See Section 1.4.6, “Modifying a Full DVD Image to Support Btrfs root File System Installation”.