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

Lambdas function and high order function

Build Your Own Big Data Ecosystem — Part 1

Introduction to NP Completeness

How to turn my ActiveRecord migrations asynchronous ?

How To Learn How To Code Fast | 7 Tips To Learn To Code Faster

SymfonyCon Lisbon 2018

Identifying categorical and numerical columns and imputing missing values in a DataFrame using…

Server-side unwRAPping in the HOUSE! 😎

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

Launch a static website on Amazon S3

Hosting your static WordPress site on AWS S3

AWS Elastic Beanstalk with docker-compose.yml file

Working with AWS CloudFormation — Part 2