- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

NFS: Exporting and Mounting an NFS File System
Regardless of the purpose of a particular server, it needs to store data somewhere. Using network storage allows data to be shared among different users or servers without having to duplicate it and waste storage. In this lab, you'll be able to practice setting up an NFS server and client.

Lab Info
Table of Contents
-
Challenge
Set up the NFS server to export the required directory.
First, we need to install the
nfs-utils
andexportfs
packages. Then we can set the mount point up in/etc/exports
. After exporting the filesystem, we can start thenfs-server
service, and this objective is complete! -
Challenge
Set up the NFS client to mount the required directory on /var/www/html and test.
After installing the
nfs-utils
package, we need to mount the export on/var/www/html
. Once that is complete, we can start the Apache service. Finally, open a browser to the client-server's public IP and check out the awesome page that you enabled!
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.