Skip to content

Instantly share code, notes, and snippets.

@mejackreed
Last active January 22, 2016 01:25
Show Gist options
  • Save mejackreed/727e9cd2e971ca3949a2 to your computer and use it in GitHub Desktop.
Save mejackreed/727e9cd2e971ca3949a2 to your computer and use it in GitHub Desktop.
Creating the geoblacklight-ubuntu32 box

Procedural steps to generating and creating a Vagrant box used in the GeoBlacklight Workshop.

  1. Download Ubuntu 14.04 32-bit server from http://releases.ubuntu.com/14.04/ubuntu-14.04-server-i386.iso
  2. Download and install VirtualBox 4.3.20 https://www.virtualbox.org/wiki/Downloads
  3. Download and install Vagrant https://www.vagrantup.com/downloads.html
  4. Follow "Build a box" tutorial to create a virtual machine Install the following:
    • Make sure to use the VirtualBox 4.3.20 GuestAdditions tools version
    • Install Ruby, Rails, and Git following this guide https://gorails.com/setup/ubuntu/14.04
      • Using Ruby 2.1.5
      • rbenv install 2.1.5
      • rbenv global 2.1.5
      • gem update --system
      • gem install bundler rails --no-rdoc --no-ri
    • Install Java
      • sudo apt-get install openjdk-7-jre-headless
  5. Export the virtual machine to a directory
  • cd to the directory of the workshop
  • cd geoblacklight_workshop_2015_06_09
  • vagrant package --base geoblacklight-ubuntu32 --output geoblacklight-v1.1
  1. Initialize vagrant
  • vagrant init

Good to go!

Creating new version:

Machine Specs

  • ubuntu-14.04.3 server 32bit
  • 1 GB Ram
  • 8 GB HD (dynamically allocated)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment