/PROJECT-6

WEB SOLUTION WITH WORDPRESS

MIT LicenseMIT

PROJECT-6

WEB SOLUTION WITH WORDPRESS

You are progressing in practicing to implement web solutions using different technologies. As a DevOps engineer you will most probably encounter PHP-based solutions since, even in 2021, it is the dominant web programming language used by more websites than any other programming language.

In this project you will be tasked to prepare storage infrastructure on two Linux servers and implement a basic web solution using WordPress. WordPress is a free and open-source content management system written in PHP and paired with MySQL or MariaDB as its backend Relational Database Management System (RDBMS).

Project 6 consists of two parts:

Configure storage subsystem for Web and Database servers based on Linux OS. The focus of this part is to give you practical experience of working with disks, partitions and volumes in Linux.

Install WordPress and connect it to a remote MySQL database server. This part of the project will solidify your skills of deploying Web and DB tiers of Web solution.

LAUNCH AN EC2 INSTANCE THAT WILL SERVE AS “WEB SERVER”.

Step 1 — Prepare a Web Server Launch an EC2 instance that will serve as "Web Server". Create 3 volumes in the same AZ as your Web Server EC2, each of 10 GiB.

text1

Using lsblk utility to view the newly configured partition on each of the 3 disks.

text2

Verify that your Physical volume has been created successfully by running sudo pvs

text3

Verify that your VG has been created successfully by running sudo vgs

text4

Verify that your Logical Volume has been created successfully by running sudo lvs

text5

Verifying the entire setup

text6

UPDATE THE /ETC/FSTAB FILE The UUID of the device will be used to update the /etc/fstab file; Test the configuration and reload the daemon

text1

Verify your setup by running df -h

text2

the database as been mounted

text3

To install PHP and it’s depemdencies

text4

Configure DB to work with WordPress and Configure WordPress to connect to remote database

text5

text6

text7