Skip to main content

Raspberry Pi in a Networking Matrix

Nothing to do with the movie. It is more of a matrix of the ways the Raspy can be used for various networking solutions. All of it is described in the well-known and useful form of recipes in the Rick Golden's book Raspberry Pi Networking Cookbook

All about the networking
Very background-enriching, because it gives advises to people who just bought their first Pis and wonder where to start from. It really is very suitable as the first book to read on the matter. There's a little something for everyone.

It is pretty exhaustive regarding the different possible installment the Raspberry Pi can be used for. In any case (for media center, for desktop, as a gaming platform, etc.) the hardware set-up is defined thoroughly. 

The cookbook formula is concise and at the same time gives the right information in a familiar way. Every recipe has the same structure and usually (at least in the cookbooks of PACKT Publishing) consists of:
  • Recipe title or theme - a bit of introduction to the current task.
  • Getting ready section - list of all the nuts and bolts that should be at hand.
  • How to do it... section - the actual work to be done.
  • How it works... section - thorough explanation of what just happened.
  • There's more... section - some interesting (and sometimes enlightening) additional information.
  • See also section - set of the most relevant to the current task links.
The How it works... sections are usually the educating part of a recipe. The There's more... sections can share different points of view to the topic. I especially liked the way the Raspberry Pi was compared to the game consoles in the way that any SD card with a different OS put on it could turn it into a completely different machine. Just like the cartridges with different games. It is obvious, but such exact comparison never occurred to me.

The book can roughly be divided into two parts. The first three chapters form something like an introduction to Raspberry Pi with a Linux primer. The Rest of the chapters (fourth and fifth) take into account a more advanced topics like sharing folders through a local network, setting up file server, accessing devices (USB disks) through a network ... And more - installing and running web servers (Apache, lighttpd and Nginx) and even a wiki (MediaWiki instance).

Starting as a book for the utter beginner in the field has always been a bit disappointing for me, because I thought the usual Raspberry Pi enthusiast is supposed to be technically literate at some level. But then I saw some article showing how a classroom in Africa is powered by Raspberry Pis. This made me realize that the number of enthusiasts should be much smaller than the number of actual users who are not supposed to know much about computers. So Raspberry Pi Networking Cookbook could be the perfect fit for the major user-base of the tiny credit-card sized computer.

Reading this piece of literature was very enjoyable. From a bit different perspective it is even a mild and gradual introduction to some of the Linux (mostly Debian) basics and networking as a whole. Although many of the concepts were not new to me, all of the additional tiny bits of info enriched every single recipe. And this is good because that's how a set of how-tos turns into a real and interesting book. Good job Mr. Golden.

Comments

Popular posts from this blog

The Pi as a PostgreSQL Database Server

Raspbian with PostgreSQL it is quite easy actually. Just like on Ubuntu/Linux Mint/... (Replace the ellipsis with any derivative of Debian or Ubuntu.) The hardest part is to decide which version of the database server to employ. On this page the full set of options for retrieving the server is given with the necessary amount of detail.     "Should I get it?" Actually, since PostgreSQL (together with MySQL) is one of the most popular open source databases within the Linux realm, some distributions choose to deliver it pre-installed on their releases. If you are not sure, if you need to get the server at all, this simple command can answer that question: $ ps aux | grep postgers It will search through the processes running on your system and filter them to leave only those bound to PostgreSQL. It is possible that the server is present on the system, but it is not running at the moment. In that case it is enough to see if its configurations are in place. The plac

Java 8 on the Raspberry Pi

This topic being approached exhaustively may become vast and is fit for at least a book. I'll have to keep it short and concise here, so I'll stick to a few key points: Java Runtime vs JDK - actually there is no discussion here - if you you intend to run programming projects you need the development kit, period. (It contains the runtime anyway.) Java 7  vs Java 8 (JDKs) - this could require some debate. Java 7 is the mature and default option to go with. Having around two years in production, it is the safer choice. Java 8 has been just released, and its shortcomings are still unknown. On the other hand Java 8 has numerous improvements to the language, and Oracle wouldn't approve it for release if it wasn't quite well tested. Another facet to be considered is that Java 7 is well presented in the repositories, while currently Java 8 have to be downloaded, installed and maintained (the regular updates - mostly for security reasons) all manually. Source examples - ne

Book on How to Cluster some Pis with Hadoop

To be honest and straightforward I expected more from a book with title like Raspberry Pi Super Cluster . The author Andrew K. Denis has a very clear vision on the subject (like in his previous book Raspberry Pi Home Automation with Arduino , which I liked a lot) . He's done his best to deliver an exhaustive set-up while being concise at the same time, but it seems to me, this clearly is the wrong format for a book on the given topic. Stack Pis for parallel power Now having this book at hand, I finally got the chance to answer many of the questions I had about clustering, and how it can be applied to a set of Raspberry Pis. The first impression is that it is very well structured and gradual. Lets see, the first two chapters are short introductions to parallel computing (background history and the contemporary systems) and the initial set-up respectively. They're short and to the point. And that's the way it should be - it is presumed that if you're going paralle