Multi-Tier web Application

This is Our First Project we are going to build Multi-Tier web application. 

What is multi-Tire web application:

A multi-tier application is any application developed and distributed among more than one layer. It logically separates the different application-specific, operational layers. A multi-tier application is also known as a multitiered application or n-tier application. 

We need certain tools to complete this project. 

 Tools are listed below are need to install in your computer before start the project.

GitHub

Virtual box

Sublet Text editor

GitHub:

      We gonna run all our command in GitHub, and will bring up all the virtual machine from GitHub.

How to download GitHub:

https://desktop.github.com/

    https://github.com/

Virtual box:

    This is where we gonna see all our server.

To Install Virtual box Click the below link and signup.

    https://www.virtualbox.org/wiki/Downloads

Sublet Text Editor:

    we use sublet text editor is it see Vagrantfile and its very easy to understand compare to other txt editors.

To install Sublet Text editor clik the link below.

    https://www.sublimetext.com/

                                             Signup from the above link for all the tools.


STEPS TO COMPLETE OUR FIRST Project

Set up tools

Clone source code

Cd into vagrant dir.

Bring up VM'source

Check Vm are running.

Setup Servers

     MySQL

     Memcached

     RabbitMQ

     Tomcat

     Nginx

    App Build & Deploy

Verify from browser.


These are Pre-requisites

Virtual box

Vagrant and its Plugins

Git bash for this project

 Hope by this time we should install all this in our machine.



Servers Details:

MySQL---------------Database

Memcached---------DB Caching

RabbitMQ---------------Broker 

Tomcat-----------Application Server

Ngnix-----------------Web Server


We need to download the server only in the below mentioned Order.


Before Bring up Virtual box  we ned to setup these.

    1.clone source code from github repo.(Need to copy that repo to our machine)

            https://github.com/devopshydclub/vprofile-project.git

    2.Cd into repo

    3.Switch to local-setup branch ( Local-setup is where we have vagrant file to bring up all vm server)

    4.cd into vagrant file.


Bring up all Virtual box

    Vagrant init

    Vagrant up

It takes a long time to bring up VM depending on each machine. If it stops in middle try to run again.

To check all VM automatically running

    Try this command /etc/hosts/


Click the link below to see the steps to install the Server.

MySQL Server Setup  

Memcached Server Setup 

RabbitMQ Server Setup 

Tomcat Server Setup 

Ngnix Server setup 


Get in touch with