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