≡ Menu

September 2008

Photo courtesy of wraithtdk Companies purchase support for most of their enterprise hardwares (servers, switches, routers, firewalls etc.,) and softwares (databases, OS, applications, frameworks etc.,). They spend lot of cash on support mainly for two reasons: 1) To get help from vendors to fix critical production issues 2) To keep up-to-date with the latest version [...]

{ 3 comments }

Photo courtesy of markstrange We see celebrities, politicians and famous people cruise around with bodyguards to protect themselves and their possessions from various threats. While most of us cannot afford such kind of protection when we cruise the streets, we can at least have that kind of protection when we cruise the internet. I have [...]

{ 17 comments }

Backup and Restore MySQL Database Using mysqldump

mysqldump is an effective tool to backup MySQL database. It creates a *.sql file with DROP table, CREATE table and INSERT into sql-statements of the source database. To restore the database,  execute the *.sql file on destination database.  For MyISAM, use mysqlhotcopy method that we explained earlier, as it is faster for MyISAM tables. Using [...]

{ 81 comments }

How To Install Perl Modules Manually and Using CPAN command

Installing Perl modules required by various open source software is a routine tasks for sysadmins. Installing Perl modules manually by resolving all the dependencies is  tedious and annoying process. Installing Perl modules using CPAN is a better solution, as it resolves all the dependencies automatically. In this article, let us review how to install Perl [...]

{ 17 comments }

Previously we discussed about how to install Apache and PHP from source. Installing LAMP stack from source will give you full control to configure different parameters. Installing LAMP stack using yum is very easy and takes only minutes. This is a good option for beginners who don’t feel comfortable installing from source. Also, Installing LAMP [...]

{ 31 comments }

How To Monitor VPN Active Sessions and Temperature Using Nagios

Previously we discussed about how to use Nagios to monitor a Linux and Windows server. In this article, let us review how to monitor active sessions and temperature of VPN device using Nagios. You can monitor pretty much anything about a hardware using the nagios check_snmp plug-in. 1. Identify a cfg file to define host, [...]

{ 4 comments }

Photo courtesy of f1r3storm85 In the previous article, we discussed about Linux environment variables PS[1-4] and PROMPT_COMMAND. If used effectively, PS1 can provide valuable information right on the command prompt. In Tomb Raider, Angelina Jolie has all the gadgets and weapons at her finger tips to solve the mystery in style. While the gadget and [...]

{ 62 comments }

Your interaction with Linux Bash shell will become very pleasant, if you use PS1, PS2, PS3, PS4, and PROMPT_COMMAND effectively. PS stands for prompt statement. This article will give you a jumpstart on the Linux command prompt environment variables using simple examples. 1. PS1 – Default interaction prompt The default interactive prompt on your Linux [...]

{ 5 comments }