Skip to content
Menu
Marius Serbanica – Tech Blog
  • My Tech Blog
  • About me
  • Contact Me
  • Curriculum Vitae
  • Projects
  • Current Projects List
  • Certifications
  • Home Lab
  • Self-Hosted
  • Linux Cheat Sheet
  • Linux Commands
  • Privacy Policy
  • Site Map
Marius Serbanica – Tech Blog
January 21, 2023January 27, 2023

Deploying a Web Server: Featuring Apache2, SQL, PHP and phpMyAdmin

Setting up a web server has always been a goal of mine, I wanted to be able to host my own websites, as well as create a platform for others to host their own websites. After multiple failed attempts at using different combinations of web servers and databases, I decided to go with Apache2 and MariaDB. In this blog post, I will share my experience with deploying a web server using Apache2, SQL, PHP, and phpMyAdmin.

Research and Planning –

The first step in my journey was to research and plan my web server deployment. I read through various tutorials and forums to gain a better understanding of the different web servers and databases available and their capabilities. I also made a list of the features and functionality that I needed, such as support for PHP and SQL, as well as user access control.

Containerizing with Docker –

After researching and planning, I decided to try containerizing my web server using Docker. I created a Docker container and installed Apache2, SQL, PHP, and phpMyAdmin on it. However, I soon realized that containerizing everything into a single container did not feel quite right, and I decided to try something else.

Virtualizing with Proxmox –

I decided to virtualize my web server using Proxmox and Debian. I created a new virtual machine on Proxmox and installed Debian on it. I then installed Apache2, SQL, PHP, and phpMyAdmin on the virtual machine. This gave me more control over my self-hosted websites and allowed me to manage my web server more easily.

Configuring Apache2 and MariaDB –

Once I had the virtual machine set up, I moved on to configuring Apache2 and MariaDB. I set up the necessary modules and dependencies, and configured the network settings. I also created different users and access levels for the web server.

Self-hosting Websites –

With my web server fully configured, I was finally able to self-host my websites. I used WordPress to create my blog, which is also hosted on my web server. It was a great feeling to have my own self-hosted website and blog.

In conclusion, deploying a web server was a challenging but rewarding experience. After multiple failed attempts, I finally found a combination of Apache2 and MariaDB that worked for me. Using Proxmox to virtualize my web server gave me more control over my self-hosted websites. I learned a lot about web servers, databases, and virtualization in the process and I am confident that my web server will serve me well in the future. Additionally, being able to self-host my own website and blog was a huge accomplishment for me.

Share on Social Media
x facebook linkedin

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Join my LinkedIn Network.

Recent Posts

  • Kubernetes cluster. Why and how
  • Installing GNU-World on ircu2
  • Replacing Cloudflare Tunnel with Tailscale on a VPS
  • KASM – My main workspace RBI
  • Transforming a Mini PC into a Powerful Home Network Hub / Router/ Firewall with OPNsense

Archives

  • February 2025
  • January 2025
  • October 2024
  • May 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023

Categories

  • How-To
  • Tech Industry
  • Tech, but personal
  • Tutorials

Recent Comments

  1. IRC Lamer on Installing GNU-World on ircu2
  2. severus2231 on Transforming a Mini PC into a Powerful Home Network Hub / Router/ Firewall with OPNsense
  3. admin on Mounting a NAS (Network Attached Storage) device on Linux
  4. abL on Mounting a NAS (Network Attached Storage) device on Linux
  5. Alin R on Cleaning up your Linux OS.
Social Media
Find me on social media
Facebook Twitter Instagram LinkedIn

©2025 Marius Serbanica – Tech Blog