售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Raspberry Pi 2 Server Essentials
Table of Contents
Raspberry Pi 2 Server Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
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
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
Summary
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
Summary
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
Summary
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
Summary
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
Summary
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
Summary
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
Summary
9. Running Your Pi from a Battery's Power Source
Hardware requirements
Charging stations
Battery packs
Voltage regulator
Ohm's Law
Discharge curves
Discharge characteristics
Putting it all together
How long will it last?
Summary
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
Summary
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
Summary
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
Putting it all together
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
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜