Installing tsung on an amazon t2.micro server

Installing tsung on an amazon t2.micro server

install ubuntu 14.04

#apt-get update
#apt-get install erlang erlang-dev erlang-eunit
#tar -xvzf tsung-1.5.1.tar.gz
#cd tsung-1.5.1
#make install
#tsung-recorder start



That is it!!  you are now collecting data and you can run a recording session.







———————–read below for instructions on a failed attempt

Install Ubuntu 14.04,  launch and run

#apt-get update
#apt-get install tsung

still comes up with a crash report becuase tsung is attempting to use the wrong version of erlang,  it seems that the tsung build expects a different version of erlang,  perhaps becuase the versions that are considered the most up to date by debian are not compatile




—–read below if you want instructions that i started but did not work because amazons yum based AMI sucks compared to ubuntu



apt-Once you launch and connect to the Amazon server (i choose a small amazon server which already has  the amazon cli tools installed)

#sudo yum update
#sudo yum --nogpgcheck install
#sudo ln -s /usr/bin/erl /bin/erl     #(not sure why the package install erlang in one location and tsung looks in another ....)

Now you are ready to run the tsung command to record your session

#tsung-recorder start -d 7 -P htt

But you get the error below…

Starting Tsung recorder on port 8090
[root@ip-172-16-1-236 ~]# {"init terminating in do_boot",{undef,[{tsung_recorder,start,[]},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()