Code Monkey home page Code Monkey logo

vagrant-web-stack's Introduction

Setup Java application with Apache tomcat, Nginx and Mysql server using Vagrant

Steps

  • VM Host db01
    • Mysql database is initialized with private ip 192.168.56.15
    • mysql.sh contains the provison script
  • VM Host mc01
    • Memchcahe vm is initialized with private ip 192.168.56.14
    • memcache.sh contains the provison script
  • VM Host rmq01
    • RabbitMQ vm is initialized with private ip 192.168.56.13
    • rabbitmq.sh contains the provison script
  • VM Host app01
    • Apache tomcat vm is initialized with private ip 192.168.56.12
    • tomcat.sh contains the provison script
  • VM Host web01
    • Nginx server vm is initialized with private ip 192.168.56.11
    • nginx.sh contains the provison script

Prerequisites

  • JDK 1.8 or later
  • Maven 3 or later
  • MySQL 5.6 or later

Technologies

  • Web Application
    • Spring MVC
    • Spring Security
    • Spring Data JPA
    • JSP
  • Maven
  • MySQL
  • RabbitMQ
  • Memcache
        ┌─────┐   
        │NGINX│             
        └─────┘
          |↑
          ||   _______┌─────┐
          ||  //-----→│MySQL│←-----
          ↓|  ↓|      └─────┘----||
    ┌─────────────┐     |↑       ||
    │Tomcat_Server│     ||       ||
    └─────────────┘     ↓|       ||
          |↑        ┌────────┐   ||
          ||        │Memcache│   ||
          ||        └────────┘   || 
          ↓|         ↑|          ||
      ┌────────┐     //          ||
      │RabbitMQ│____//           ||
      └────────┘←----            //
          |↑                    //
          ||___________________//
          ----------------------     

Command

vagrant up 

Web application can be accessible at http://192.168.56.11/

vagrant-web-stack's People

Contributors

ajaykumar1234 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.