From the course: Linux System Engineer: Network Filesystems Using NFS and Samba

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Install NFS packages

Install NFS packages - Red Hat Enterprise Linux Tutorial

From the course: Linux System Engineer: Network Filesystems Using NFS and Samba

Start my 1-month free trial

Install NFS packages

- Chances are that the NFS package is already installed on both of your virtual machines, but let's make sure. Start both VMs now and open terminals on them. To begin, make sure you're logged in to your rhhost1 VM, and in a terminal, type in sudo yum install -y nfs-utils and hit enter. Type in your password if prompted. If it's already installed, it won't hurt anything. Now let's look at what's in the package. Type in clear and then type in tpm -ql, for query list, nfs-utils and hit enter. If you scroll up, you will see a mount.nfs command as well as a mount.nfs4 command. These are the mount commands for nfs exports. If you scroll down a bit, you'll see exportfs, mountstats, and nfsstats, which are useful for getting information about our nfsexports and mounts. Another package that is not necessary to install but can be useful when dealing with nfs4 access controllers isnfs4-acl-tools. Let's install it by typing in clear. Type in sudo yum install -y nfs4-ac-tools and hit enter. Now…

Contents