Victor Morales | 47a6f47 | 2017-08-09 14:25:50 -0500 | [diff] [blame^] | 1 | ================== |
| 2 | Installation Guide |
| 3 | ================== |
| 4 | |
| 5 | This project collects instructions related to the automatic creation |
| 6 | of a development environment. However, this requires only two |
| 7 | components previous to its execution. These are an automation |
| 8 | building tool (Vagrant) and a provider platform (VirtualBox, Libvirt |
| 9 | and OpenStack). This section explains how to install the most common |
| 10 | set of configuration(Vagrant/VirtualBox) in different Operating |
| 11 | Systems. |
| 12 | |
| 13 | Ubuntu 14.04 ("Trusty") |
| 14 | ----------------------- |
| 15 | |
| 16 | .. code-block:: console |
| 17 | |
| 18 | $ wget -q https://releases.hashicorp.com/vagrant/1.9.7/vagrant_1.9.7_x86_64.deb |
| 19 | $ sudo dpkg -i vagrant_1.9.7_x86_64.deb |
| 20 | $ echo "deb http://download.virtualbox.org/virtualbox/debian trusty contrib" >> /etc/apt/sources.list |
| 21 | $ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - |
| 22 | $ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add - |
| 23 | $ sudo apt-get update -y |
| 24 | $ sudo apt-get install -y virtualbox-5.1 dkms |
| 25 | |
| 26 | .. end |
| 27 | |
| 28 | CentOS |
| 29 | ------ |
| 30 | |
| 31 | .. code-block:: console |
| 32 | |
| 33 | $ wget -q https://releases.hashicorp.com/vagrant/1.9.7/vagrant_1.9.7_x86_64.rpm |
| 34 | $ sudo yum install vagrant_1.9.7_x86_64.rpm |
| 35 | $ wget -q http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo -P /etc/yum.repos.d |
| 36 | $ sudo yum --enablerepo=epel install dkms |
| 37 | $ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | rpm --import - |
| 38 | $ sudo yum install VirtualBox-5.1 |
| 39 | |
| 40 | .. end |
| 41 | |
| 42 | Mac OS |
| 43 | ------ |
| 44 | |
| 45 | .. code-block:: console |
| 46 | |
| 47 | $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
| 48 | $ brew cask install vagrant |
| 49 | $ brew cask install virtualbox |
| 50 | |
| 51 | .. end |
| 52 | |
| 53 | Windows 7+ (PowerShell v2+) |
| 54 | --------------------------- |
| 55 | |
| 56 | .. code-block:: console |
| 57 | |
| 58 | PS C:\> Set-ExecutionPolicy AllSigned |
| 59 | PS C:\> iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) |
| 60 | PS C:\> choco install vagrant |
| 61 | PS C:\> choco install virtualbox |
| 62 | |
| 63 | .. end |