Deploying WordPress On EC2 Instance Using AWS RDS

yum install httpd=> to install apache serversystemctl start httpd => to start the apache web serversystemctl enable httpd => to enable the apache web server
cd /var/www/html => to go to main server folder
wget => to download wordpress
tar -xzvf latest.tar.gzcd => to unzip the wordpress
cd wordpress => to go inside the wordpres folder
mv wp-config-sample.php wp-config.php => to make the config file of Wordpress
vi wp-config.php => to edit the config file of wordpress
yum install -y amzon-linux-extras
yum install php-cli php-pdo php-fpm php-json php-mysqlnd
amzon-linux-extras | grep php
amazon-linux-extras enable php7.4
yum install php=> to install php
Php version 7 is upgraded




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The Streamlit Roadmap: Big Plans for 2020!

How ITO is Shaping the Future of Traffic Management

Upgrading to NUnit3 — not such a walk in the park

Going codeless — a short story about me and the Robots

Our stance on content moderation in the Ecosystem

Common problems for layout elements in CSS — best practices

Easy pipelines using Python and Google Cloud Functions

Best Test Management Tools in 2017

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gupta Aditya

Gupta Aditya

More from Medium

How to set up WordPress with a dedicated Database Server on AWS Cloud?

Amazon EC2 Instances And Their Functions.

Using AWS IAM roles with EC2 and DynamoDB

Automate Vue Js deployment to AWS S3 bucket with CodeBuild