- Lab
- A Cloud Guru
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.
Path 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.
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.