vagrant development environment provisioned with shell scripts on precise64 box
Shell PHP
Latest commit 2edbc6a Oct 8, 2014 @pixelhandler Merge pull request #3 from cbrunnkvist/patch-1
Fix comments re. ruby-1.9.1 install
Permalink
Failed to load latest commit information.
bin
dotfiles Update .gitconfig Sep 3, 2014
vagrant-shell-scripts @ cd52c62 update vagrant-shell-scripts Feb 1, 2014
www add .gitignore Oct 29, 2012
.gitignore add security section to not commit ssh keys: dotfiles/.ssh/*rsa* Dec 27, 2012
.gitmodules Vagrant setup, provision with shell scripts Oct 5, 2012
README.md
Vagrantfile update Vagrantfile and provision scripts Feb 4, 2014
provision.sh update Vagrantfile and provision scripts Feb 4, 2014

README.md

Vagrant Development Environment

Vagrant development environment provisioned with shell scripts on a (linux/ubuntu) precise64 box

Setup

  1. Install VirtualBox (version 4.1.22 or 4.1.23 not 4.2)
  2. Install Vagrant (vagrantup.com)
  3. Clone repo git clone git://github.com/pixelhandler/vagrant-dev-env.git
  4. Build box cd vagrant-dev-env
  5. Add submodule git submodule init
  6. Update vagrant-shell-scripts submodule git submodule update
  7. Fire up your box vagrant up
  8. Add to your hosts file: echo '192.168.50.4 precise64' >> /etc/hosts

(If bin/lamp.sh is incuded in provision script) Visit http://precise64 or http://precise64/phpinfo.php to working apache vhost

Provision.sh and /bin

The precise64 box uses a shell script to provision the vagrant box. Also in the /bin/ directory are the shell scripts for installing apache, mysql, php, mongo, node.js, ruby, yeoman.io and my vim-config with a bunch of tools for an IDE.

INFO:

Build Something

  1. If not already in the repo's root directory cd vagrant-dev-env (or the path you created)
  2. Login to your presice64 box via ssh vagrant ssh (the examples below are run from the vagrant box after connecting via ssh)