How to install Java 7 on Ubuntu 12.04 LTS

Oracle JDK is no longer included by default in Ubuntu’s repositories due to licensing. OpenJDK is default now but many apps still don’t play nice with it. This is why I installed Oracle JDK. I’ll walk you through the process of installing Oracle JDK 7 on Ubuntu 12.04 LTS Precise Pangolin, the easy way. For this…

How to convert jpegs to pdf in Ubuntu

Had a few documents to scan to PDF urgently today but to my surprise all the cybercafes around my neighborhood didn’t provide scan to PDF service. The best they could do was scan to jpeg. Hmmm…why? Thanks to Linux I had a solution. Scan the docs to jpeg, then convert the jpegs to PDF using imagemagick. Worked like…

How to install hddtemp on CentOS 6.2

hddtemp is a simple small app to monitor your hard disk temperature. It works by accessing the SMART capability of modern disks. Here’s how to install it. Download and compile from source. #cd /tmp #wget http://download.savannah.gnu.org/releases/hddtemp/hddtemp-0.3-beta15.tar.bz2 #tar -jxvf hddtemp-0.3-beta15.tar.bz2 #cd hddtemp-0.3-beta15 #./configure #make #make install #cd /usr/share/misc/ #wget http://download.savannah.gnu.org/releases/hddtemp/hddtemp.db Test it. #hddtemp /dev/sda #/dev/sda: WDC…