V2 Vagrant Box Setup

V2Master | V2Deployment | XenialBaseBoxSetup

Introduction

To allow to minimize the effort needed to create a new virtual machine for a V2 system we prepare from a standard Ubuntu Vagrant Box a customized box containing all necessary software.

Currently the following software packages are added: * rbenv * ruby (1.9.3-p484 and 2.2.2)

How to create a customized Ubuntu 16.04 LTS 64 bit Vagrant box for V2

Create a new virtual machine based on the Ubuntu 16.04 LTS (Xenial) base box

See XenialBaseBoxSetup how to create the base Xenial vagrant box, if not created yet.

This example is using the virtual machine name xenial-rails and assumed that the port 20500 is free on the host system and can be used for SSH. The private network setting can also vary depending of the host machine.

Start the new VM set root password, create v2 user and update the packages database

Installing rbenv, ruby and bundler

Installig Apache 2 and Phusion Passenger 5

Repackaging the VM into a new Vagrant box

V2VagrantBoxSetup (last edited 2017-04-05 09:46:45 by TiborNagy)

Copyright 2008-2014, SoftXS GmbH, Switzerland