How To Set Up LAMP Stack On Ubuntu 24.04 Fast!

Channel:
Subscribers:
15,300
Published on ● Video Link: https://www.youtube.com/watch?v=TMG4I21mvWs



Duration: 0:00
218 views
5


Welcome to this step-by-step tutorial on how to install the LAMP stack (Linux, Apache, MySQL, PHP) on Ubuntu 24.04! Whether you're setting up a local development environment or preparing a production server, this guide will walk you through everything you need to get your web server up and running.

👉 Sign up for DigitalOcean - https://zacs-tech.com/go/digitalocean/

👉 Register domain name
https://tinyurl.com/y8hz9seu

🖥 ️ Commands Used in the Video:
All terminal commands are listed and explained throughout the video.

sudo apt install -y apache2 apache2-utils
systemctl status apache2
sudo chown www-data:www-data /var/www/html/ -R
sudo nano /etc/apache2/conf-available/servername.conf
sudo a2enconf servername.conf
sudo systemctl reload apache2
sudo apt install mariadb-server mariadb-client
sudo mysql_secure_installation
sudo apt install php8.3 libapache2-mod-php8.3 php8.3-mysql php-common php8.3-cli php8.3-common php8.3-opcache php8.3-readline php8.3-mbstring php8.3-xml php8.3-gd php8.3-curl
sudo nano /var/www/html/info.php


DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!