Skip to content

Instantly share code, notes, and snippets.

@riandyrn
Last active May 8, 2020 15:07
Show Gist options
  • Save riandyrn/bf5c5709445e2093eacbd8c5e02379af to your computer and use it in GitHub Desktop.
Save riandyrn/bf5c5709445e2093eacbd8c5e02379af to your computer and use it in GitHub Desktop.
[Install Tsung 1.7.0 on Ubuntu 16.04 - AWS]

Install Tsung 1.7.0

> sudo apt-get update
> sudo apt-get install erlang -y
> sudo apt-get install make -y
> sudo apt-get install gcc erlang-dev erlang-eunit -y
> wget http://tsung.erlang-projects.org/dist/tsung-1.7.0.tar.gz
> tar -xvzf tsung-1.7.0.tar.gz
> cd tsung-1.7.0
> ./configure --prefix=$HOME/opt/tsung-1.7.0
> make install

Install Dependency for Plot Script (tsung_stats.pl)

> sudo apt-get install gnuplot -y
> sudo cpan Template

Append Tsung Binary & Its Plot Script to Path

> cd /etc/profile.d
> sudo nano tsung.sh
> Insert following lines on file:
export PATH=$PATH:~/opt/tsung-1.7.0/bin
export PATH=$PATH:~/opt/tsung-1.7.0/lib/tsung/bin
> exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment