Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

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.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 30m
Published
Clock icon Oct 18, 2019

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Download the Code

    1. Download the compressed files from GitHub (URL: https://github.com/ErminLA/HardeningApache/archive/master.zip).

    2. Unpack the compressed files.

  2. Challenge

    Move and Rename the Files

    1. Move the unpacked file index.html to the web server /var/www/html.

    2. Move and rename the unpacked file Linux\ Full\ Logo-01.png to LA_Logo.png.

  3. Challenge

    Configure SELinux

    1. Configure and apply SELinux Context for the index.html file.

    2. Configure and apply SELinux Context for the .png file.

  4. 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>.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans