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

NFS: Working with Access Restrictions
Regardless of the purpose of a particular server, it needs to store data somewhere. It's also often important to separate data from access where it's not needed. For example, an NFS server that stores both database and website data. In this lab, you'll be able to practice placing restrictions on what data is shared where.

Lab Info
Table of Contents
-
Challenge
Edit the exports file on the NFS server to match the changes required in the instructions.
The first thing to do is edit the
/etc/exports
file on the NFS server. Once we replace the*
's in the file with the internal IP addresses of the respective servers, we can change the read/write settings as well. After saving that file, we need to unexport the current settings and then export the new ones. -
Challenge
Ensure that the new settings work as desired on the website and database servers.
On the web server, we need to mount the export as requested. Once that's complete, we can start Apache. On the database server, we again need to mount the export as requested and start
postgresql
. We can also test from the database server to the website export to verify that we're unable to mount it.
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.