Last week I set out to configure a test environment for building a new website on WordPress.  I decided to setup a Linux server running as a guest on Hyper-V on my Windows 8 beta laptop.  Primarily, I wanted to setup a WordPress site that would be configured under what will be the production URL so I don’t have to monkey with renaming the WordPress site addresses and risk having a bunch content pointing to the wrong URL.

I first tried my preferred Linux distro which is CentOS but sadly I couldn’t get the NIC to show up properly (no ETH 0, even using a legacy NIC).  Interesting, considering I’m running CentOS on my Windows Server 2008 R2 production Hyper-V environment with a legacy NIC.  In any event I went with Ubuntu just to get things going. Ubuntu has a very handy guide to help you through setting up WordPress

These directions went through without a hitch so for finishing touches I edited the host file on my laptop so that I could edit my WordPress website using what will be the public URL and then export my database and WordPress files to the production server when the time comes.  Keep in mind Hyper-V on Windows 8 has the following hardware requirements: Hyper-V requires a 64-bit system with second level address translation (SLAT) capabilities and an additional 2 GB of RAM. You can also enable SLAT via a BIOS setting.

How to instal Hyper-V on Windows 8