Eterm doesn’t display “ or ”

Eterm doesn’t display the fancy “ or ” on my Debian. It is not a big problem, but it’s very annoying when it doesn’t properly display these symbols used in some programs such as aptitude. I wanted to fix it, but didn’t realize it there was a fix. After two years or using it, I tried to find the solution again, and I found it. Just add the this code to the ....

May 8, 2008 · 1 min · 102 words · kenno

Enable mod_userdir for Apache2 on Debian

By default Apache2 doesn’t enable mod_userdir, a module to enable all users in your Linux system to host web pages. On Debian, it’s very to enable this mod, and probably with other modules as well. There is no need to edit the config file manually. There are two tools offered by Debian to assist you with enabling and disabling the modules in Apache2: a2enmod and a2dismod. As the name inferred, a2enmod enables the modules, while the a2dismod does the opposite....

April 22, 2008 · 1 min · 106 words · kenno

Debian enable/disable services

Install <b>rcconf</b> if you don’t have it yet. <b>rcconf</b> is Debian’s runlevel configuration tool. It allows you to enable or disable the services from starting up automatically. Recently, I got annoyed by <b>postgresql</b> starting up at boot time, so this tool did the trick. Source: http://www.cyberciti.biz/faq/howto-runlevel-configuration-tool-to-start-service/

April 2, 2008 · 1 min · 46 words · kenno

Vista Doesn't Recognize USB Drive

Recently my brother’s laptop which runs Windows Vista home premium no longer recognizes any USB drive. Every time a USB drive is connected to the laptop, it asks to install the drivers for that device. A while back at my part-time work place, a customer returned a laptop because it stopped recognizing the USB thumb drives. The good news is I found the solution (from the Internet) on how to fix this problem....

January 26, 2008 · 1 min · 207 words · kenno

Fixed: /usr/lib/libdb-4.5.so: no version information available

After installing XEmacs, and ran it in terminal-mode, I got this error: $ xemacs -nw<br /> xemacs: /usr/lib/libdb-4.5.so: no version information available (required by xemacs) The XEmacs works fine despite producing that error message. However, I want to get rid of it. Who or what do you turn to when you have problem with computer in general? Google search is your friend. Here is the possible cause of the above problem....

October 22, 2007 · 1 min · 191 words · kenno

Start emacs in terminal-mode

The first text-editor in Linux I ever used was pico. Then I was introduced to emacs and remained using for awhile. Nowadays, vi(m) is my favorite and default text editor of choice. Anyway, the main point of this post is to how to start emacs in terminal-mode instead of graphical mode. $ <strong>emacs -nw</strong> That’s it. -nw actually does the trick. Reference: How to get started…

October 22, 2007 · 1 min · 66 words · kenno

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