Creating a Web Server on a Raspberry Pi

My Raspberry Pi
This web site is powered by a Raspberry Pi, a single-board computer the size of a credit-card. The Raspberry Pi comes already-assembled, with all parts, for about $35 or $40. It comes in two models; mine is a Model B Rev 2, which has more internal memory than the slightly-cheaper Model A, and two USB ports instead of 1, and has an Ethernet controller, which I'd think is essential for a web server. It runs several operating systems including Linux, which I selected for my web site. It uses an SD card for a hard drive, and requires an external power supply that has a micro-USB connector and can supply about 1A of power. I've read that it's good to get a power supply that can deliver 1.5 or 2 amps to improve the stability of the Raspberry Pi. This is more than your typical phone charger delivers, but check your junk drawer because you might already have one. I purchased the Raspberry Pi, a Transcend 8GB class 10 SDHC memory card, a Multicomp Clear Raspberry Pi Enclosure, and an EasyAcc US 5V 2A Universal Travel AC Micro USB Wall Charger Adapter long cord for Tablet, all for a total of $73.84 from Amazon.

I already had a spare Network cable to connect the Raspberry Pi to my home network. I also already had an SD card writer that I could connect-up to my computer to burn the initial version of the operating system. If you don't have an SD card writer, it's probably cheaper to buy an SD card that's pre-loaded with the operating system. It's reasonably priced, but I don't know the speed of the card. Since I already had an SD card writer, and I wanted a card that was faster than what the Raspberry Pi wants as a minimum speed, I decided to just buy a blank class 10 card and burn it myself. Additionally, for initial setup of the computer which took me about 4 hours, I needed to use these things I already had: a USB Keyboard, a USB Mouse, an HDMI cable, and a monitor (or TV) with an HDMI input.

To setup the Raspberry Pi, using a Windows 7 computer follow these steps: