Git Product home page Git Product logo

vagrant-jantos's Introduction

Jantos on CentOS using Vagrant

(Java Ant Node Tomcat Oracle Subversion) on CentOS using Vagrant and headless VirtualBox

Default Add-ons:

  • Subversion: latest (v1.8.9+)
  • Node.js: v0.12.4
  • Java: JDK 8 update 45
  • Tomcat: 7.0.53
  • Ant: 1.9.5
  • Oracle: Express Edition 11g Release 2 ⬇️

⬇️ : Requires manual download, see requirements section below

Requirements

  • Install VirtualBox from virtualbox.org

  • Install Vagrant from vagrantup.com

  • An internet connection is required to provision the box for the first time

  • If JDK6 needs to be installed

    • Download Sun Java JDK 6 ( update 45 ) from here. Use the jdk-6u*-linux-x64-rpm.bin file.
    • Put it in the folder [projectroot]/install/java/ (Create directories if required)
  • If Oracle needs to be installed

    • Download Oracle XE 11g from here. Use the oracle-xe-11.2.0-1.0.x86_64.rpm.zip file
    • Put in [projectroot]/install/oracle/ (Create directories if required)
  • For Windows Hosts:

    • Ensure that you have VirtualBox directory in your %PATH%. Usually Program Files\Oracle\VirtualBox for default installations
    • To use ssh on Windows OS, install ssh client like Cygwin, MinGW or Git, all of which contain an SSH client. Or use PuTTY SSH client the following authentication information:
Host: 127.0.0.1
Port: 2222
Username: vagrant

Installation

  • Check out this project:

      git clone https://github.com/abhishekdev/vagrant-jantos.git
    
  • Install [vbguest]:

      vagrant plugin install vagrant-vbguest
    
  • [Optional] Tweak configurations in [projectroot]/Vagrantfile, [projectroot]/puppet/manifests/base.pp

  • Boot the machine from project root.

      vagrant up
    

How To

Use the VM

  • Connect to the new machine from the project root

      vagrant ssh	
    
  • If required, password for root is vagrant

Connect to Oracle

Connect to Oracle using SQL Developer at localhost:1521/XE as system with password manager. e.g. if you have sqlplus installed on the host machine you may connect with:

     sqlplus system/manager@//localhost:1521/XE

Use Tomcat

  • Connect to the machine using vagrant ssh
  • Startup Tomcat using the command $CATALINA_HOME/bin/startup.sh
  • Shutdown Tomcat using the command $CATALINA_HOME/bin/shutdown.sh

TODO

  • Setup tomcat as a service OR a command
  • Parametrize credentials for Oracle/Tomcat Admin

vagrant-jantos's People

Contributors

abhishekdev avatar chadwickthebold avatar

Watchers

James Cloos 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.