Skip to content

projectestac/vms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant VMS files for Projectes TAC

Requirements

  • You need to have Vagrant and the official VirtualBox installed.

  • [vagrant-hosts] vagrant plugin. It will be installed the first time you run vm script.

    vagrant plugin install vagrant-hosts

  • The host machine probably needs at least 8 GB of RAM.

  • You may need to [enable virtualization] manually.

Installation

  • Clone this project:

      git clone https://github.com/projectestac/vms.git
    
  • Enter the repository and launch the install script:

      cd vms
      ./vm
    
  • Please note that building the VM involves downloading an Ubuntu base box which is ~400MB in size.

VM usage

Always launch the Virtual Machine using the script ./vm. It updates the vms project and downloads updates of the base image. You may also want to use vagrant standard commands:

  • vagrant up to start the VM.

  • vagrant ssh to enter into the VM via ssh.

  • vagrant halt to stop the VM.

  • vagrant reload to restart the VM.

  • vagrant destroy to completely delete the VM. Asks for confirmation.

Hostnames and IP

You must add the following line to your /etc/hosts in order to get access to the VM:

192.168.56.5 agora-aws.xtec.cat agora-aws-se.xtec.cat agora-aws-projectes.xtec.cat agora-aws-nodes.xtec.cat agora-aws-eoi.xtec.cat

Useful links

Vagrant: https://www.vagrantup.com/
VirtualBox: https://www.virtualbox.org/
vagrant-hosts: https://github.com/oscar-stack/vagrant-hosts
vbguest: https://github.com/dotless-de/vagrant-vbguest
enable virtualization: https://www.sysprobs.com/disable-enable-virtualization-technology-bios