11–2 CompTIA Linux+ Certification, Powered by LPI
Topic A: Network file resources
This topic covers the following CompTIA exam objectives for Linux+ [Powered by
LPI] Certification, LX0-101 and LX0-102 exams.
110.2 Set up host security
The following is a partial list of the used files, terms, and utilities:
The Network File System (NFS)
The Network File System (NFS) is a file system type supported by Linux and UNIX
(and Windows, with third-party software) that enables you to access directories and
their files across the network. Once you have mounted a remote file system with NFS,
you can use it as if it were on your local computer.
An NFS server exports some or all of a file system to make it available on the network.
NFS clients mount those exported file systems in order to make their contents available
to the user or programs on the client.
NFS server packages
Depending on your installation choices and distribution, NFS is probably not installed
by default on your system. When you install the NFS server package, you can typically
choose between a user-space and kernel version of the server. The kernel version offers
more features, is faster, and is more stable than the user-space version. Choose the
kernel version, unless you have to use the other.
The current version of NFS is 4. Most Linux distributions support this version, plus one
or more previous versions. For best security and the widest range of options, use the
newest version of NFS available on your system.
Name resolution requirements
While you can use IP addresses with NFS, host names are far more convenient. To use
computer names, you must provide name resolution services on your network for
enabling remote file access. For a small network, distributing a common hosts file is
sufficient. Otherwise, you need to set up a DNS server to provide such services.