#sudo apt update #sudo apt install apache2 #sudo apt install mysql-server #sudo mysql_secure_installation #sudo apt install php libapache2-mod-php php-mysql #sudo apt-get purge phpmyadmin #sudo apt-get autoremove phpmyadmin #sudo apt-get install phpmyadmin #sudo vi /etc/apache2/conf-enabled/phpmyadmin.conf Thêm vào bên dưới dòng DirectoryIndex index.php AllowOverride All #sudo service apache2 restart #sudo mysql -u root #use mysql; #ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY ‘matkhaucuaban’; #FLUSH PRIVILEGES; #exit; #sudo service apache2 restart