# Post details

1

Rocks 6.1 – Login Node Monitor

Disclaimer The instructions/steps given below worked for me (and Michigan Technological University) running Rocks 6.1.1 (with CentOS 6.3 and GE 2011.11p1). As has been a common practice for several years now, a full version of Operating System was installed. These instructions may very well work for you (or your institution), on Rocks-like or other linux … Continue reading Rocks 6.1 – Login Node Monitor

2

RHEL 6.2 – Ganglia’s gmond Python module for monitoring NVIDIA GPU

Disclaimer The instructions/steps given below worked for me (and Michigan Technological University) running site licensed Red Hat Enterprise Linux 6.2 – as has been a common practice for several years now, a full version of Operating System was installed and all necessary patches/upgrades have been applied. These instructions may very well work for you (or … Continue reading RHEL 6.2 – Ganglia’s gmond Python module for monitoring NVIDIA GPU

3

BASH – A smart extract utility

Why this script? As a systems administrator or as someone who dabbles in compilation technologies, it often becomes necessary to extract one or more variety of compressed files/folders. This script will automagically handle the options necessary for uncompressing different kinds of compressions. The script #! /bin/bash # # BASH script to automagically uncompress different kinds … Continue reading BASH – A smart extract utility

4

MPICH2 MPI with GNU compilers

MPI For my understanding of what MPI is &/or does, please refer to this post. Compiling MPICH2 (v1.3.1) with GNU Compilers (GCC v4.1.2) mkdir $HOME/tmp/ Download MPICH2 from the Argonne National Laboratory Save mpich2-1.3.1.tar.gz in $HOME/tmp/ cd $HOME/tmp/ tar -zxvpf mpich2-1.3.1.tar.gz cd mpich2-1.3.1   ./configure –prefix=$HOME/mpich2/1.3.1/gcc/4.1.2 –enable-f77 –enable-f90modules   make   make install Once the … Continue reading MPICH2 MPI with GNU compilers

5

BASH – Extracting Subversion Log

Subversion Subversion (SVN) is a version control system initiated in 2000 by CollabNet Inc. It is used to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used Concurrent Versions System (CVS). Subversion is well-known in the open … Continue reading BASH – Extracting Subversion Log

6

BASH – Wrappers For qstat In NPACI ROCKS 5.2.2

What is ROCKS? Rocks Cluster Distribution (originally called NPACI Rocks) is a Linux distribution intended for high-performance computing clusters. It was started by NPACI and the SDSC in 2000, and was initially funded in part by an NSF grant (2000-2007) but is currently funded by the followup NSF grant. Rocks was initially based on the … Continue reading BASH – Wrappers For qstat In NPACI ROCKS 5.2.2

7

Subversion – Backing Up Repository

Subversion (SVN) is a version control system initiated in 2000 by CollabNet Inc. It is used to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used Concurrent Versions System (CVS). Subversion is well-known in the open source … Continue reading Subversion – Backing Up Repository

8

WebSVN To Monitor Subversion Repositories

Subversion (SVN) is a version control system initiated in 2000 by CollabNet Inc. It is used to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used Concurrent Versions System (CVS). Subversion is well-known in the open source … Continue reading WebSVN To Monitor Subversion Repositories

9

Website Management With Subversion

Subversion (SVN) is a version control system initiated in 2000 by CollabNet Inc. It is used to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used Concurrent Versions System (CVS). Subversion is well-known in the open source … Continue reading Website Management With Subversion

10

Subversion With Apache

Subversion (SVN) is a version control system initiated in 2000 by CollabNet Inc. It is used to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used Concurrent Versions System (CVS). Subversion is well-known in the open source … Continue reading Subversion With Apache

11

PHP – Displaying Gravatars In A Non-WordPress Application

Citing their website, an Automattic.com joint:, A gravatar, or globally recognized avatar, is quite simply an avatar image that follows you from weblog to weblog appearing beside your name when you comment on gravatar enabled sites. Avatars help identify your posts on web forums, so why not on weblogs? It’s free and with one account, … Continue reading PHP – Displaying Gravatars In A Non-WordPress Application

12

BASH – GZIP or BZIP2?

BASH is a free software Unix shell written for the GNU Project. Its name is an acronym which stands for Bourne-again shell. The name is a pun on the name of the Bourne shell (sh), an early and important UNIX shell written by Stephen Bourne and distributed with Version 7 Unix circa 1978, and the … Continue reading BASH – GZIP or BZIP2?

13

PERL – Mapping Elements To Their Respective Arrays

Often times, a need arises where one has to search a bunch of arrays to find out to which one of them a given set of elements belong. Of course, life becomes a lot simpler if those arrays are unique (meaning any given element appears only in one of the arrays) and life may not … Continue reading PERL – Mapping Elements To Their Respective Arrays

14

BASH – Wrappers For qstat In NPACI ROCKS

BASH is a free software UNIX shell written for the GNU Project. Its name is an acronym which stands for Bourne-again shell. The name is a pun on the name of the Bourne shell (sh), an early and important UNIX shell written by Stephen Bourne and distributed with Version 7 UNIX circa 1978, and the … Continue reading BASH – Wrappers For qstat In NPACI ROCKS

15

PERL – Mapping An Element To Its Array

Disclaimer Often times, a need arises where one has to search a bunch of arrays to find out to which one of them a given element belongs. Of course, life becomes a lot simpler if those arrays are unique (meaning any given element appears only in one of the arrays) and life may not always … Continue reading PERL – Mapping An Element To Its Array

16

Expect – Remote SSH Login

Expect is a UNIX automation and testing tool, written by Don Libes as an extension to the Tcl scripting language, for interactive applications such as telnet, ftp, passwd, fsck, rlogin, tip, ssh, and others. It uses UNIX pseudo terminals to wrap up sub-processes transparently, allowing the automation of arbitrary applications that are accessed over a … Continue reading Expect – Remote SSH Login

17

GMail, IMAP & PINE

Disclaimer The aforementioned instructions/steps worked for me running CentOS. It may very well work for you on Red Hat-like or other distributions. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor its author is … Continue reading GMail, IMAP & PINE

18

Apache, Virtual Hosts, HTTPS, Self-Signed Certificates

Disclaimer The aforementioned instructions/steps worked for me running CentOS. It may very well work for you on Red Hat-like distributions or otherwise. Please note that if you decide to use these instructions to update PHP/MySQL (or other packages) on your machine, you are doing so entirely at your very own discretion and that neither this … Continue reading Apache, Virtual Hosts, HTTPS, Self-Signed Certificates

19

BASH – Sum of All File/Folder Sizes

Disclaimer The instructions/steps/scripts/methods given below worked for me running CentOS. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor … Continue reading BASH – Sum of All File/Folder Sizes

20

Backing Up And Restoring MySQL Databases

Disclaimer These instructions worked for me in CentOS 4.0. It may very well work for you on Red Hat-like or other distributions. Please note that if you decide to use these instructions to back up and restore MySQL databases on your machines, you are doing so entirely at your very own discretion and that neither … Continue reading Backing Up And Restoring MySQL Databases

21

MAC Address For Cameras?

MAC Address for a camera? I echo your questioning and feelings. And what follows below is my explanation for its necessity, advantages as well as disadvantages. Take for example a normal, advanced amateur photographer or even pro-photographers – it’s not uncommon for them to have more than one camera as part of their arsenal. One … Continue reading MAC Address For Cameras?

22

CentOS 4.x : Upgrading PHP and MySQL

Disclaimer These instructions worked for me in CentOS 4.0. It may very well work for you on Red Hat-like or other distributions. Please note that if you decide to use these instructions, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor its author is responsible for any/all … Continue reading CentOS 4.x : Upgrading PHP and MySQL

23

BASH – Read A File, One Line At A Time

Disclaimer The instructions/steps given below worked for me running CentOS. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor … Continue reading BASH – Read A File, One Line At A Time

24

NFS : Server & Client Set Up With AutoFS

Disclaimer There are very many options that can be used while exporting and mounting NFS partitions as well as while custom-configuring the firewall with IPTABLES. Please read through the man pages to see what fits best. Below given instructions are what I used to set up NFS within my internal network and these may very … Continue reading NFS : Server & Client Set Up With AutoFS

25

NFS : Server & Client Set Up

Disclaimer There are very many options that can be used while exporting and mounting NFS partitions as well as while custom-configuring the firewall with IPTABLES. Please read through the man pages to see what fits best. Below given instructions are what I used to set up NFS within my internal network and these may very … Continue reading NFS : Server & Client Set Up

26

BASH – Replace Space In Filenames With Underscore

Disclaimer The instructions/steps given below worked for me running CentOS. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor … Continue reading BASH – Replace Space In Filenames With Underscore

27

BackupPC On Red Hat (Enterprise) Linux

Disclaimer #0 Below given instructions are what I used to get BackupPC (v3.0.0) compiled/running and these may very well work for you. However, please note that you are using these instructions at your very own risk and this website, sgowtham.com, is not responsible for any/all damage caused to your property, intellectual or otherwise. What is … Continue reading BackupPC On Red Hat (Enterprise) Linux

28

PERL – Password Encryption

Disclaimer The instructions/steps/scripts/methods given below worked for me running CentOS. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor … Continue reading PERL – Password Encryption

29

BASH – Sum Of All Integers Between Given Two Integers

Disclaimer The instructions/steps/scripts/methods given below worked for me running CentOS. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor … Continue reading BASH – Sum Of All Integers Between Given Two Integers

30

HPL Benchmark For Single Processor Machines

Disclaimer Above given instructions are what I used to get HPL compiled/running and these may very well work for you. However, please note that you are using these instructions at your very own risk and this website, sgowtham.com, is not responsible for any/all damage caused to your property, intellectual or otherwise. What is HPL? Citing … Continue reading HPL Benchmark For Single Processor Machines

31

Multiple EMails & FetchMail 101

Disclaimer Instructions given in this page are what I used to configure Fetchmail on my DELL Dimension 3000 desktop running Red Hat Enterprise Linux v4.4. These may very well be applicable to your computer, of other brand/model and/or using different Linux distribution. However, note that you are using these instructions at your very own risk … Continue reading Multiple EMails & FetchMail 101

32

PHP, MySQL & Pagination – With Tags

Disclaimer The instructions/steps/scripts/methods given below worked for me running CentOS. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor … Continue reading PHP, MySQL & Pagination – With Tags

33

PHP, MySQL & Pagination

Disclaimer The instructions/steps/scripts/methods given below worked for me running CentOS. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor … Continue reading PHP, MySQL & Pagination

34

BASH – Filename Toggle Case

Disclaimer The instructions/steps/scripts/methods given below worked for me running CentOS. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor … Continue reading BASH – Filename Toggle Case

35

PenguiCon 4.0

Day 0 As planned, I woke up around 4 am and Kyle (along with Steve and Peter) were at my house around 6 am to pick me up. Journey started on scheduled and it was after a long time that I was sitting in the backseat. This (I mean sitting in the backseat) has its … Continue reading PenguiCon 4.0

36

BASH – Center Align A File

Disclaimer The instructions/steps/scripts/methods given below worked for me running CentOS. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor … Continue reading BASH – Center Align A File

37

PERL – Disk Usage Reminder

Disclaimer The instructions/steps/scripts/methods given below worked for me running CentOS. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor … Continue reading PERL – Disk Usage Reminder

38

BASH – Router’s Public IP Address

BASH, AWK and SED BASH is a free software Unix shell written for the GNU Project. Its name is an acronym which stands for Bourne-again shell. The name is a pun on the name of the Bourne shell (sh), an early and important UNIX shell written by Stephen Bourne and distributed with Version 7 UNIX … Continue reading BASH – Router’s Public IP Address

39

C – Translate The Coordinates Along Any Given Axis

Disclaimer The instructions/steps/scripts/methods given below worked for me running CentOS and various other distributions. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither … Continue reading C – Translate The Coordinates Along Any Given Axis

40

BASH – Login Counter

Disclaimer The instructions/steps/scripts/methods given below worked for me running CentOS. It may very well work for you on other linux distributions, Red Hat-like or otherwise. Please note that if you decide to use these instructions on your machine, you are doing so entirely at your very own discretion and that neither this site, sgowtham.com, nor … Continue reading BASH – Login Counter