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_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....

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

Bash Command Shortcuts

How many times do you find yourself using arrow keys to scroll to the beginning or the end of line of the command line in bash terminal? Do you use backspace to delete every character of what you type to clear the command line? Well, if you answer “yes” to any of the two questions, continue reading. I, myself, have been doing this a lot because I couldn’t remember the shortcut keys to do those tasks....

July 4, 2007 · 1 min · 193 words · kenno

How to kill defunct process

Defunct processes are corrupted processes that can no longer communicate between the parent and child one. Sometimes, they become “zombies” and remain in your system until you reboot your machine. You can try to apply “kill -9” command, but most of the time you’ll be out of luck. In order to kill theses defunct processes, you have two choices: Reboot your computer Continue reading… First, let’s find out if the system contains defunct process:...

April 4, 2007 · 2 min · 354 words · kenno

Airport Extreme and Fedora Core 6

Ever since Fedora Core 6 was installed on my PowerBook, I can only access the Internet via ethernet port. It is a not a big problem at home, however if I want to access my university’s network or the Internet from there, the Wireless access is the only way. There is almost no where on campus or in the lab that I could hook the ethernet cable in. So everytime I want to access the network there, I have to boot into Mac OS X....

March 9, 2007 · 2 min · 320 words · kenno

Enable Right-click & Middle-click with Fedora Core 6

The title should have been “How to enable right-click and middle click of PowerBook G4’s one-button-mouse in Fedora Core 6”. Since I’m not very keen in selecting a good title, I hope the one I wrote above made sense. My Apple PowerBook G4 comes with just one button mouse. It’s not a problem when using it in OS X because I can simply emulate the right click by holding “fn” key while clicking....

March 3, 2007 · 2 min · 238 words · kenno

Firefox 2.0 rpm សំរាប់ស៊ូសេ១០.១

ទោះបីជាFirefox 2.0បានបញ្ចេញប៉ុន្មានថ្ងៃមកហើយក៏ដោយ មិនមានអ្នកណាធ្វើកញ្ចប់ RPM​ សំរាប់ស៊ូសេលីណាក់ទេ។ ថ្ងៃនេះសំណាងល្អ ខ្ញុំបានទៅលេងទំព័រវ៉ិបនេះដែលនិយាយពីលីណាក់និងអូផិនសស់ ក៏ប្រទះឃើញដំណឹងទាក់ទងនឹង កញ្ចប់RPM នៃFirefox 2.0សំរាប់ស៊ូសេ។ បើកុំព្យួទ័ររបស់អ្នកដើស៊ូសេលីណាក់ ហើយចង់បានFirefox 2.0 ដែរនោះ អ្នកអាចទៅទាញយកវាបានពី៖ SUSE 10.1 (i586) (១) | SLED 10 (i586) (២) Firefox 2.0​ក៏ត្រូវការ dependencies ពីរដែរ៖​​ mozilla-nss និង mozilla-nsrp។ អ្នកអាចទាញយកពួកវាពីរបណ្តាញខាងលើ។ ខ្ញុំទើបតែបានupdateរបស់ខ្ញុំថ្មីៗនេះ ហើយមានការពេញចិត្តជាមួយកំណែប្រែ២​ នេះយ៉ាងខ្លាំង។ ខាងក្រោមនេះជារូប screenshot Firefox 2.0 ដើរលើស៊ូសេ១០.១៖ (១) បណ្តាញសំរាប់ Open SuSE (២)​ បណ្តាញសំរាប់ SuSE Linux Enterprise Desktop (paid version) ប្រភពព៍តមាន៖ Linux and Open Source Blog

October 31, 2006 · 1 min · 59 words · kenno

Disable sshd in SuSE 10.1

With the latest release of Open SuSE, version 10.1 at the time of writing, the ssh daemon (sshd) is turned on by default. Some sources on the web suggested that it doesn’t do any harms to have it on since it won’t be able to access from outside your LAN if the firewall is turned on. However, I think if you don’t need to use it, there is no point to leave it on....

August 17, 2006 · 1 min · 96 words · kenno

Upgrade Amarok to 1.4.1

I’ve been using SuSE 10.1 for just about a month. The previous linux distro I used was Debian, so the rpm package concept is pretty new to me. I’ve heard of it before, but never got to use or play with it. With Debian, we have a very easy way to install or upgrade packages: apt-get, of course. Anyway, I just upgraded the Amarok 1.3.8 to version 1.4.1. It wasn’t easy initially as I tried to upgrade each package of dependency separately....

August 13, 2006 · 1 min · 130 words · kenno

Apache 2 Config File

I’ve been using Apache httpd on and off on my PowerBook for various purposes including school assignments. The httpd version that comes with the PowerBook by default is 1.3.33 and I need to use the version 2.*. So, I installed the Apache 2 via Fink. After having successfully installed Apache 2, we need to make some changes to the config file (usually, it is the httpd.conf file.) Guess what? I totally forgot where that file resides....

July 15, 2006 · 2 min · 214 words · kenno

VMware Installation – A Small Solution to a Huge On Going Problem

VMware is a piece of art of software which allows you to run guest operating stystems (OS) on top of the main OS you’re using. For example in my case, I run SuSE 10.0 on Windows XP via VMware. Anyway, despite having the name as cool as it sounds, installing the VMware on my machine is a pain in the rear. This could explain why I so stated as above. The installation of VMware always gives the blue-screen-of-death on the Windows XP SP2 on the final step....

June 6, 2006 · 2 min · 269 words · kenno