CentOS / Redhat Linux: Install Keepalived To Provide IP Failover For Web Cluster

Keepalived is a daemon that provides simple and robust facilities for load balancing and high-availability to Linux based infrastructures. It uses the VRRP (Virtual Router Redundancy Protocol) protocol to provide a highly available IP address to be used as a default gateway by clients. If the primary node goes down, Keepalived will automatically transfer the … Read more

UNIX Command Line Tools For MS-Windows XP / Vista / 7 Operating Systems

There are several UNIX command line tools available for Windows operating systems, including: Cygwin: Cygwin is a Linux-like environment for Windows that provides a collection of tools and utilities, including shells, compilers, editors, and other development tools. It offers a UNIX-like environment on Windows, allowing users to run many UNIX commands and utilities natively. Windows … Read more

Handling nginx Failover With KeepAlived

Keepalived is a free, open-source software package that provides failover and load-balancing services for Linux-based systems. It is commonly used to manage web servers and proxies, including nginx. In this example, we will set up a failover cluster with two nginx servers, one acting as the master and the other as a backup. Here are … Read more

HowTo: RPM List Files

To list the files contained in an RPM package, you can use the rpm command with the -ql option. Here’s how to do it: Open a terminal and run the following command to list the files contained in an RPM package: rpm -ql package-name Replace package-name with the name of the RPM package that you … Read more

Linux Create A Bootable USB Pen

To create a bootable USB pen drive in Linux, you can use the dd command to write the ISO image to the USB drive. Here’s how to do it: Insert the USB pen drive into a USB port on your computer. Open a terminal and type the following command to find the device name of … Read more