Small, personal web servers

Tiny Mini-ITX web server

Tiny Mini-ITX web server

I recently helped my roommate shop for a small, personal web server.  We wound up basing it on Intel’s Atom platform, and I was amazed at how cheap it was.  The server (pictured above) came up to almost exactly $200, including shipping, and has a 1.6GHz Atom CPU, 512MB of Memory, and an 80GB hard drive.  It runs Ubuntu 8.04 Server Edition.

The motherboard is a Mini-ITX form factor board, so the whole server is pretty small.  It has a low power consumption, with the Atom CPU using only 4W of electricity.  For anyone looking to host their own web page, the Atom is a great way to do it.  So far, the box has handled everything we’ve thrown at it quite nicely.  It’s running a LAMP server to host a few personal sites.

If you’re willing to spend a bit more (close to $300 for the same specs) you can get the server down even smaller by using a slimmer case and laptop components.

With the cost of hardware dropping, I wonder if we’ll see devices like this mass marketed to the general public.  It’s mainly a matter of making a nice interface for it to easily allow setting up a photo or blog site. Imagine a desktop application that would allow a user to type up a blog post, upload photos, etc., then automatically upload that content to the server.

If anyone’s curious, the hardware we bought is here.  The motherboard is currently out of stock, however, as Intel has released a dual core version.  I’ll update the wishlist when Newegg gets the new board in.

Posted on Saturday, September 27th, 2008
Under: Blog, Hardware, Linux | No Comments »

Clusterf*ck: Mass Virtualization

Sometime after I get back to Kentucky, I’m thinking of building a server for running virtual machines using VMware Server 2.0. The idea is to virtualize as many of my machines as possible.  Virtual servers, in particular, benefit from this by being able to be easily moved or cloned.  Rather than having to take a server down for upgrades, you have the  ability to clone the VM, apply the upgrade to the clone, then switch them out, resulting in nearly zero downtime.

In addition to running web and mail servers, I could also virtualize the backends to some other applications, namely Deluge and MythTV, so that the computers they ran on didn’t need to be on 24/7.  MythTV is a little tricky due to the lack of support for PCI passthrough in VMware, but I could of course use USB tuners.  I could also use a virtual machine as my primary desktop, and use a small, low powered, thin client to access it over VNC or SSH.

I recently looked into the hardware I’d want for such a server and came up with the following:

  • Intel Core 2 Quad Q6600 2.4GHz CPU
  • Intel BOXDG31PR Micro ATX Motherboard
  • Kingston 4GB (2×2GB) DDR2-800 Memory
  • Seagate 1TB SATA2 Hard Drive
  • APEX DM-387 Slim Micro ATX Case

The build would be another slim micro ATX build, similar to Cervantes and have a quad-core CPU, 4GB of ram, and a terabyte of storage.  In total, it came to a little under $600 for the entire build (I love how cheap hardware is getting) but I think I’ve decided to hold out for Nehalem before I build it.  With native quad cores and hyper threading, Nehalem should work well for this kind of project.

Posted on Wednesday, July 30th, 2008
Under: Blog, Hardware, Linux, Tech, VMware | No Comments »

Always lock down your mod_proxy

So, my server had been eating bandwidth for breakfast, and I finally found out why.  I was using apache’s mod_proxy to redirect incoming connections across the network, but that was being hijacked by some ad agencies and being used as a general use web proxy.  Hopefully I’ve got that taken care of now.  While I still see several incoming connections, they are no longer slowing down the network, so I’m assuming that my fix worked.

Posted on Sunday, June 8th, 2008
Under: Linux, Tech | No Comments »

Cervantes Lives! And other fun tales

Cervantes is back online, at least for the time being.  I’m going to take this opportunity to write a few things.  So much has happened since my last post.

Obviously, the main thing is my internship.  I’m now almost three weeks in, and I’m loving every minute of it.  The campus is downright amazing, and the weather in Palo Alto is beautiful.  I’m getting to work exclusively in Linux, and using GTK+.   I’m really starting to like coding in C/C++ now that I’m doing something useful with it.  My first paycheck has come and gone, but on the upside, I’ll have a place to live for the rest of the month.

My Thinkpad T61p has been holding up great, and has handled everything I’ve thrown at it easily.  That said, there’ll soon be available upgrades that I could consider, including 8GB of RAM and a Quad Core 2.5GHz CPU.  But at around $1000 each, I don’t think I’ll be getting either any time soon.  But, I can dream.

In the world of tech, some other goodies have been announced.  One of these is the ASUS Eee PC 901 and 1000, the newest in ASUS’s line of subnotebooks, at 9 and 10 inches, respectively.  The new generation of Eees uses Intel’s new Atom platform, including a CPU clocked at 1.6GHz, a notable improvement over the previous Celeron processor.  The new notebooks are also rated for up to nearly 8 hours of battery life.  A few days after the Eee announcement came the Canonical’s unveiling of Ubuntu Netbook Remix, a custom version of Ubuntu designed for small, Atom based netbooks like the Eee.  I’m really wanting to try it out on an Eee PC 1000.

Also, a few short days ago, Barack Obama clinched the Democratic nomination after the final two primaries, meaning he’ll be going up John McCain in the fall.  I’m very excited about this, as Obama is the first candidate in my short lifetime that I’ve actually been able to get excited about, and I’m hoping that this campaign will ultimately change the way the political system works in this country.

Posted on Thursday, June 5th, 2008
Under: Blog, Hardware, Linux, Politics, Tech, VMware | No Comments »

Server Upgraded and Back Online

Cervantes is now running on Ubuntu 8.04 LTS.  I installed it as I was leaving home and finished configuring it on the free wifi at Panera.

Posted on Wednesday, May 14th, 2008
Under: Blog | No Comments »