Hackathon - Linux

Mastering Linux

View the Project on GitHub ricmmartins/fasthack-linux

Challenge 12 - Setting up a webserver

< Previous Challenge - Home - Next Challenge >

Description

In this challenge we will be setting up a webserver and deploy a simple PHP application into it. As a plus, you can add SSL to ensure security requirements.

Success Criteria

  1. Make sure you have the file simple-php-app-tar.gz within your ~
  2. Show the content of the .tar.gz file extracted into your ~
  3. Make sure you have the packages nginx-core and php7.4-fpm installed
  4. Show your Nginx running properly

Hint

If you install Ubuntu 18.04 instead of Ubuntu 20.04, the version of the php-fpm which will be installed will be 7.2 instead of 7.4. Then make sure to configure the nginx config file properly.

Learning Resources

Advanced Challenge

Too comfortable? Eager to do more? Try this additional challenge!

Please note that for this advanced challenge, you will need to be able to access the virtual machine using a Public IP due the usage of an SSL certificate.