Lab 5-3: Setting up WordPress on LAMP
Install WordPress:
wget https://wordpress.org/latest.tar.gztar -xzf latest.tar.gzmysql -u root -pCREATE USER 'wordpress-user'@'localhost' IDENTIFIED BY 'your_strong_password';CREATE DATABASE `wordpress-db`;GRANT ALL PRIVILEGES ON `wordpress-db`.* TO "wordpress-user"@"localhost";FLUSH PRIVILEGES;exitTo create and edit the wp-config.php file



To install the PHP graphics drawing library on Amazon Linux 2:
To fix file permissions for the Apache web server
To run the WordPress installation script with Amazon Linux 2

Last updated