Task Description :

-Configure the Instance with apache webserver

-Download PHP Application name “WordPress”

- As WordPress stores data at the backend in MySQL Database server. Therefore, you need to setup a MySQL server using AWS RDS service using Free Tier.

-Provide the endpoint/connection string to the WordPress application to make it work.

1. Creation of EC2 Instance :-

2. Configure Web-Server

# yum install httpd vim -y

# systemctl start httpd

# systemctl enable httpd

3. database creation

4. Install PHP7.4 in RHEL 8

EPEL and REMI repositories are the main requirements for this installation

# yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest8.noarch.rpm

# yum -y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm

Enable the Module Stream for PHP 7.4 on RHEL 8

# dnf module install php:remi-7.4

Install mysqlnd Library

# dnf install php-mysqlnd

Now, we have to install mysql in EC2 Instance and create one database # yum install mysql -y




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

Recommended from Medium

Roblox coding for beginners — Part 2

How To Zip Files In Python

Traffic Flow Diagram for applications aided by Istio Service Mesh

Rebuilding the Feature 5 Grid to Create More Than a Comeback

A Beginner’s Guide Into Competitive Programming

Introducing Flutter Text Helpers

How to work with Golang plugins (and KrakenD )

Instadorm ambasador program

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
Alphy Prakash

Alphy Prakash

More from Medium

CS373 Spring 2022: Connor Popp Week 3

8. Newser: National Park Service Donates Venison to Local Food Bank

Howdy, it’s Loc here (part 1)

Monitoring Camel-K applications on Openshift using the Fuse Console — Part 2 (Kamelets)