Linux

Port forward in VMware Server for Linux

VMware Server is totally free. All you need is just to register your name and address to obtain a number of serial numbers. You may get up to 100 serial numbers at a time. In VMware, there are 3 network types: bridge, nat, and host-only. Bridge is the most powerful one but you need an extra IP address. If you don't have one, you might be interesting in nat or host-only. Nat seems to be better to keep your guest OS up-to-date and connected to the internet. However, Nat means you can't connect to the guest OS directly from internet so you can't run it as a server. Anyway, it is possible to forward port to the guest OS behind VMware's nat.

Multibyte character set and wordwrap in IPB

Invision Power Board or IPB is one of the most widely used webboard software in Thailand because of its powerfulness and addons. Personally, I have never used it by myself. Anyway, my friend really loves it. Today he asked me to help install IPB on a CentOS machine. Everything went so smooth. As you might guess, the purpose of that webboard is to host a community in Thailand to talk about something in Thai language. The version of that IPB is 2.0.2. He found a problem when posting in Thai language so He tried to fix the problem by changing character set to UTF-8 according to a good guide. Unfortunately, the problem still exists.

Teapop: another POP3 daemon for Virtualmin

Teapop: another POP3 daemon for Virtualmin

I have just upgraded Virtualmin and Webmin on Red Hat 8.0 to Ubuntu 6.06.1 Dapper. Everything seems to work as expect except only POP3. The old configuration on Red Hat 8.0 is to use UW ipopd. Anyway, it is the most classic one so I decided to try another approaches as follows.

What if publickey authentication does not work

There are so many problem that may cause publickey authentication scheme in ssh (or more specific, openssh) to not work properly. Usually, I have never encountered this problem for so long. I have just found this problem again in fresh CentOS 4.4.

Making a swap partition in Linux

I have just made an backup of my old data in NTFS partition in my laptop. So, it is a good time to format that partition into ext3. In my case, the partition is a logical partition inside Win95 extended partition (f or W95 Ext'd (LBA)) while itself is NTFS (8 or HPFS/NTFS). In summary, my partition table is as follow.

/dev/hda1   Linux
/dev/hda2   W95 Ext'd (LBA)
/dev/hda5   HPFS/NTFS
/dev/hda6   Linux swap / Solaris

At the end of this transformation, I expect to have as below.

/dev/hda1   Linux
/dev/hda2   Linux extended
/dev/hda5   Linux
/dev/hda6   Linux swap / Solaris

Installing VHCS on CentOS 4.4

I found an installation guide of VHCS on CentOS 4.x in its wiki. It looks a bit complicate but not too bad for me. So I suggested my friend to give it a try. He installed CentOS 4.4 as usual and then I have to install further packages to meet the requirements of VHCS. This is a long, long story. In fact, VHCS doesn't support CentOS exactly. The only distributions supported by VHCS are just Debian-based and SUSE. That's why I have to make it work myself.