Red Hat Certified System Administrator RHCSA · Free Practice Question Hard

Question 7

Using Red Hat Enterprise Linux 9, install the Apache HTTP Server and configure it to retrieve documents from a folder mounted through Network File System (NFS)

Show model answer

Install Apache: sudo dnf install httpd

Start and enable Apache: sudo systemctl start httpd && sudo systemctl enable httpd

Install NFS utilities: sudo dnf install nfs-utils

Mount the NFS share (replace [nfs-server] and [share-path]): sudo mount -t nfs [nfs-server]:[share-path] /var/www/html

Modify Apache configuration to use the NFS mounted folder.

Restart Apache: sudo systemctl restart httpd

Ensure NFS server is correctly set up and accessible. Adjust firewall settings if necessary.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need