Skip to content

Vagrant

batako edited this page Mar 30, 2020 · 3 revisions

STEP.1 Install VirtualBox

Downloads – Oracle VM VirtualBox

STEP.2 Install Vagrant

Download - Vagrant by HashiCorp

STEP.3 Create a vagrant account

Vagrant Cloud

STEP.4 Login to vagnrat

$ vagrant login

STEP.5 Download centos/7

It is unnecessary if STEP.7 can be executed normally.

Select virtualbox for provider.

$ vagrant box add centos/7 --insecure
==> box: Loading metadata for box 'centos/7'
    box: URL: https://vagrantcloud.com/centos/7
This box can work with multiple providers! The providers that it
can work with are listed below. Please review the list and choose
the provider you will be working with.

1) hyperv
2) libvirt
3) virtualbox
4) vmware_desktop

Enter your choice: 3
==> box: Adding box 'centos/7' (v1905.1) for provider: virtualbox
    box: Downloading: https://vagrantcloud.com/centos/boxes/7/versions/1905.1/providers/virtualbox.box
    box: Download redirected to host: cloud.centos.org
==> box: Successfully added box 'centos/7' (v1905.1) for 'virtualbox'!

STEP.6 Copy Vagrantfile

Rename one of the following to Vagrantfile.

  • Vagrantfile.develop
  • Vagrantfile.reviewer

STEP.7 Run vagrant

$ vagrant up

STEP.8 SSH connection to centos/7

$ vagrant ssh

STEP.9 Setup mine_blockly

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/batako/mine_blockly/develop/scripts/installer.centos7.sh)"
Clone this wiki locally