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

Downloading and Configuring Web Application Frontend
The objective of this lab will be to download and configure the frontend for our application. You will first need to download the code of the frontend from GitHub. After that, you will unpack it, move it to the correct directory, and configure the proper SELinux context for the newly downloaded files, so that they can be properly accessed from the outside world without any problems. This is a common security practice with the Apache web server. If this is not done, the files can become inaccessible, and a portion of your site will be non-functional.

Lab Info
Table of Contents
-
Challenge
Download the Code
-
Download the compressed files from GitHub (URL: https://github.com/ErminLA/HardeningApache/archive/master.zip).
-
Unpack the compressed files.
-
-
Challenge
Move and Rename the Files
-
Move the unpacked file
index.html
to the web server/var/www/html
. -
Move and rename the unpacked file
Linux\ Full\ Logo-01.png
toLA_Logo.png
.
-
-
Challenge
Configure SELinux
-
Configure and apply SELinux Context for the
index.html
file. -
Configure and apply SELinux Context for the
.png
file.
-
-
Challenge
Test the Application Frontend
Test if the application frontend works by opening a private or incognito window in your web browser and using the provided server instance public IP address
http://www.<Server_Public_IP>
.
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.