Project Description:
In this project, we will be setting up our own web server using Apache2, PHP, and MariaDB. We will be using a Linux-based operating system, such as Ubuntu, to host our server and will be configuring it to serve dynamic web pages using PHP and a MariaDB database.
- The first step in setting up our web server will be to install Apache2, PHP, and MariaDB on our Linux machine. This can be done using the package manager of the Linux distribution we are using. Once the packages are installed, we will need to configure Apache2 to work with PHP and MariaDB. This will involve editing the Apache configuration file to set the appropriate PHP handler and adding the necessary MariaDB modules.
- We will set up a MariaDB database to store our website’s data. This will involve creating a new database, creating tables to store our data, and configuring the appropriate permissions for the database.
- Once our web server and database are set up, we will deploy our website to the server by copying the website’s files and assets to the appropriate directory on the server. We will also need to configure the website to connect to the MariaDB database and retrieve the necessary data.
- Finally, we will test the website to ensure that it is working correctly and is accessible from the internet. We will also set up monitoring and logging to keep track of any issues that may arise with the server.
Project Info:
Technologies: Apache2, PHP, MariaDB
Status: Completed
Start Date: 10th of January 2023
End Date: 11th of January 2023
Blog: https://mariusserbanica.co.uk/2023/01/21/deploying-a-web-server-featuring-apache2-sql-php-and-phpmyadmin/
Repository: N/A