English

How to change keyboard layout in Ubuntu Server

I'm testing web hosting control panel inside virtual machine. The operating system I chose is Linux and the distribution is Ubuntu Gutsy Gibbon. Yes, I know it is still in alpha but it is going to be stable within 2 months. Since I quickly installed this machine from server CD, I accidentally chose incorrect keyboard layout. That's why I would like to change it right now.

How to install VMware on Ubuntu Gutsy Gibbon

This is my first task. I would like to run VMware under Ubuntu Gutsy Gibbon. Unfortunately, it seems like VMware doesn't support the latest kernel, 2.6.22-9, yet. As a result, I got below error messages.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.22-9-386/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-9-386'
  CC [M]  /tmp/vmware-config0/vmnet-only/driver.o
  CC [M]  /tmp/vmware-config0/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config0/vmnet-only/userif.o
/tmp/vmware-config0/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’:
/tmp/vmware-config0/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ has no member named ‘h’
/tmp/vmware-config0/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ has no member named ‘nh’
/tmp/vmware-config0/vmnet-only/userif.c:636: error: ‘const struct sk_buff’ has no member named ‘h’
make[2]: *** [/tmp/vmware-config0/vmnet-only/userif.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-9-386'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
Unable to build the vmnet module.

Upgrading Ubuntu Feisty Fawn to Gutsy Gibbon

Yesterday, I upgraded my laptop which formerly was Ubuntu Feisty Fawn to Gutsy Gibbon Alpha release. Yes, it is still an alpha release and actually I just upgraded to the most up-to-date version. In other words, I didn't upgrading through CD image, instead, I downloaded all fresh packages from public archive site.

How to solve "sudo: timestamp too far in the future"

sudo is a must to have in all Unix host to prevent wide-spread of root account. It also has built-in security checking by time. However, sometimes this feature might annoy sudo to stop working after adjusting date/time back from the future.

sudo: timestamp too far in the future: Aug  9 18:31:44 2007

To solve this problem, I have a clue.

How to configure PAM authentication in Squid

Sometimes you may want to classify web traffic per user, not IP-based classification, in Squid. Squid supports this mechanism via external authentication plugin. The most common one is NCSA authentication but a flexible one is PAM since it is possible to use LDAP backend as well as unsecured passwd and shadow.

The future of BTQueue 0.1.4

For all fans of text-based BitTorrent client like BTQueue, I am still working on it everyday. As of now, its core engine has been changed to offer more features and the latest core is BitTorrent 5.0.8. Anyway, I can't release this new one because of some big problem regarding weird memory usage. By the way, it is usable for use but not for long run.