How to host a WordPress website on AWS
This is a beginner-friendly project that demonstrates hosting a WordPress website on AWS. Services used include Amazon VPC, EC2, and RDS.
#aws #cloudcomputing #amazon #project
Shell commands used:
sudo yum -y update
sudo yum install httpd -y
sudo systemctl start httpd
sudo systemctl enable httpd
sudo systemctl status httpd
sudo amazon-linux-extras enable php7.4
sudo yum install php php {pear,cgi,common,curl,mbstring,gd,mysqlnd,gettext,bcmath,json,xml,fpm,intl,zip,imap}
sudo systemctl restart httpd
sudo yum install -y mysql
tar -xvzf latest.tar.gz
sudo mv wordpress/* /var/www/html/
cd /var/www/html/
sudo mv wp-config-sample.php wp-config.php
sudo nano wp-config.php
Note: You might encounter an error when you run the ‘sudo amazon-linux-extras enable php7.4’ command if you do not choose Amazon Linux 2 OS when configuring your EC2 instance.
My LinkedIn profile: www.linkedin.com/in/ifekiikuphillips
[ad_2]
source