sudo apt update
sudo apt install tasksel
sudo tasksel install lamp-server
MYSQL INSTALL and CONFIG
sudo mysql_secure_installation
mysql -u root -p
PHP: Create a test file info.php in /var/www/html with:
<?php phpinfo(); ?>
START SERVICES
sudo systemctl start apache2
sudo systemctl start mysql
su systemctl start php
ENABLE TO START AT BOOT
sudo systemctl enable apache2 mysql php