Installing RHEL EPEL Repo on CentOS 5.x

Had to get collectd going on a CentOS 5.8 environment today. The EPEL repo was needed to get the packages. Here’s how to add the EPEL repo to CentOS 5.x cd /tmp wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm rpm -Uvh epel-release-5-4.noarch.rpm

2013-08-27 · 1 min · Danesh Manoharan

Kill Unresponsive remote SSH Sessions

I spend a lot of time working with ssh terminals over very slow connections. One common issue that crops up often is unresponsive terminals. Closing the terminal is what most of us would go with but then you would have to go through the login workflow again. If you had to login to 3 servers then redoing that every time would be a pain. Here’s a quick tip. The next time your ssh session becomes unresponsive, hit “ENTER” , followed the “” key and finally the “.” key. ( ENTER , **** , . ) . That will terminate the unresponsive session but still keep you within your main ssh session. ...

2013-07-31 · 2 min · Danesh Manoharan

See Your Folks

Let’s face it, Nowadays we’re always too busy to visit our folks. I’m guilty of the same crime 🙁 I stumbled on to “See You Folks” today. Put together by 4 guys under 24 hours with the goal to raise awareness about death. Give it your parent’s location, age and average visits and you’ll know how many more times you’ll get to visit your parent before they are gone for good. You might be shocked by the answer. ...

2013-07-23 · 1 min · Danesh Manoharan

What is my Gnome Shell version?

What version of the GNOME Shell am I running? You can quickly find out your GNOME Shell version be running “gnome-shell -version” danesh@r2d2:~$ gnome-shell --version<br /> GNOME Shell 3.8.2 This is also an indicator to which version of GNOME you are running.

2013-06-18 · 1 min · Danesh Manoharan

Clean Install of Windows 8 with an Upgrade Disc

I lost my hard drive and was trying to install Windows 8 from a Windows USB boot disk. When came time to activate I was greeted with “Code: 0xC004F061 your key can only be used for an upgrade”. I bought the upgrade license during the launch sale but din’t know about this restriction. Microsoft’s solution was to first install Windows 7 and then run the Upgrade assistant again to upgrade to Windows 8. That would take too long! Some Googling later and a solution was found. A simple registry hack. Here’s how, “Windows + r " and type “regedit” to bring up the registry. Navigate to HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Setup/OOBE/ Double click on “MediabootInstall” Change the value from “1” to “0”. Exit the registry. Hit the “Windows” key and search for “cmd” . Right click and select “Run as Administrator”. Type slmgr /rearm and hit press enter. Wait for confirmation. Reboot. Try to active again. Should work now. Picture Guide below. ...

2013-06-13 · 1 min · Danesh Manoharan