2008年7月14日

I Love Ubuntu!

Notes: This piece of article is for self-reference only. It contains conceptually technical content which is not for general reading nor configuration reference. Don't blame on me in case you have read through this pointless passage.

As suggested in the last post, the hard disk of the new server (currently named brisbane, the codename of the processor used) is a 133x 8GB ComplactFlash memory. However, I had been facing the problem of slow Windows installation (the installation takes more than five hours to complete).

After a sudden flash through my mind, I changed to Ubuntu Server 8.04 LTS. The installation takes no difficult steps provided one has enough computer knowledge. The major issue lies along the stripping disk configuration (because of c.en, I went to HK Golden Center with him and upgraded to two pieces of the 8GB CF card). The installation interface is capable of creating software disk arrays (RAID-0, RAID-1 and RAID-5 are supported). In the most common RAID-1 scenerio, a workaround is required to allow booting of another disk when one of the disks failed, which steps are detailed in many web-sites. However, it is not possible for RAID-0. I was quite suprising that many people in the net think that simular steps can be applied to RAID-0, the point is that in RAID-1, the two disks are identical, so booting either disk should work. But the boot loader must recognize a stripping set to boot a RAID-0 volume, which is not feasible. Currently, I put the /boot into a standalone logical partition (obviously, the software RAID feature supports arrays of logical partition!). You may find this paragraph very complicated, this is not a Linux's fault, it's just Windows not to support this (and many) kind(s) of highly customized and mature configurations.

After the server installation, it took around two hours to install GNOME (by installing ubuntu-desktop package). Since I have installed 6 GB of memory, I tried to get a RAM disk works in a minute (it's just a line in /etc/fstab with file system of tmpfs). Everything is as easy as asking Mr. Google and you are done. (Unlike in Windows, you have to first locate a suitable software and learn the interface yourself)

Another improvement is that a "xrdp" package is now stable enough to allow Windows's Remote Desktop client to connect to a Linux desktop. This is transparent to the Windows host. Together with the bundled "vino" package, I can now make use of a Remote Desktop client connected to the console GUI session of the linux host.

Next step: proftpd configuration, xrdp + Xvnc to enable connection to multiple GUI sessions.

Reference of tmpfs:
http://www.5ilinux.com/blog/archives/000075.html
http://www.funtoo.org/en/articles/linux/ffg/3/

沒有留言: