When using IPA for managing user authentication you can come across this issue of SSH dropping just after a password change. It can be resolved by changing options in /etc/ssh/sshd_config. You need to be ROOT to make this change and restart SSHD service to take…
How to Show Line Numbers in Vi / Vim editor
Showing Line numbers in Vi /Vim Text editor would be very helpful when it comes to troubleshooting code errors in a file. This works on almost all Linux/UNIX distributions. Once you are in the edit file mode, Type while in edit mode “:set nu” OR…
How to reduce LVM size & reuse free space on the fly
Reducing LVM disk size is possible using lvreduce on the fly without a reboot. Make sure that data is backed up for the disk to be resized so that FREE space can be reused. LVM (Logical Volume Management) is very efficient when it comes to mounting/partitioning disks…
Get email when Public IP address changes using RasberryPi
If you can’t spend thousands for a static IP, Try out this script which sends out an email alert whenever Public IP address changes. In a situation where you need a VPN solution without spending thousands on a static IP no matter if you are a HOME user or a…
Change “eth0” interface name and reload udev rules without a reboot
Its possible to change the interface name in Linux and reload without a reboot. It usually happens in Virtual environment where you add / remove interfaces frequently. You need to take note of the interfaces before you do any changes. Make sure that there are no…
Enable Secure HTTPS for Nagios Core
Its possible to enable SSL over http for Nagiso Core (Red Hat/CentOS). The Nagios WEB UI can be made secure by enabling https instead of plain http in Nagios. After you are done installing Nagios Core in Linux, you need to enable OpenSSL in Apache. First we need to…
Extend LVM partition to >2TB. No need for GPT, Parted or Kernel editing
Its now possible to extend LVM disk/partition to more than 2TB that too without using Parted, GPT or Kernel editing.After doing lots of Googling and not a single article explaining about extending LVM volume without GPT, I came up with this article which has been…
Setup ssmtp in Raspbian – RasberryPi
SSMTP is a email service for Raspbian and is used for sending out emails internally in a network and externally.Its a very simple install and will get you up and running in no time. This process would need a Root account and make sure you update Raspbian to the latest…
Setup DNS Server in Raspbian -RasberryPi
This article will show you how to Setup and configure DNS Server on Raspbian. Its called as Bind9 on RasberryPi and is used for resolving IP address to domain name and vice-versa. Make sure that you are logged in as ROOT user and update the OS to the latest. For…
Setup DHCP Server in Linux
Its easy to setup DHCP server in Linux with full control over the IP’s and what IP’s are assigned to client hosts. We would be using DHCP package via YUM for this setup. DHCP is used for dynamic assinging of IP addresses for the clients in a network. First…
Setup and Configure DNS Server in Linux
This guide will help you in setting up a DNS server for resolving IP address to domain names and vice-versa. We will be using “named (bind)” as its the DNS version for Linux. First we need to install named Packages. # yum -y install bind*…
Install Postfix (email server) in Linux
This article shows you how to install and configure a simple mail server called Postfix. It can be used to send emails or act as a email relay server for internal network wherein only one Server is allowed access to Internet and then all clients hosts will redirect…






