Skip to content

Installing TCPPing and HPing on Debian / Ubuntu

Installing TCPPing and HPing on Debian / Ubuntu published on No Comments on Installing TCPPing and HPing on Debian / Ubuntu

Install TCPPing

1: Install tcptraceroute


shell> sudo apt-get install tcptraceroute

2: Download TCPPing and set permissions


shell> cd /usr/bin/
shell> wget https://pingpros.com/pub/tcpping
shell> chmod 755 tcpping

Install HPing


shell> sudo apt-get install hping3

 

Credits:
TCPPING – http://www.vdberg.org/~richard/tcpping

Configure Debian 7.x/8.x and Ubuntu 14.04 LTS Boxes with Smokeping

Configure Debian 7.x/8.x and Ubuntu 14.04 LTS Boxes with Smokeping published on No Comments on Configure Debian 7.x/8.x and Ubuntu 14.04 LTS Boxes with Smokeping
  • Login and then update the OS

shell> sudo apt-get update
shell> sudo apt-get upgrade

  • Configure Hostname (in our example we will use turtle):

shell> sudo hostname turtle
shell> sudo vim /etc/hostname

    • Add

turtle.pingpros.com

    • Change Hosts File

shell> sudo vim /etc/hosts

      • From

127.0.0.1        debian

      • To

127.0.0.1        turtle.pingpros.com

  • Restart hostname

shell> sudo /etc/init.d/hostname.sh

  • Install Postfix, cacti, smokeping

shell> sudo apt-get install postfix
shell> sudo apt-get install sendmail
shell> sudo apt-get install smokeping

  • Install TCPPing

shell> apt-get install tcptraceroute
shell> cd /usr/bin/
shell> wget http://www.vdberg.org/~richard/tcpping
shell> chmod 755 tcpping

  • Configured Apache for Smokeping support

shell> cd /etc/apache2/conf-available
shell> sudo ln -s ../../smokeping/apache2.conf smokeping.conf
shell> sudo a2enconf smokeping
shell> sudo a2enmod cgid
shell> service apache2 reload

  • Configure Smokeping

shell> sudo vim /etc/smokeping/config.d/General

cgiurl   = http://turtle.pingpros.com/cgi-bin/smokeping.cgi

REBOOT