340c15c6ed
The CI gate will fail if there are typos in the docs. writing output... [ 21%] events/Summits/OpensourceSummit... writing output... [ 22%] events/Summits/UKNO/2017_04_30_... featuresbyrelease/vpp16.06.rst:34:Rasberry:vpp16.06 writing output... [100%] usecases/vppinazure Spelling checker messages written to /vpp/docs/_build/html/output.txt Warning, treated as error: Found 1 misspelled words Makefile:31: recipe for target 'html' failed make[1]: *** [html] Error 2 make[1]: Leaving directory '/vpp/docs' If you introduce a term that is not recognized, please add it to custom dictionary at docs/spelling_wordlist.txt. Type: feature Change-Id: Id49be4fbee617f544f1ab8e78e7de8a4df36448b Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
57 lines
1.2 KiB
ReStructuredText
57 lines
1.2 KiB
ReStructuredText
.. _VagrantVMSetup:
|
|
|
|
.. toctree::
|
|
|
|
Accessing your VM
|
|
^^^^^^^^^^^^^^^^^
|
|
ssh into the newly created box:
|
|
|
|
.. code-block:: shell
|
|
|
|
$ vagrant ssh <id>
|
|
|
|
Sample output looks like:
|
|
|
|
.. code-block:: console
|
|
|
|
$ vagrant ssh c1c
|
|
Welcome to Ubuntu 16.04 LTS (GNU/Linux 4.4.0-21-generic x86_64)
|
|
|
|
* Documentation: https://help.ubuntu.com/
|
|
Last login: Mon Jun 25 08:05:38 2018 from 10.0.2.2
|
|
vagrant@localhost:~$
|
|
|
|
|
|
.. note::
|
|
|
|
Type **exit** in the command-line if you want to exit the VM.
|
|
|
|
Become the root with:
|
|
|
|
.. code-block:: shell
|
|
|
|
$ sudo bash
|
|
|
|
Now *install* VPP in the VM. Keep in mind that VPP is already built (but not yet installed) at this point based on the commands from the provisioned script *build.sh*.
|
|
|
|
When you ssh into your Vagrant box you will be placed in the directory */home/vagrant*. Change directories to */vpp/build-root*, and run these commands to install VPP based on your OS and architecture:
|
|
|
|
For Ubuntu systems:
|
|
|
|
.. code-block:: shell
|
|
|
|
# dpkg -i *.deb
|
|
|
|
For CentOS systems:
|
|
|
|
.. code-block:: shell
|
|
|
|
# rpm -Uvh *.rpm
|
|
|
|
|
|
Since VPP is now installed, you can start running VPP with:
|
|
|
|
.. code-block:: shell
|
|
|
|
# service vpp start
|