Install LAMP Server on Ubuntu 24.04

sudo apt-get install apache2 mysql-server php8.3 libapache2-mod-php libapache2-mod-php8.3 php8.3-mysql php8.3-curl php8.3-cgi php8.3-gd sshguard git htop curl smartmontools openssh-server htpdate mailutils php8.3-mbstring

sudo mysql

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_password';

flush privileges;

exit;

Leave a Reply

Your email address will not be published. Required fields are marked *