htop - an interactive process viewer for Linux

Just browsed around through Linux blogs and I came across an interesting tool “htop” posted at Linux and Open Source Blog. What is htop? It’s an interactive process viewer for Linux. It’s very similar to top, however htop enables you to scroll the list vertically or horizontally; as well as supporting mouse operation. To install htop on Debian/Ubuntu distros, run this command: $ sudo apt-get install htop For openSUSE 10.2, you probably can install it with Yast, but I like smart: ...

October 21, 2007 · 1 min · 86 words · kenno

Restore MySQL config file

I have installed mysql-server on my laptop running Debian back in awhile. For that reason, I forgot the root password. Just recently, I need to use MySQL server for one of my assignments. So, I was playing around in /etc/mysql/ directory hoping that I could get rid of the server and then reinstall it. The commands apt-get remove <strong>mysql-server</strong> didn’t seem to remove files/directories related to MySQL. Then, I decided to delete the /etc/mysql/ manually. ...

October 1, 2007 · 1 min · 203 words · kenno

Install OpenOffice Khmer Spell Checker on Debian

Finally, the amazing team from KhmerOS has realeased the Khmer Spell Checker (KSC) for OpenOffice. Here is the instruction for installing KSC on Debian (Lenny) system. Download the package from: http://sourceforge.net/project/showfiles.php?group_id=133361&package_id=244774 Unzip it: $ unzip Khmer_Spellchecker_v1.0.zip Change to that directory: $ cd Khmer Spellchecker v1.0/ Become the super user: $ su Password: (enter your root password) Copy two files: km_KH.aff km_KH.dic to OOo’s dict directory: # cp km_* /usr/lib/openoffice/share/dict/ooo The above directory could be slighty different from one system to another. ...

September 7, 2007 · 2 min · 247 words · kenno

Resume broken download with Wget

 $ wget <strong>-c</strong> http://www.example.com/files.iso The -c(ontinuous) option allows Wget to resume a partial download. Source: Geek to Live: Mastering Wget Wget resume broken download

September 5, 2007 · 1 min · 24 words · kenno

Tomcat 6 on Debian Lenny

I need to install Tomcat 6 for a school assignment. I thought the installation process was easy as counting 123, but it turned out to be a few hours long of head scratching. Well, the first start is to setup a few environment variables as required by Tomcat: CATALINA_BASE=/home/kenno/bin/apache-tomcat-6.0.13 CATALINA_HOME=/home/kenno/bin/apache-tomcat-6.0.13 export CATALINA_HOME; export CATALINA_BASE# JAVA_HOME and Path to java, javac JAVA_HOME=/usr/lib/j2sdk1.6-sun/bin export JAVA_HOME; export PATH=${JAVA_HOME}/bin:${PATH}:. It can be stored in a setEnv.sh file, and run with source setEnv.sh to load those variables. ...

August 14, 2007 · 2 min · 235 words · kenno