Skip to content


Finding external IP from command line

Lately, I was configuring Nagios and most of the systems were on the same private IP block as the Nagios server. One of the servers was outside the LAN and I was using the allowed_hosts directive for nrpe daemons where I needed to put the external IP of Nagios server in nrpe configuration of the outside host. I fiddled with elinks and it did not work which was a bit of frustration.
Continued…

Posted in Debian.


Sending mails from command line

Often times, we want to send log files or other emails from command line or want to script them. In this tutorial, I will show you how to do that using two mail clients mail and mutt.

Continued…

Posted in Centos, Debian, Fedora, Mail, Network, Red Hat, Ubuntu.


Making and burning ISO images

There are times when we are faced with either making or burning iso images created by us or downloaded from internet. Most data CDs and DVDs can be accessed on multiple plateforms because they are created using the ISO9660 standard. Using the mkisofs command, we can make iso images from any file and directory structure from any point in Linux file system. To burn ISO images, cdrecord is the tool of choice and there is also growisofs that allows us to create and burn iso images in one step. Continued…

Posted in Backup, Centos, Debian, Fedora, Red Hat, Ubuntu.


Creating and restoring an image of hard disk with Clonezilla

Clonezilla is an open source disk imaging, cloning and backup software. It supports ext2, ext3, ext4, reiserfs, xfs, jfs of GNU/Linux, FAT, NTFS of MS Windows, and HFS+ of Mac OS. You can use it to clone single or multiple machines. It is more feature-rich than commercial Norton Ghost. In this video tutorial, I will show you how to create an image of a hard drive using Clonezilla live CD which you can download from clonezilla.org. I assume that you have downloaded and burnt the CD. So let’s get started. Continued…

Posted in Backup, Centos, DNS, Debian, Fedora, Mail, Mysql, Red Hat, Web server.

Tagged with , , , , , , , , , , , , .


Explore domain name resolution tools in Linux

Often times, we are faced with issues pertaining to DNS name resolutions. In this series of articles, I will explore different tools available in Linux that can help in DNS name resolutions. First we will look at the utility called host Continued…

Posted in Centos, DNS, Debian, Fedora, Network, Red Hat, Ubuntu.


How to install Perl Module using CPAN

At times, we need to install Perl modules that are not found in the official repository of a distribution. In that case, we have to revert to using cpan. CPAN stands for Comprehensive Perl Archive Network. It is an archive of over 16,000 modules of software written in Perl, as well as documentation for it. This tutorial will show you how to install a module using CPAN. Continued…

Posted in Centos, Debian, Fedora, Red Hat, Ubuntu.


Configuring Postfix and dovecot POP3 and IMAP on Red Hat or Centos using local system accounts

Postfix is one of the most widely deployed mail servers. In this tutorial, I will first show you how to configure Postfix for local system accounts and then I will describe how to configure Dovecot for POP and IMAP servers so remote users can retrieve their emails using email clients like Mozilla Thunderbird, Evolution or Microsoft Outlook etc. Continued…

Posted in Centos, Debian, Fedora, Mail, Red Hat, Ubuntu.


Manipulating, converting and editing audio and video

FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It is a very fast video and audio converter and includes libavcodec which is the leading audio/video codec library. It can also grab from a live audio/video source. Continued…

Posted in Centos, Debian, Fedora, Red Hat, Ubuntu.


Installing and configuring BIND9 DNS server

This video tutorial will show how to install and configure BIND9 DNS server on Red Hat 5, Centos 5 , Fedora or one of their derivatives. Checkout the text version of this tutorial. The tutorial was specifically written for Red Hat, Centos, Fedora and derivatives but it can be used for any Linux distributions. Continued…

Posted in Centos, DNS, Debian, Fedora, Red Hat, Ubuntu.


Automating rsnapshot backups

In my earlier tutorial, I showed you how to do manual backup with rsnapshot. You should have completely followed that tutorial before continuing on with this one. In this how-to I will describe how to automate rsnapshot backups Continued…

Posted in Backup, Centos, Debian, Fedora, Red Hat, Ubuntu.

Tagged with , , , , .