Integration Of WordPress With Amazon RDS ..❕

WordPress

WordPress is a free and open-source content management system written in PHP and paired with a MySQL or MariaDB database.

Amazon RDS (Amazon Relational Database Service)

Amazon Relational Database Service is a distributed relational database service by Amazon Web Services. It is a web service running “in the cloud” designed to simplify the setup, operation, and scaling of a relational database for use in applications.

# yum install httpd -y

Installing WordPress

# wget https://wordpress.org/latest.tar.gz
# tar -xzf latest.tar.gz

Move wordpress folder to /var/www/html

# mv wordpress /var/www/html

Edit httpd configuration file # /etc/httpd/conf/httpd.conf

AllowOverride ALL
# systemctl start httpd

To access mysql Database we need mysql software to be preinstalled, so lets install mysql.

# yum install mysql -y

Now lets craete a database

Lets install php bcoz WordPress is built on PHP

# amazon-linux-extras install php7.2 -y

Now lets open it on browser

http://<public_ip>/wordpress/

Now refresh the page and follow the instructions.. Page will be Ready

Finally Task Completed..

Thanks for Reading !!

Passionate learner || Data Science Enthusiast || Django || Competitive Programmer