Găsiți următorul dvs. carte preferat

Deveniți un membru astăzi și citiți gratuit pentru 30 zile
Raspberry Pi Server Essentials

Raspberry Pi Server Essentials

Citiți previzualizarea

Raspberry Pi Server Essentials

277 pages
1 hour
Feb 10, 2014


This is an engaging, easy to follow guide for developing a wide range of server projects with Raspberry Pi

This book is targeted towards all Raspberry Pi enthusiasts who are interested in exploring the potential of Pi as a server. Even if you have no prior experience with the Raspberry Pi, you can pick up this book and develop a wide range of projects.
Feb 10, 2014

Despre autor

Legat de Raspberry Pi Server Essentials

Cărți conex
Articole conexe

Previzualizare carte

Raspberry Pi Server Essentials - Piotr J Kula

Table of Contents

Raspberry Pi Server Essentials


About the Author

About the Reviewers


Support files, eBooks, discount offers and more

Why Subscribe?

Free Access for Packt account holders


What this book covers

What you need for this book

Who this book is for


Reader feedback

Customer support

Downloading the example code




1. Getting Started with Raspberry Pi

Hardware requirements

Extra peripherals

Essential peripherals

Wireless USB network adapters

USB hubs

Keyboards and mice

Useful peripherals

Internet 3G dongles

Sound cards

IR receivers

TV and radio receivers


Multicard readers



Fun peripherals



CAN bus

Home automation

USB missile launcher

Fingerprint scanners

Installing Raspbian on the Raspberry Pi

Understanding the design of the Raspberry Pi

Boot process

Other capabilities

Hardware limitations

Network speeds

USB bottlenecks



2. Preparing the Network

Local Area Network (LAN)

The eth0 port

The wlan0 interface

The lo interface

Wireless configuration – Wi-Fi

Recommended wireless adapters

Setting up from the desktop

Setting up from the console

Using wicd-curses

Static network address

Testing and benchmarking your network

Basic tests

Advanced benchmarking tools

Speedtest application


Recommended bandwidth

Internet configuration

ISP packages

Home packages

Business packages

Dynamic DNS

Installing the client

Dynamic DNS domain workaround


3. Configuring Extra Features

Updating the Raspberry Pi

Updating firmware

Updating packages


Hardware watchdog

Enabling the watchdog and daemon

Testing the watchdog

Enabling extra decoders

Buying licenses



Hardware monitoring


4. Using a Fast PHP Web Server and Database

Working with nginx

Installing nginx

Configuring virtual hosts

Installing PHP

Installing a database

Installing MySQL

Installing SQLite3

Nginx with custom modules


5. Setting Up a File Server

Preparing the storage medium

Listing the available drives

Formatting a drive

Mounting the drives

Remounting a disk after reboot

Accessing files

FTP service

Connecting with FileZilla

Connecting with WinSCP

Samba service

Installing and configuring Samba

Network shares

AFP for Macintosh

Installing and configuring

Shares and Time Machine

BitTorrent Sync

Installing Sync


Hardware RAID


Massive storage

Redundant storage


6. Setting Up the Game Servers

Updating to Jessie

Selective settings

Games servers


Installing OpenTTD

Configuring OpenTTD

Playing OpenTTD


Installing Freeciv

Configuring Freeciv

Playing Freeciv


Installing OpenArena

Configuring OpenArena

Playing OpenArena


Installing Java Hard-Float

Installing the Minecraft server

Configuring Minecraft

Playing Minecraft


7. Bitcoins – Pools and Mining

Installing Bitcoind

Bitcoin wallet

Creating a Bitcoin address

Receiving Bitcoins

Sending Bitcoins

The value of Bitcoins

Mining for Bitcoins

Mining with ASICMiner

Installing CGMiner


8. Streaming Live HD Video

Streaming with GStreamer

Streaming with FFmpeg


Compiling nginx-rtmp

Configuring nginx

Streaming video using the RTMP module

Watching a video

RTMP streams

MPEG streams

Other streams


9. Setting Up a Media Center


Using fbi

Watching movies

Using OMXPlayer

Playing audio

Using aplay

Using OMXPlayer

Using AirPlayer

Using alsamixer

Installing RaspBMC

Enabling other codecs

Configuring RaspBMC


Media sources

Using Add-ons


Enabling CEC

Performance optimization

Change the skin


NFS versus Samba



Raspberry Pi Server Essentials

Raspberry Pi Server Essentials

Copyright © 2014 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: February 2014

Production Reference: 1030214

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-78328-469-6


Cover Image by Piotr J. Kula (<info@piotrkula.com>)



Piotr J. Kula


Teemu Lätti

Warren Myers

Acquisition Editor

Kunal Parikh

Commissioning Editor

Manasi Pandire

Technical Editors

Shubhangi Dhamgaye

Nachiket Vartak

Copy Editors

Alisha Aranha

Roshni Banerjee

Gladson Monteiro

Adithi Shetty

Project Coordinator

Sageer Parkar


Maria Gould

Paul Hindle


Monica Ajmera Mehta

Tejal Soni


Ronak Dhruv

Production Coordinator

Shantanu Zagade

Cover Work

Shantanu Zagade

About the Author

Piotr J. Kula developed an interest in computers when he was six years old. He was introduced to the world of technology by his father who came from an electronics engineering background. Piotr has lived, studied, and gained experience in three countries. Today, he is a Microsoft Certified Professional and works with reputed companies offering complex software solutions. In his spare time, he enjoys working on electrical engineering projects and also enjoys doing some home improvement projects with his wife.

I want to thank my wife Katarzyna Kula for always supporting me during my projects.

About the Reviewers

Teemu Lätti works as a software specialist for Elektrobit (http://elektrobit.com) in Kajaani, Finland. He has over 15 years of experience as a professional Java and C++ developer. He is specialized in embedded software on different platforms, for example, Raspberry Pi, Android, and Windows Phone. He has a wide experience in various software, from device drivers to user interfaces and web development. He hosts a private web page (http://cupla.net) and builds home automation experiments with Raspberry Pi and Arduino.

Warren Myers is a Data Center Automation and Management Engineer with seven years of experience with the HP automation stack. He has an extensive background and interest in technical arenas. He started programming when he was 10, and has always strived to learn new things on a regular basis. He currently works for Avnet Services as a Solutions Architect in the Cloud & Automation Practice. He has also written Debugging and Supporting Software Systems (http://cnx.org/content/col11350), a freely available e-book.


Support files, eBooks, discount offers and more

You might want to visit www.PacktPub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.


Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books. 

Why Subscribe?

Fully searchable across every book published by Packt

Copy and paste, print and bookmark content

On demand and accessible via web browser

Free Access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.


The purpose of this book is to get you started with the Raspberry Pi. We will try and cover many different topics to demonstrate the flexibility of the Raspberry Pi. The main goal of the book is to get you started on this project that you were just not so sure about.

What this book covers

Chapter 1, Getting Started with Raspberry Pi, will check the basic equipment that we need to use with this book. We will have to look into the other peripherals that we buy and

Ați ajuns la sfârșitul acestei previzualizări. Înscrieți-vă pentru a citi mai multe!
Pagina 1 din 1


Ce părere au oamenii despre Raspberry Pi Server Essentials

0 evaluări / 0 Recenzii
Ce părere aveți?
Evaluare: 0 din 5 stele

Recenziile cititorilor