aboutsummaryrefslogtreecommitdiffstats
path: root/docs/to-be-reorganized/installation.rst
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2015-10-21 13:56:38 +0100
committerMaryam Tahhan <maryam.tahhan@intel.com>2015-10-23 13:58:15 +0000
commitf1227a6fc81552c59fa56fe63db872871982adcc (patch)
treeb7749620fa89407375fdbc57fad5d73df4eab6e9 /docs/to-be-reorganized/installation.rst
parent52eacb37b9e6d11174c23bd053f7ad42b1581dd3 (diff)
systems directory scripts for Centos7
Installation scripts for Centos7 have been updated with new packages. Script will install also python3 packages and create python virtual environment. As a last step DPDK, OVS and QEMU will be compiled. So after script execution VSPERF should be ready for use. It is recommended to execute installation script from user account with password less sudo access. Otherwise python environment must be copied over from root home directory. After VSPERF generic Makefile will be created by VSPERF-114, it can be enhanced to call build script too. Change-Id: I6ff5d2660af29cf8be134a4cae3b1d7b559892fa JIRA: VSPERF-93 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Signed-off-by: Abdul Halim <abdul.halim@intel.com> Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com> Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Diffstat (limited to 'docs/to-be-reorganized/installation.rst')
-rw-r--r--docs/to-be-reorganized/installation.rst55
1 files changed, 9 insertions, 46 deletions
diff --git a/docs/to-be-reorganized/installation.rst b/docs/to-be-reorganized/installation.rst
index 90de7a0a..272993ef 100644
--- a/docs/to-be-reorganized/installation.rst
+++ b/docs/to-be-reorganized/installation.rst
@@ -8,55 +8,18 @@ Collections (see
https://www.softwarecollections.org/en/scls/rhscl/python33) should be
enabled.
-Install the requirements as specified below.
+Installation of required packages and preparation of Python 3 virtual
+environment is performed by systems/build_base_machine.sh. It should be
+executed under user account, which will be used for vsperf execution.
+Password less sudo access must be configured for given user account
+before script is executed.
-Enable Software Collections (SCL)
----------------------------------
+Execution of installation script:
- .. code-block:: console
-
- yum -y install scl-utils
- yum -y install https://www.softwarecollections.org/en/scls/rhscl/python33/epel-7-x86_64/download/rhscl-python33-epel-7-x86_64.noarch.rpm
-
-(Optional) Enable Repoforge (for stress)
-----------------------------------------
-Allows optional installation of stress tool, which is required by load tests.
-
- .. code-block:: console
-
- yum -y install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
-
-System packages
------------------
-There are a number of packages that must be installed using `yum`. These can be installed like so:
-
- .. code-block:: console
-
- yum -y --exclude=python33-mod_wsgi* install python33-* pciutils
-
-Optional installation of stress tool
-
- .. code-block:: console
-
- yum -y install stress
-
-Python 3 Packages
------------------
-
-To avoid file permission errors and Python version issues, use
-virtualenv to create an isolated environment with Python3. The required
-Python 3 packages can be found in the ``requirements.txt`` file in the
-root of the test suite. They can be installed in your virtual
-environment like so:
-
- .. code-block:: bash
+.. code:: bash
- scl enable python33 bash
- # Create virtual environment
- virtualenv vsperfenv
- cd vsperfenv
- source bin/activate
- pip install -r requirements.txt
+ cd systems
+ ./build_base_machine.sh
You need to activate the virtual environment every time you start a new
shell session. To activate, simple run: