aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/doc/source/install/index.rst
blob: 248c956bbd6aebb12e820a7b7544ebbe844c0988 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
==================
Installation Guide
==================

This project collects instructions related to the automatic creation
of a development environment. However, this requires only two
components previous to its execution.  These are an automation
building tool (Vagrant) and a provider platform (VirtualBox, Libvirt
and OpenStack). This section explains how to install the most common
set of configuration(Vagrant/VirtualBox) in different Operating
Systems.

Ubuntu 14.04 ("Trusty")
-----------------------

.. code-block:: console

    $ wget -q https://releases.hashicorp.com/vagrant/1.9.7/vagrant_1.9.7_x86_64.deb
    $ sudo dpkg -i vagrant_1.9.7_x86_64.deb
    $ echo "deb http://download.virtualbox.org/virtualbox/debian trusty contrib" >> /etc/apt/sources.list
    $ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
    $ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
    $ sudo apt-get update -y
    $ sudo apt-get install -y virtualbox-5.1 dkms

.. end

CentOS
------

.. code-block:: console

    $ wget -q https://releases.hashicorp.com/vagrant/1.9.7/vagrant_1.9.7_x86_64.rpm
    $ sudo yum install vagrant_1.9.7_x86_64.rpm
    $ wget -q http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo -P /etc/yum.repos.d
    $ sudo yum --enablerepo=epel install dkms
    $ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | rpm --import -
    $ sudo yum install VirtualBox-5.1

.. end

Mac OS
------

.. code-block:: console

    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    $ brew cask install vagrant
    $ brew cask install virtualbox

.. end

Windows 7+ (PowerShell v2+)
---------------------------

.. code-block:: console

    PS C:\> Set-ExecutionPolicy AllSigned
    PS C:\> iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
    PS C:\> choco install vagrant
    PS C:\> choco install virtualbox

.. end