LAMP and how to install it on linux debian 10 | VPS Beginner | P5
In this beginner tutorial I explain you what is LAMP (Linux, Apache, MariaDb, PhP) and how to install it on Debian 10. In the next video I will show you how to host multiple services using Apache.
It is part of a tutorial that comes in several parts to show you how to install open source services on your own private web server. The key advantage of going through this learning curve is the scalability, the sky is the limit! I hope you enjoy!
If you have questions, I will be happy to answer in the comments bellow.
Thank you!
“update packages”
sudo apt update
“install packages”
sudo apt upgrade
“install apache (already installed in my last video)”
sudo apt install apache2
“install maria db”
sudo apt install mariadb-server
“remove unsecure access”
sudo mysql_secure_installation
“log into Maria DB and check version”
mysql -u root -p
SELECT VERSION();
“install php”
sudo apt install php libapache2-mod-php php-mysql
php -v
“enable php for apache2 (should be already enabled)”
sudo a2enmod php7.3
“restart apache2”
systemctl restart apache2
by Mitwy
linux web server