-
-
Save kometchtech/c5681b2a70b30c99bf7e834ffb3abba5 to your computer and use it in GitHub Desktop.
Install dnsperf on ubuntu 16.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Installing related packages | |
sudo apt-get install -y bind9utils libbind-dev libkrb5-dev libssl-dev libcap-dev libxml2-dev | |
# Download query sample file | |
curl -LO ftp://ftp.nominum.com/pub/nominum/dnsperf/data/queryfile-example-current.gz$ | |
# Download dnsperf source file | |
curl ftp://ftp.nominum.com/pub/nominum/dnsperf/2.1.0.0/dnsperf-src-2.1.0.0-1.tar.gz -O | |
# Extracting files | |
tar xfvz dnsperf-src-2.1.0.0-1.tar.gz | |
cd dnsperf-src-2.1.0.0-1 | |
# configure | |
./configure | |
make clean | |
make | |
# install | |
sudo make install |
Thanks for the howto. It failed for me on clean Ubuntu 16.04.3 when building with
/usr/bin/ld: cannot find -lGeoIP
After apt-get install geoip-bin libgeoip-dev
build was just fine.
Thanks for howto, it helped me, also.
Could you also add apt install build-essential
, for those who may not have compilator installed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
以下の環境で導入を確認