Here’s how to build dnsperf 2.0 from source code on CentOS6.4 64bit
There are dnsperf RPM packages for 32bit OS, however there are no RPM packages for 64bit OS.
So in case of 64bit OS, we need to build dnsperf from source code.
# cat /etc/centos-release
CentOS release 6.4 (Final)
# uname -ri
2.6.32-358.11.1.el6.x86_64 x86_64
|
[ preparation before building dnsperf ]
1. install RPM packages which are required to build dnsperf.
# yum install -y bind bind-devel bind-libs libcap-devel libxml2-devel gnuplot
|
2. prepare hmacsha.h header file from BIND source code.
# wget ftp://ftp.isc.org/isc/bind9/9.9.3-P1/bind-9.9.3-P1.tar.gz
# tar xzvf bind-9.9.3-P1.tar.gz
# cp bind-9.9.3-P1/lib/isc/include/isc/hmacsha.h /usr/include/isc
|
3. make symbolic link files
# ln -s /lib64/libgssapi_krb5.so.2.2 /usr/lib64/libgssapi_krb5.so
# ln -s /usr/lib64/libcrypto.so.10 /usr/lib64/libcrypto.so
|
[ build dnsperf 2.0 ]
donwload dnsperf 2.0 from http://www.nominum.com/support/measurement-tools/
# tar xzvf dnsperf-src-2.0.0.0-1.tar.gz
# cd dnsperf-src-2.0.0.0-1
# sh configure
# make
# make install
|
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.