Raspberry Pi - small server on Grip

on Thursday, October 9, 2014
The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It is a capable little computer which can be used in electronics projects, and for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video. We want to see it being used by kids all over the world to learn how computers work, how to manipulate the electronic world around them, and how to program.

The Raspberry Pi is a good choice for a webserver that will not recieve too much traffic, such as a testing server, or small intranet, as it doesn;t get too hot (so is nice and quiet), and only uses around 5 Watts of power.

Since the Pi is a basically a mini-computer, I decided to take it for a spin and see what I could throw at it, and  I have been pleasantly surprised. In fact, it's been so successful that I've decided to try setting it up as a mini server with various services.  In doing so, I've come up with a list of advantages that I feel are very compelling.




  1. Power consumption - The Pi draws about five to seven watts of electricity. This is about one tenth of what a comparable full-size box can use. Since servers are running constantly night and day, the electrical savings can really add up. I have calculated that the basic Pi kit (Pi board, case, and power supply) will pay for itself with about one year's worth of electricity savings if it's left to run 24x7x365.  I ended up with the CanaKit Basic Kit (ASIN # B00DG9D6IK) which is very affordable and good quality.
  2. No moving parts - The Pi uses an SD card for storage, which is fast and has no moving parts.  There are also no fans and other things to worry about.  A Class 10 SD card is usually the best performing compared to lower class cards, but this will mainly only affect boot time where there is the most I/O.  There is a compatibility chart for SD cards here, results may vary but overall I've had very good luck with Transcend cards which provide a good value.
  3. Small form factor - The Pi (with a case) can be held in your hand.  A comparable full-size box cannot.  This means the Pi can be integrated inside of devices, too.
  4. No noise - The Pi is completely silent.
  5. Status lights - There are several status lights on the Pi's motherboard.  With a clear case you can see NIC activity, disk I/O, power status, etc.
  6. Expansion capabilities - There are numerous devices available for the Pi, all at very affordable prices.  Everything from an I/O board (GPIO) to a camera.  The Pi has two USB ports, however by hooking up a powered USB hub, more devices can be added.
  7. Built-in HDMI capable graphics - The display port on the Pi is HDMI and can handle resolutions up to 1920×1200, which is nice for making the Pi in to a video player box for example.  There are some converters that can convert to VGA for backwards compatibility.  Alist of HDMI to VGA converters can be found here.  I ended up using the Sanoxy HDMI to VGA cable (ASIN # B0088K7QUQ) which has worked well so far.
  8. Affordable - compared to other similar alternatives, the Pi (revision B) offers the best specs for the price, at least that I've found.  It is one of the few devices in its class that offers 512 MB of RAM. The Pi has come down in price since it first arrived, and is finally affordable as a hobby, business use, or whatever need there is.
  9. Huge community support - The Pi has phenomenal community support. Support can be obtained quite easily for the hardware and/or GNU/Linux software that runs on the Pi mainly in user forums, depending on the GNU/Linux distribution used.  A good list of distributions can be found here.
  10. Overclocking capability - The Pi can be overclocked if there are performance problems with the application used, but it is at the user's risk to do this.
  11. Multiple uses - Having the storage on an SD card makes it easy to swap with other SD cards running other GNU/Linux distributions to quickly and easily change the functionality of the Pi. If you want to set up the Pi to run as a server to test it out, then later try something else, just swap the SD card and you're done. Using the "dd" command on a GNU/Linux computer, abackup of the SD card can be created and later restored if needed.
  12. ARM architecture - While ARM is a highly efficient and low powered architecture, it is not x86 and therefore any binaries that are compiled to run on x86 cannot run on the Pi. The good news is that entire GNU/Linux distributions have been compiled for the ARM architecture and new ones are appearing all of the time. There are very few applications that absolutely need x86. The only one that I found so far to be a problem is Wine, which runs Windows programs. Unfortunately, Wine does not work on the Pi.
  13. RAM not upgradable - The main components of the Pi are soldered to the motherboard, including the RAM which is 512 MB.  This is not a problem though as GNU/Linux can easily run on this. I've found the Pi uses about 100 MB of RAM while running as a small server (this is without running X11).


Drawbacks of the Pi
With all of the positive things about the Pi, there are a couple of items that I feel are very minor drawbacks:

  1. ARM architecture - While ARM is a highly efficient and low powered architecture, it is not x86 and therefore any binaries that are compiled to run on x86 cannot run on the Pi. The good news is that entire GNU/Linux distributions have been compiled for the ARM architecture and new ones are appearing all of the time. There are very few applications that absolutely need x86. The only one that I found so far to be a problem is Wine, which runs Windows programs. Unfortunately, Wine does not work on the Pi.
  2. RAM not upgradable - The main components of the Pi are soldered to the motherboard, including the RAM which is 512 MB.  This is not a problem though as GNU/Linux can easily run on this. I've found the Pi uses about 100 MB of RAM while running as a small server (this is without running X11).

Raspberry Pi Web Server

0 comments:

Post a Comment