Lab Walkthrough

1. Project Overview

In this project, we will be setting up a LAMP (Linux, Apache, MySQL, PHP) stack to host a simple PHP web application, which is a to-do list app. The web application will be deployed on one Ubuntu server running Apache and PHP, and a separate MySQL database server will be used for storing the application’s data. Initially, the connection between the web server and MySQL database will be established without SSL. Later, SSL encryption will be enabled for both MySQL connections and the Apache web server to secure communications.

Objectives:

  • Set up Apache web server with PHP on a Ubuntu server.
  • Set up MySQL database server on a separate Ubuntu server.
  • Deploy the PHP-based to-do list application on the Apache web server.
  • Connect the PHP web application to MySQL.
  • Enable SSL for MySQL communication.
  • Enable HTTPS on the Apache server using a self-signed certificate.