Syncing NIS Slaves

Sometimes when an NIS slave is out of action for quite sometime, it may go out of sync with the master. Following code will sync up the NIS slave with the master.

ypwhich -m|awk '{print $1}'|while read line
do
/usr/lib/netsvc/yp/ypxfr $line
done
Posted in Tips/Code Snippets | Tagged | Leave a comment

Fedora 10 x86-64 on a Laptop

I recently bought a Compaq Presario V3000 laptop after my IBM Thinkpad gave up on me. Since this is a 64-bit laptop I thought it will be a nice opportunity to jump into the 64-bit desktop experience.
Continue reading

Posted in FLOSS | Tagged | Leave a comment

Tightening up OpenSSH

Often I am required required to run a public ssh server, so its a good idea to restrict the OpenSSH server as much as possible.
Continue reading

Posted in FLOSS, Security | Tagged , | 1 Comment

Building A Highly Available Nginx Reverse-Proxy Using Heartbeat

A cluster in computing is a term used to describe a group of closely linked computers often appearing as a single entity to the outside world. There are various types of clusters—high-availability (HA) clusters, load-balancing clusters, compute clusters or high performance computing (HPC) clusters and grids.

Continue reading

Posted in FLOSS, Published Articles | Tagged , , , , | Leave a comment

Building A Highly-Available Web Server Cluster

nginx (pronounced as ‘engine x’) is a powerful HTTP Web server/reverse proxy and IMAP/POP3 reverse proxy. According to a survey conducted in December 2008 by Netcraft, nginx has grown significantly and has surpassed lighttpd (also known as Lighty). Because of its small memory footprint and high scalability, nginx has found tremendous usage in virtual private servers (VPS).

Continue reading

Posted in FLOSS, Published Articles | Tagged , , , , | Leave a comment