LAMP Stack Installation in Debian 12
LAMP Stack Installation in Debian 12 If you are using Debian 12, follow the steps below to install a full LAMP web server on Debian GNU/Linux 12 “Bookworm” (Stable). Note that Debian 12 includes PHP 8.2 in its repositories, which may differ from previous Debian versions.
Web Server Installation The first component of a LAMP server is Apache, represented by the “A.” To install Apache, run the following commands:
sudo apt install apache2 sudo systemctl enable apache2 && sudo systemctl start apache2 With these commands, you will have installed and activated the Apache web server. You can verify its functionality by entering the server’s IP address in your favorite browser; it should display the default Apache home page.