Can you provide instuctions on how to install ab on a fedora distro with or without installing the apache web server? With yum or compiling from source.
Can you provide instuctions on how to install ab on a fedora distro with or without installing the apache web server? With yum or compiling from source.
On my CentOS 6.2, this worked:
Install apr-util(need to run ab):
Install yum-utils:
Download httpd an extract ab:
Run ab:
This should help you. It depends upon on Apache Portable Runtime library and APR-util library
http://code.google.com/p/apachebench-standalone/wiki/HowToBuild
For those who came here looking for Apache Benchmark (ab) binary, you should know that ab can be slow sometimes (testing nginx for example). Also, it requires apr-util to be installed (with sudo), and there is no standalone binary to download.
Instead, I'd recommend an alternative - wrk - it is faster and requires no dependencies:
https://github.com/wg/wrk
(Or the GO variant: https://github.com/tsliwowicz/go-wrk )