Geekscove Forum

Server Assistance => Linux Server install and configuration help => Topic started by: Keith Miller on Oct 05, 2026, 01:34 AM

Title: Easy install of a LAMP server
Post by: Keith Miller on Oct 05, 2026, 01:34 AM
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