My Account Log in

4 options

Raspberry Pi 2 server Essentials : transform your Raspberry Pi into a multi-purpose web server that supports your entire multimedia world with this practical and accessible tutorial! / Piotr J. Kula.

EBSCOhost Academic eBook Collection (North America) Available online

View online

EBSCOhost eBook Community College Collection Available online

View online

Ebook Central College Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Kula, Piotr J., author.
Series:
Community experience distilled
Language:
English
Subjects (All):
Raspberry Pi (Computer)--Programming.
Raspberry Pi (Computer).
Physical Description:
1 online resource (174 pages)
Edition:
1st edition
Place of Publication:
Birmingham, [England] ; Mumbai, [India] : Packt Publishing, 2016.
System Details:
text file
Summary:
Transform your Raspberry Pi into a multi-purpose web server that supports your entire multimedia world with this practical and accessible tutorial! About This Book Host websites, games, and even stream HD videos with the impressive power of Raspberry Pi 2 Get to grips with embedded programming by turning your Pi into the cloud server that can be used to power Internet of Things projects Make the Raspberry Pi 2 the center of your latest tech experiments and discover how it can manage and host resources Who This Book Is For Seeking inspiration for some new tech projects? Want to get more from your Raspberry Pi? This book has been created especially for you! What You Will Learn Host your Raspberry Pi as a web server using the minimum power resources Connect your Pi to the Internet and perform network benchmarking Explore the cross-platform features of the Pi as you run Python, Node.JS, ASP.NET, and PHP all in one place Share files over the Internet using your Pi as a file server Turn your Pi into a game server, host and engage into playing Enjoy live HD video streaming and exclusive real-time text overlays In Detail 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 Rasp...
Contents:
Cover
Copyright
Credits
About the Author
About the Reviewers
www.PacktPub.com
Table of Contents
Preface
Chapter 1: Getting Started with the Raspberry Pi
Hardware requirements
Power supply
USB hub
SD cards
Extra peripherals
Essential peripherals
Useful peripherals
Internet 3G dongles
Audio recording
Other media add-ons
Fun peripherals
Installing Raspbian on the Raspberry Pi
Understanding the design of the Raspberry Pi
Boot process
Other capabilities
Hardware limitations
Network speeds
USB bottlenecks
Time
References
Summary
Chapter 2: Preparing a Network
Local Area Network (LAN)
The eth0 port
The wlan0 interface
The loopback (LO) interface
A wireless configuration (Wi-Fi)
Recommended wireless adapters
Setting up from a desktop
Setting up from a console
Using wicd-curses
A static network address
Testing and benchmarking your network
Basic tests
Advanced benchmarking tools
A speedtest application
iPerf
Recommended bandwidth
Internet configurations
Home packages
Business packages
Dynamic DNS
Installing a client
The free Dynamic DNS domain workaround
Chapter 3: Configuring Extra Features
Updating Raspberry Pi
Updating the firmware
Updating packages
Updating distribution
Outcomes
Hardware watchdog
Enabling the watchdog and daemon
Testing the watchdog
Enabling extra decoders
Buying licenses
MPEG-2
VC-1
Hardware monitoring
Chapter 4: Using Fast Web Servers and Databases
Apache versus nginx versus Kestrel
Installing nginx
Configuring the nginx virtual hosts
Extra frameworks for nginx
Python API
Executing Python
Node.js
Installing Node.js
What is NPM
The Node.js server
.NET and ASP.MVC.
Prerequisites for .NET 5
Installing DNVM, DNU and DNX
Installing DNX
Running the MVC website
MVC and nginx
Other .NET applications
Installing PHP
Installing a database
Installing MySQL
Installing phpMyAdmin
Installing SQLite
Chapter 5: Setting Up the Raspberry Pi as a File Server
Connecting the external storage
Preparing the storage medium
Listing the available drives
Formatting a drive
Creating a EXT4 partition
Mounting the drives
Remounting a disk after reboot
Accessing files
The FTP service
Connecting with FileZilla
Connecting with WinSCP
The Samba service
Installing and configuring Samba
Network shares
AFP for Macintosh
Installing and configuring Netatalk
Shares and Time Machine
BitTorrent Sync
Installing BTSync 2
The hardware RAID
Configuration
Massive storage
Redundant storage
Chapter 6: Setting Up Game Servers
Updating to Jessie
Selective settings
Game servers
OpenTTD
Installing OpenTTD
Configuring OpenTTD
Playing OpenTTD
Freeciv
Installing Freeciv
Configuring Freeciv
Playing Freeciv
OpenArena
Installing OpenArena
Configuring OpenArena
Playing OpenArena
Minecraft
Installing the Java Hard-Float
Installing the Minecraft server
Configuring Minecraft
Playing Minecraft
Chapter 7: Streaming Live HD Video
Installing UV4L
Configuring the UV4L-RaspiCAM
Installing WebRTC
WebRTC streaming
Real time HTTP streaming
Web conferencing
Streaming the X desktop
Text overlay
Object detection and tracking
Removing the overlay watermark
The HUD sample
Using the overlay binary
Inline variables
Compiling the overlay code yourself
Chapter 8: Setting Up the Pi as a Media Center Server
Slideshows
Using fbi.
Playing videos
OMXPlayer for video playback
Playing audio
Aplay for audio playback
OMXPlayer for audio playback
Using AirPlayer
Using alsamixer
Installing OSMC
Configuring OSMC
Enabling other codecs
Wireless configuration
Media sources
Using add-ons
AirPlay
Enabling CEC and remotes
Performance optimization
Overclocking
Chapter 9: Running Your Pi from a Battery's Power Source
Charging stations
Battery packs
Voltage regulator
Ohm's Law
Discharge curves
Discharge characteristics
Putting it all together
How long will it last?
Chapter 10: Windows IoT Core
Getting started
Flashing IoT
Python for Linux or Windows 7 and 8
The first boot
Remote connections
Visual Studio (VS)
Installing Visual Studio 2015
The Hello World application
Deploying the application
Debugging
Breakpoints
Unhandled exceptions
Samples
Windows 10 IoT WebGUI
Setting up the startup app
Peripherals
Bluetooth
Wireless
Chapter 11: Running Your ownCloud
Installation
Requirements
MySQL
nginx and PHP
Permissions
The first configuration
The admin configuration
The server admin
Installing apps
Calendar
Other apps
Daily functionality
The World Wide Access
Chapter 12: The Internet of Things - Sensors in the Cloud
What is IoT?
Ohm's law
How much power?
Choosing sensors
Resistors, fuses, and diodes
Transistors
Integrated Circuit Packages
Accurate data using Arduino
Building a weather station
Real-time embedded devices
The data communication
Real-time events
Analog inputs
Parts required
Storing data on the Cloud
Phant
Index.
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed March 3, 2017).
ISBN:
9781785284540
1785284541
OCLC:
949811265

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account