Book Image

Raspberry Pi 2 Server Essentials

By : Piotr J Kula
Book Image

Raspberry Pi 2 Server Essentials

By: Piotr J Kula

Overview of this book

There’s no end to what you can do with a Raspberry Pi – it makes a huge range of tech projects possible. This book shows you how to transform it into a multipurpose web server, able to store and manage resources that lets you build some truly innovative and impressive computing creations. You’ll learn how to use your Raspberry Pi 2 to host a website using a range of different languages, host a game server, store files, and run everything from a media center to a cloud network. If you want to take control of your technological world, start building your own server and find out what’s possible with the Raspberry Pi microcomputer. Begin by getting your Pi set up – follow each step as the book shows you how to prepare a network and configure the additional features that you’ll need to build your projects. Once you’ve done this you’ll dig a little deeper and set up your pi as a file server, making sure it’s built for speed using a range of different tools, including Python, Node.js and ASP.NET. Following this the book shows you how to extend your server to allow you to host games, and stream live HD video before customizing it even further to create a fully-fledged media center. It doesn’t stop there however – the book then dives into the exciting world of the Internet of Things (IoT). You’ll learn how to install Windows IoT onto your Raspberry Pi, the operating system that’s driving embedded software projects all around the world. Once you’ve done this you’ll be ready to explore IoT further, as the book shows you how to use your device to host a cloud network that can form the basis of a wider IoT project.
Table of Contents (19 chapters)
Raspberry Pi 2 Server Essentials
About the Author
About the Reviewers

A static network address

Some DHCP servers on routers tend to change your private address every now and then. Setting a static private address is a quick way to prevent this from happening, and it is easier to remember what the IP address is.

However, many newer routers have the ability to assign a preferred IP address in the DHCP settings or will automatically assign a long-term IP to the device based on its MAC address. A long-term IP usually means that the router is reset to factory defaults or it will run out of IP addresses and replace the oldest entry in the DHCP list.

The downfall of using static addresses with most home routers is that the router might not know about this device. The reason for this is because it would have to scan the entire network endlessly, thus taking up valuable resources. If the DNS service does not advertise the IP address of the Raspberry Pi, you will not be able to use its hostname (which is, by default, raspberry), and instead, you will have to type in the...