CentOSLinuxTutorials

How To Install Fping on CentOS 6

Install Fping on CentOS 6

In this tutorial we will show you how to install and configuration of Fping on your CentOS 6 server. For those of you who didn’t know, Fping is a program like ping which uses the Internet Control Message Protocol ( ICMP ) echo request to determine if a target host is responding. fping differs from ping in that you can specify any number of targets on the command line, or specify a file containing the lists of targets to ping.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step by step installation Fping on a CentOS 7 system.

Install Fping on CentOS 6

Step 1. First, you need to enable repository on your system.

## RHEL/CentOS 6 64-Bit ##
# wget http://pkgs.repoforge.org/fping/fping-3.9-1.el6.rf.x86_64.rpm
# rpm -ivh fping-3.9-1.el6.rf.x86_64.rpm

## RHEL/CentOS 6 32-Bit ##
# wget http://pkgs.repoforge.org/fping/fping-3.9-1.el6.rf.i686.rpm
# rpm -ivh fping-3.9-1.el6.rf.i686.rpm

Step 2. Install Fping on CentOS system.

Run the following commands to install Fping:

yum install fping

Installing Fping from source:

First, download fping source package (latest version is 3.10) and install.

wget http://fping.org/dist/fping-3.10.tar.gz
tar -xvf fping-3.10.tar.gz
cd fping-3.10
./configure
make
make install

Example usage fping program:

#fping 8.8.8.8 8.8.4.4 74.125.200.113

8.8.4.4 is alive
8.8.8.8 is alive
74.125.200.113 is alive

Congratulations! You have successfully installed Fping. Thanks for using this tutorial for installing the Fping on your Ubuntu 20.04 LTS Focal Fossa system. For additional help or useful information, we recommend you to check the official Fping website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!
Back to top button