GithubHelp home page GithubHelp logo

vagrant-setup's Introduction

Basic Vagrant Setup

Some basic vagrant files for provisioning an Ubuntu 14.04 VirtualBox with some basic niceties (git, tmux, htop, zsh). The vagrant box syncs local folders

  • d:\local -> /home/vagrant/local
  • d:\projects -> /home/vagrant/projects, and
  • d:\stash -> /home/vagrant/stash.

Various additional packages/resources can be installed by copying the relevant script from dev/install-scripts to dev/install. Right now, only the following are included (maybe more to come in the future):

  • Anaconda Python 2.7, 3.4 or 3.latest (plus Accelerate/Iopro if you have a license)
  • set up a IPython notebook server (Python 2.7 or 3.4) (run with ipython notebook --profile nbserver; located on port 8888)
  • Java JDK 8 (Oracle)
  • Scala 2.11.7 + SBT 0.13.9
  • Docker (latest, plus start the Docker daemon)

Usage:

  1. (Optional) Download install resources and put them in the resources directory (e.g., Anaconda2-2.4.1-Linux-x86_64.sh). Put any other required resources (contents of ~/.ssh, a hosts file, Continuum licences, etc...).

  2. Copy desired install scripts from ./install-scripts to ./install.

  3. Edit Vagrantfile to sync your desired local directories to the corresponding directory in the VM.

  4. Run vagrant up.

To install additional packages into an existing vagrant box, copy the desired scripts to the dev/install directory and run vagrant up --provision.

Key vagrant commands

vagrant up : loads the VM

vagrant ssh : access the VM

vagrant reload --provision : reload the VM with updated settings

vagrant status : Shows the staus of the VM

vagrant suspend : to use it at the same point later

vagrant halt : stops it (power down)

vagrant destroy : deletes it

vagrant box update : updates the base box (ubuntu/trusty64)

vagrant-setup's People

Contributors

wkirwin avatar

Watchers

 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.