Follow simple steps below to install Ubuntu 14.04 as a vagrant box. Make sure that you already have Oracle VM VirtualBox is running on your operation system.

Download vagrant

Download vagrant from it's website and install it to your computer.

Find Ubuntu box

Go to vagrant ubuntu boxes link to find the correct Ubuntu box information. In this example, we're going to use ubuntu/trusty64-juju box.

Add box

Open up a new terminal window and add Ubuntu vagrant box with command below. Once you do this, you won't need to do it again because the box is in your system now. If you need to set up a new virtual environment, you'll by-pass this step.

$ vagrant box add ubuntu/trusty64-juju
==> box: Loading metadata for box 'ubuntu/trusty64-juju'
box: URL:
==> box: Adding box 'ubuntu/trusty64-juju' (v20160621.0.0) for provider: virtualbox
box: Downloading:
==> box: Successfully added box 'ubuntu/trusty64-juju' (v20160621.0.0) for 'virtualbox'!

Create a new project folder

$ mkdir ubuntu-trusty64-juju
$ cd ubuntu-trusty64-juju/

Initialise vagrant box

$ vagrant init ubuntu/trusty64-juju
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`` for more information on using Vagrant.

Run vagrant box

After this process, your new box will be added to Oracle VM VirtualBox which you can see if you open it up.

$ vagrant up

At the bottom of command output, you'll see lines below.

==> default: From your browser on your hosts, you should be able to
==> default: access the GUI by going to:
==> default:
==> default: Your password is: v8ZQ/rUg
==> default: juju-gui start/running, process 14315
==> default: juju-gui start/running, process 14315

If you go to and type admin:v8ZQ/rUg to login, you'll see Juju admin screen. I haven't explored what it is for but you can have a look.

Access the box

$ vagrant ssh

Now you can start using your Ubuntu box.

Listing and getting into root folder

# List root folder
vagrant@vagrant-ubuntu-trusty-64:~$ ls -l /vagrant
total 4
drwxr-xr-x 1 vagrant vagrant 68 Jun 24 12:45 charms
-rw-r--r-- 1 vagrant vagrant 3024 Jun 24 12:43 Vagrantfile

# Get into root folder
vagrant@vagrant-ubuntu-trusty-64:~$ cd /vagrant
vagrant@vagrant-ubuntu-trusty-64:/vagrant$ ls -l
total 4
drwxr-xr-x 1 vagrant vagrant 68 Jun 24 12:45 charms
-rw-r--r-- 1 vagrant vagrant 3024 Jun 24 12:43 Vagrantfile