Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

Quick Setup with Vagrant

Dana Van Aken edited this page Dec 12, 2017 · 3 revisions

This page shows how to set up a custom VM using the provided Vagrantfile. Vagrant handles the installation of dependencies and other common setup tasks. This means that the VM is ready to use once it's been initialized.

  1. Install Git and Vagrant (if needed).
  1. Clone the OtterTune repo

    git clone https://github.com/cmu-db/ottertune.git
  2. Initialize the vagrant box

    cd ottertune/server/website/script/installation
    vagrant up
  3. Connect to the vagrant box

    vagrant ssh
  4. The different options for bringing down the VM are listed here: https://www.vagrantup.com/intro/getting-started/teardown.html

  5. Now move on to the Getting Started guide

Updating the VM

After making changes to the Vagrantfile or bootstrap.sh, the VM needs to be provisioned again for those changes to take effect.

If the VM is running:

vagrant reload --provision

Otherwise:

vagrant up --provision