课程: Linux System Engineer: Network Filesystems Using NFS and Samba
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Install NFS packages - Red Hat Enterprise Linux教程
课程: Linux System Engineer: Network Filesystems Using NFS and Samba
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…