Skip to content

Instantly share code, notes, and snippets.

@UKNC
Last active November 4, 2016 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save UKNC/0de259b8a1c9f93f231d89b0ac230ece to your computer and use it in GitHub Desktop.
Save UKNC/0de259b8a1c9f93f231d89b0ac230ece to your computer and use it in GitHub Desktop.
Install httperf from source on CentOS 6

Get and unzip source

wget https://github.com/httperf/httperf/archive/master.zip
unzip master.zip
cd httperf-master

Change ulimit -n

Change ulimit -n to desired value, for example:

echo '* soft nofile 20000' >> /etc/security/limits.conf

Install libtool

yum install -y libtool

Create folder m4 for autotools

The folder is not created automatically but must be present so that the autotools could work

mkdir m4

Configure and build

autoreconf –install
autoconf configure.ac
./configure
make
make install

The binary is installed into /usr/local/bin/. Make sure it's in your PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment