Giter Site home page Giter Site logo

assesment's Introduction

Please refer the Assessment.docx present in this Git repository for the screenshots with the explanation

This readme provides the information not with the screenshots!!!

Contents

  1. Introduction

  2. Local Setup Pre-requisites:

  3. Mediawiki Installation

  4. Accessing the Mediawiki

  5. Post-Installation

Introduction

This document is prepared to give the understanding of the local setup and the execution of the Terraform and Ansible Snippets for the installation of the Mediawiki.

Local Setup Pre-requisites:

Please find the server details where the below mentioned are installed.

  • Local Server Details

Operating System โ€“ Red Hat 8

  • Please make sure Git , Terraform and Ansible are installed in the Local Server.

  • Create or use the existing AWS Access and Secret Access Keys of the AWS Account with the administrator access associated to the IAM user. Please copy the keys and execute in the local server so that the resources are created in the AWS Infrastructure.

  • Clone the Github repository in the local server machine.

https://github.com/Dileeprithvi/assesment

where we have to change the permission of the thought.pem (664) file after cloning the repository to thought.pem (600)

After completion of all the steps above, we are all set to go to run the snippets where the Terraform will create the AWS EC2 machine and wait for around 120 seconds (mentioned in the snippet), then Ansible server (i.e. local server) will connect to the newly created EC2 machine through SSH and installs the Mediawiki.

Note : I am connecting the Ansible server to the newly created EC2 machine with the private IP, because I have the resources in the same VPC and the subnet.

Mediawiki Installation

  • Execute terraform init command

  • Execute terraform plan command

  • Execute terraform apply --auto-approve command (auto approve doesn't prompt us for the yes/no)

Accessing the Mediawiki

Verifying the Mediawiki Installation with the sample URL below:

E.g. http://<public-ip>/mediawiki/

http://3.84.53.133/mediawiki/

Post-Installation

  • Click on the Continue

  • We are good enough to move forward and click on the continue

We have got the Database Connection Page. Please fill the details as the below and click on the continue

Database Name : wikidatabase

Database Username : wiki

Database Password : THISpasswordSHOULDbeCHANGED

Note : The above details are provided as in the part of the spinning and configuring the target machine.

  • If the provided details are correct, we will get the below page. Click on the Continue

  • Please fill the details below and click on the continue

Name of the wiki: TestingPage

Your username: admin

Password: THISpasswordSHOULDbeCHANGED

Password again: THISpasswordSHOULDbeCHANGED

Email address: [email protected]

  • Scroll the bottom of the page and click on the continue

  • Click on the continue

  • Click on the continue

  • Mediawiki generated Localsetting.php and it contains the configuration. Download the file.

  • We need to copy the Localsetting.php inside the target's folder /var/www/Mediawiki

Note : I am using MobaXterm software, where I am creating the sftp session and transferring the file in my Download section to the target machine

  • Copy the Localsetting.php from the /home/ec2-user to /var/www/Mediawiki

Great!!!!!!! We have got our Page

assesment's People

Contributors

dileeprithvi avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.