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 188.8.131.52 184.108.40.206 220.127.116.11 18.104.22.168 is alive 22.214.171.124 is alive 126.96.36.199 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.