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 · 114 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. The file INFCACHE.1 in C:\windows\inf could be corrupted which is the main cause of the 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 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. XEmacs require the newer version of lbdb-4.5 than the one installed on my Debian Lenny. At the time of this writing, the version of libdb4.5 on Lenny is 4.5.20-1. To fix this problem, you need to download the Sid version (4.5.20-9) and install it manually: ...

October 22, 2007 · 1 min · 185 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