5.12.2 Configuring an Existing NFS Server

To configure an existing NFS server:

  1. Create the directory where you will copy the full Oracle Linux Release 6 Media Pack DVD image, for example /var/OSimage/OL6.3:

    # mkdir -p /var/OSimage/OL6.3
  2. Use the exportfs command to export the directory.

    # exportfs -i -o options client:export_dir

    For example, to allow read-only access to the directory /var/OSimage/OL6.3 for any NFS client on the 192.168.1 subnet:

    # exportfs -i -o ro 192.168.1.0/24:/var/OSimage/OL6.3