How to change MYSQL Root Password on Linux Distributions like CENTOS, REDHAT, FEDORA, UBUNTU, FREEBSD and other Unix – Linux based Operating system. By default when you install a new Operating System any of the linux variants the best way to install MYSQL would be using yum for RPM based distros or apt-get for debian [...]

{ 0 comments }

Ten Deadliest and Killer Commands on Linux 1. # rm -rf / This command will delete all the files and folders inside your / directory recursively and forcefully. This will give you a GRUB error 15 2. # mkfs.ext3 /dev/sda This will reformat or wipeout all the files of the device that is mentioned after [...]

{ 0 comments }

Howto configure Network Time Protocol NTP Server on Linux Centos, Ubuntu, Fedora, RHEL

February 7, 2011

This tutorial will guide you with step by step installation of NTP Server on your server which can help your local network sync the time with it. Acroynm NTP – Network Time Protocol Question 1 ==> Why do we need network time protocol, why do i need to sync my time with the server. ? [...]

Read the full article →

How to Change System Timezone on Linux Distros – Centos, Ubuntu, Redhat, Fedora

February 7, 2011

Many a times after initial installation of Linux operating system we see the date not to be in our local timezone, instead its in default PST time zone, So here are the steps which will guide you to have your local time zone. So lets start the action The system dates are displayed using a [...]

Read the full article →

Using Sendmail to Relay Mails from Your MSP/ISP in Centos, RHEL, Ubuntu and Other Linux Distros

July 10, 2010

Do you want to relay mails from your local sendmail server to your ISP. Just follow the below steps Open sendmail.mc using default editor vi, edit, emacs # vi /etc/mail/sendmail.mc define(`SMART_HOST’,`[smtp.yourisphost.com]‘) FEATUREdnl Save the File and exit Open the File authinfo (If not Present Create a New File). vi /etc/mail/authinfo Add the following Line “AuthInfo:smtp.yourisphost.com [...]

Read the full article →

Finding First Instance of the Pattern Using Grep in Linux

July 10, 2010

Grep in Linux Have you ever faced a problem grepping (Parsing) for a pattern from a file, Definately being a Linux Administrator you have done it several times but have you came across a situation where from a huge file you only have to parse the first instance of the pattern, grepping the whole file [...]

Read the full article →