Update packages:
sudo apt update
- Install phpMyAdmin:
sudo apt install phpmyadmin
- When prompted, select Apache2 and configure the database.
- Enable required PHP extension:
sudo phpenmod mbstring
- Restart Apache:
sudo systemctl restart apache2
Access phpMyAdmin at http://your_server/phpmyadmin
.