Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

These instructions are a basic guide for a super-user to install and configure NFS on CentOS 7.

...

Note that we don't maintain these instructions because they are part of the assumed Linux systems administration knowledge for working with our product. We suggest that you check out some Linux Systems Administration training resources!

  1. Install NFS server

    Code Block

...

  1. yum install nfs-utils

...

  1. Create export directory

    Code Block
    mkdir /opt/nfs_share
    touch /opt/nfs_share/.abiquo_repository
    chmod -R 755 /opt/nfs_share
    chown nfsnobody:nfsnobody /opt/nfs_share
  2. Enable and start NFS services

    Code Block
    systemctl enable rpcbind
    systemctl enable nfs-server
    systemctl enable nfs-lock
    systemctl enable nfs-idmap
    systemctl start rpcbind
    systemctl start nfs-server
    systemctl start nfs-lock
    systemctl start nfs-idmap
  3. Edit /etc/exports to share the NFS directory

    Code Block
    /opt/nfs_share    *(rw,sync,no_root_squash,no_all_squash)
  4. Restart NFS service

    Code Block
    systemctl restart nfs-server