...
- Download and install jmeter: http://jmeter.apache.org
Ubuntu 16.04 LTS: installjmeter.sh
Code Block #!/bin/bash # get source from an apache mirror wget http://supergsego.com/apache//jmeter/binaries/apache-jmeter-3.12.tgz # verify the md5 local_md5=`md5sum apache-jmeter-3.12.tgz | cut -f 1 -d ' '` remote_md5=`curl https://www.apache.org/dist/jmeter/binaries/apache-jmeter-3.12.tgz.md5 | cut -f 1 -d ' '` if [ "$local_md5" != "$remote_md5" ] then echo "md5's do not match" exit else echo "congratulations md5s match" fi # untar it. tar xvfz apache-jmeter-3.12.tgz # move it sudo mv apache-jmeter-3.12 /usr/local/apache-jmeter-3.12 # link it sudo ln -s /usr/local/apache-jmeter-3.12/bin/jmeter /usr/bin/jmeter
...
Clone the Performance Analysis Project
Code Block git clone https://github.com/fcrepo4-labs/fcrepo_perf_analysis.git
Download and install the latest version of R https://www.r-project.org/
- Ubuntu 16.04 LTS: installr.sh
Start
R
shellCode Block $R
Install R Packages: ggplot2, knitr, rmarkdown, svglite
Code Block language text install.packages("ggplot2") install.packages("knitr") install.packages("rmarkdown") install.packages("svglite")
Follow steps outlined in https://github.com/fcrepo4-labs/fcrepo_perf_analysis
Run all steps in one command using createreport.sh:
Code Block language bash ./createreport.sh perf.log report
...