aboutsummaryrefslogtreecommitdiffstats
path: root/docs/userguide/03-installation.rst
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2016-05-09 20:27:12 +0000
committerliang gao <jean.gaoliang@huawei.com>2016-05-11 05:36:14 +0000
commitc548fd88d8e8d67fdd0171c87bcdaf812603845b (patch)
tree9f8150d3d4b0ca1a653a6de93c5638de965cf514 /docs/userguide/03-installation.rst
parent6cdfc4c27daa53f8418614933ae451d8a12d8b83 (diff)
User guide update
Add an dditional step to use the guest image building tools (yardstick-img-modify). JIRA: - Change-Id: I72bb4b9476c941fa9c1edbb1b9008af7aa048696 Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'docs/userguide/03-installation.rst')
-rw-r--r--docs/userguide/03-installation.rst25
1 files changed, 23 insertions, 2 deletions
diff --git a/docs/userguide/03-installation.rst b/docs/userguide/03-installation.rst
index 47a3ea834..f68c1d9d7 100644
--- a/docs/userguide/03-installation.rst
+++ b/docs/userguide/03-installation.rst
@@ -34,8 +34,20 @@ Installing Yardstick framework
Install dependencies:
::
- sudo apt-get install python-virtualenv python-dev
- sudo apt-get install libffi-dev libssl-dev git
+ sudo apt-get update && sudo apt-get install -y \
+ wget \
+ git \
+ sshpass \
+ qemu-utils \
+ kpartx \
+ libffi-dev \
+ libssl-dev \
+ python \
+ python-dev \
+ python-virtualenv \
+ libxml2-dev \
+ libxslt1-dev \
+ python-setuptools
Create a python virtual environment, source it and update setuptools:
::
@@ -65,6 +77,7 @@ Yardstick has an internal plotting tool ``yardstick-plot``, which can be install
using the following command:
::
+ sudo apt-get install -y g++ libfreetype6-dev libpng-dev pkg-config
python setup.py develop easy_install yardstick[plot]
.. _guest-image:
@@ -75,6 +88,14 @@ Yardstick has a tool for building an Ubuntu Cloud Server image containing all
the required tools to run test cases supported by Yardstick. It is necessary to
have sudo rights to use this tool.
+Also you may need install several additional packages to use this tool, by
+follwing the commands below:
+::
+
+ apt-get update && apt-get install -y \
+ qemu-utils \
+ kpartx
+
This image can be built using the following command while in the directory where
Yardstick is installed (``~/yardstick`` if the framework is installed
by following the commands above):