Details of EC2 Instance connection
sudo yum install -y httpd
sudo yum install php-mysql -y
sudo amazon-linux-extras install -y php7.3
Move the directory to where wordpress executes to download and install
$ cd /var/www/html/
$ ls
$ wget https://wordpress.org/latest.tar.gz
$ tar -xzf latest.tar.gz
$ ls
$ cd wordpress
$ ls
Open a web browser to access the public ipv4 dns address of the ec2 webserver
Set up basic parameters for wordpress
After submitting
Rename the file wp-config-sample.php to file wp-config.php
$ mv wp-config-sample.php wp-config.php
Delete the data in the wp-config.php file and copy the information in the previous step into the wp-config.php file.
$ cat > wp-config.php
$ nano wp-config.php
Select run the installation to proceed to the next step
After the installation is complete, login to wordpress admin
Successfully logged in to the wordpress dashboard interface