I have 2 old computers (Pentium III and Celeron computers circa early 2000′s) that I currently use as servers for file storage, backups, and testing. I thought it was about time to consolidate these servers I had, up the performance, and set up a flexible test environment for my coding endeavours.
VMWare’s free ESXi hypervisor piqued my interests earlier last year. It’s comparable to XenServer but apparently has better support for Windows virtual machines. Being a bare-metal hypervisor, it should give better performance than a usual virtual machine sitting on top of a full-blown operating system. So I set my eyes on building an inexpensive but powerful ESXi whitebox that would take over the roles of my old computers.
I did a lot of research on ESXi and compatible components from various sites, blogs and forums. I learned that ESXi was quite picky in what hardware it would run on. I definitely wanted to buy the correct components that would work with ESXi 5, aiming to get everything under $500.
This is what I came up with (prices after price matching/rebates):
- AMD Phenom II X6 1055T Thuban 6-Core 2.8GHz Processor @ $122.17
- ASRock 990FX EXTREME3 Motherboard (ATX, AM3+, DDR3, SATA3) @ $156.60
- Mushkin Enhanced Blackline Frostbyte PC3-12800 8GB 2x4GB Memory Kit @ $44.99
- Gigabyte Radeon HD 5450 Low Profile Video Card @ $14.99
- Coolermaster Elite 350 Black ATX Case with 500W PSU @ $49.69
- Western Digital Caviar Green 2TB WD20EARS
- Trendnet Gigabit Network Adapter TEG-PCITXR
This selection got me well within my $500 budget even after taxes. The hard disk and network adapter were components I already had.
My old desktops run Lubuntu (Ubuntu but lightweight!) 11.10, which just became part of the official Ubuntu release. Life is a lot zippier in Lubuntu compared to Ubuntu when you’re on Pentium III and Celeron machines.
I wanted to be able to login to these computers remotely with a GUI, sort of like Microsoft’s Remote Desktop but Linux style. I didn’t want VNC because I wanted to be able to create a new login session instead of using the main console. Luckily XDMCP does exactly that and most of it is built into Ubuntu.
Following one question previously posted on AskUbuntu, I proceeded to add the following snippet to /etc/lightdm/lightdm.conf:
Then following the procedures posted by David Winter, I opened Terminal on my Mac, and typed in:
/usr/X11R6/bin/X -query 192.168.0.1 (replace 192.168.0.1 with the IP address of your Lubuntu computer). After a few moments the Ubuntu login screen showed up. Perfect!
I made myself an alias so that I wouldn’t have to remember the complicated command line. In ~/.bash_profile, I added:
alias xdmcp="/usr/X11R6/bin/X -query"
So now I can start a XDMCP session by typing in
Getting back into blogging!
I debated long whether to use WordPress or to code up my own blog system. I figured that reinventing the wheel is a waste of time so here I am with WordPress once again. I’m probably going to modify the homepage a bit and the theme when I have time.
I’m also going to dig through some of my archives on my old site and import some of my original blog posts… again when I have time.