- Lab
- A Cloud Guru
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.
Path 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!
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.