Changes between Initial Version and Version 1 of DeveloperGuidelines/Testing/Load/Setup


Ignore:
Timestamp:
06/29/13 14:01:02 (9 years ago)
Author:
somayjain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Testing/Load/Setup

    v1 v1  
     1= Setup for Load tests =
     2
     3The following needs to be installed for doing the load testing using tsung.
     4
     5* erlang - Version : R16B01
     6* tsung-1.4.2
     7
     8For report generation -
     9* zlib-1.2.8
     10* libpng-1.2.8
     11* freetype-2.4.0
     12* gd-2.0.33
     13* gnuplot-4.0.0
     14
     15The installation script for installing these is here -
     16
     17{{{
     18
     19#!/bin/sh
     20
     21# Download erlang source
     22wget http://erlang.org/download/otp_src_R16B01.tar.gz
     23tar xzf otp_src_R16B01.tar.gz
     24cd otp_src_R16B01
     25
     26# Install erlang
     27./configure -prefix=/opt/erlang-R16B01
     28make
     29
     30# Add /opt/erlang-R16B01/bin to path
     31# in /etc/profile, add
     32echo "export PATH=$PATH:/opt/erlang-R16B01/bin" >> /etc/profile
     33
     34. /etc/profile
     35
     36cd ..
     37
     38# Download tsung.
     39wget http://tsung.erlang-projects.org/dist/tsung-1.4.2.tar.gz
     40tar zxf tsung-1.4.2.tar.gz
     41cd tsung-1.4.2
     42
     43# Install tsung
     44./configure --prefix=/opt/tsung-1.4.2
     45sudo make install
     46
     47# Add /opt/tsung-1.4.2/bin to path
     48# in /etc/profile, add
     49echo "export PATH=$PATH:/opt/tsung-1.4.2/bin" >> /etc/profile
     50
     51. /etc/profile
     52
     53sudo cpan Template
     54
     55cd ..
     56
     57# install zlib
     58wget zlib.net/zlib-1.2.8.tar.gz
     59tar xzf zlib-1.2.8.tar.gz
     60cd zlib-1.2.8
     61./configure --prefix=/opt/zlib-1.2.8
     62make test
     63sudo make install
     64
     65cd ..
     66
     67# install libpng
     68wget download.sourceforge.net/libpng/libpng-1.2.8.tar.gz
     69tar xzf libpng-1.2.8.tar.gz
     70cd libpng-1.2.8/
     71cp scripts/makefile.linux makefile
     72make
     73make test
     74sudo make install
     75
     76cd ..
     77
     78# install freetype
     79wget download.savannah.gnu.org/releases/freetype/freetype-2.4.0.tar.gz
     80tar xzf freetype-2.4.0.tar.gz
     81cd freetype-2.4.0
     82./configure --prefix=/opt/freetype-2.4.0
     83make
     84sudo make install
     85
     86cd ..
     87
     88# install gd for png support of gnuplot.
     89wget www12.tucows.com/linux/files/gd-2.0.33.tar.gz
     90tar xzf gd-2.0.33
     91cd gd-2.0.33
     92./configure --prefix=/opt/gd-2.0.33
     93sudo make install
     94
     95cd ..
     96
     97# Install gnuplot
     98wget http://sourceforge.net/projects/gnuplot/files/gnuplot/4.6.3/gnuplot-4.0.0.tar.gz
     99tar xzf gnuplot-4.0.0.tar.gz
     100cd gnuplot-4.0.0
     101./configure --prefix=/opt/gnuplot-4.4.0
     102sudo make install
     103
     104# Add /opt/gnuplot-4.4.0/bin to path
     105# in /etc/profile, add
     106echo "export PATH=$PATH:/opt/tsung-1.4.2/bin" >> /etc/profile
     107
     108. /etc/profile
     109}}}
     110
     111
     112* Note : It is advisable to install the same versions of above tools on all server(s)/clients(s).