Configure network bonding in CentOS 6.x

Ethernet interface bonding is one of the technique used in which two or more network interfaces (can be of different speed) are combined for redundancy or to increase throughput. In few of my throughput tests conducted on bonding, I haven’t seen increased throughput. What I observed was, bonding only increases throughput when one of the

LimeSurvery – A nice open source survey application for your company

For any company, its really necessary to collect feedback/reviews on various training/events organised for their employees. Surveys can help in in analyzing the overall effectiveness of the event/training and also provides feedback which can help in improving the same. Ever wonder, how you can have your internal survey application rather than relaying on external, limited feature survey application ? Internal

Allow localhost to access MySQL

When you try to access local MySQL database from your Linux machine, you may see below error. [root@hammer ~]# mysql -u root -p Enter password: ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES) It’s pretty simple to fix this. If you are sure that MySQL database on your machine will never be

2012 in review

The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog. Here’s an excerpt: 4,329 films were submitted to the 2012 Cannes Film Festival. This blog had 27,000 views in 2012. If each view were a film, this blog would power 6 Film Festivals Click here to see the complete report.

XFS Quota Managament

Like any other file system (EXT3/EXT4), XFS does support quota management. Quotas are used to allocate/restrict disk space usage in a file system. XFS quota supports 3 types i.e., user, group and project level quotas. Technically, there is no directory level quota in XFS, but project type of quota can be used to implement directory

Adding VNC to iptables

“Iptables” is an application provided by Linux Kernel for configuring and administrating tables. By default, only few known ports are allowed through iptables. In order to interact with a system running active iptables, we need to add a rule to iptables in order to allow connection to a specific port. This port can be a known port

Add autofs/automounter to NIS map

Generally, NIS is used for providing information like password, group and netgroups. But, you can also replicate auto-mounter maps through NIS. For a client to receive auto-mounter maps through NIS, you just have to configure from client side. First of all, you need to make sure your client is bound to NIS. You can go through this article for

Adding a NIS client in CentOS

NIS clients are those machine which recieves NIS maps from NIS master server. NIS is a common way by which information like username, groups and netgroups are replicated to all the clients. You can add or remove any clients from NIS at any time. Below is a simple example how to add a Linux host to NIS

Python script not running from cron

Several times, your python script end-up not running via crontab. You check your ENV and permissions of your HOME directory and the script. Everything looks good, but still your script won’t run via crontab but it runs fine when you run it from command line. In this case, how shall we find what causing the script