Tsung

rpm –q gcc

rpm –q perl

确认已安装gcc perl  ncurses-devel

Tsung是用erlang写的需要安装erlang

# wget http://www.erlang.org/download/otp_src_17.0.tar.gz

# tar -zxvf otp_src_R14B04.tar.gz

# cd otp_src_R14B04

# ./configure --prefix=/usr/local/erlang

# make

# make install

安装Tsung

# wget http://tsung.erlang-projects.org/dist/tsung-1.5.1.tar.gz

# tar -zxvf tsung-1.4.2.tar.gz

# cd tsung-1.4.2

# ./configure --prefix=/usr/local/tsung --with-erlang=/usr/local/erlang

# make

# make install

安装perl的Template

           Tsung 生成统计报告时需要用到该模板

# wget http://www.cpan.org/authors/id/A/AB/ABW/Template-Toolkit-1.07.tar.gz

# tar -zxvf Template-Toolkit-1.07.tar.gz

# cd Template-Toolkit-1.07

# perl Makefile.PL

# make

# make test

# make install

gunlop安装

wget http://ftp.cstug.cz/pub/CTAN/graphics/gnuplot/4.6.5/gnuplot-4.6.5.tar.gz

tar zxvf gnuplot-4.6.5.tar.gz 

cd gnuplot-4.6.5

./configure --prefix=/usr/local/gnulot

make

make install

确定gnuplot支持png,输入shell命令:gnuplot

gnuplot> set terminal

然后按回车确认是否已经支持png,看到下面这行,说明已经支持了:

1.   png  PNG images using libgd and TrueType fonts 

退出gnuplot的命令为:exit

原文地址:https://www.cnblogs.com/hujihon/p/3707809.html