2.Install MySQL
After installing Apache2, the next step is to install MySQL. The M in LAMP stands for MySQL and it’s a database server to host your website content.
To install MySQL, run the commands below.
VirtualPrivateServer
$sudo apt-get install mysql-client mysql-server
When you run the above commands, you’ll be prompted to create a database root password. Type and confirm one to continue.