- พิมพ์คำสั่ง sudo apt-get install mysql-server แล้ว Enter

แล้วระบบจะถาม Do you want to continue[Y/n]? กดปุ่ม Y แล้ว enter
- ระบบจะให้ใส่รหัสผ่าน root

ยืนยันรหัสผ่านอีกครั้ง

- จากนั้นพิมพ์คำสั่ง sudo apt-get install php7.0-mysql แล้วกด Enter
php-5.3.29
|
sudo apt-get install php5.3.29-mysql |

อ้างอิง
http://www.select2web.com/webservice/amazon-elastic-computer-clound-ec2-part-7-install-apache-php-mysql.html
https://medium.com/@sahakornb/การติดตั้ง-apache-php-mysql-phpmyadmin-บน-ubuntu-16-04-only-e6cf7b0c278a
ป้ายกำกับ:aws, ec2, mysql