Raspberry Pi 2 Server Essentials

 
 
Packt Publishing Limited
  • 1. Auflage
  • |
  • erschienen am 28. April 2016
  • |
  • 174 Seiten
 
E-Book | ePUB mit Adobe DRM | Systemvoraussetzungen
978-1-78528-454-0 (ISBN)
 
Transform your Raspberry Pi into a multi-purpose web server that supports your entire multimedia world with this practical and accessible tutorial!About This BookHost websites, games, and even stream HD videos with the impressive power of Raspberry Pi 2Get to grips with embedded programming by turning your Pi into the cloud server that can be used to power Internet of Things projectsMake the Raspberry Pi 2 the center of your latest tech experiments and discover how it can manage and host resourcesWho This Book Is ForSeeking 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 LearnHost your Raspberry Pi as a web server using the minimum power resourcesConnect your Pi to the Internet and perform network benchmarkingExplore the cross-platform features of the Pi as you run Python, Node.JS, ASP.NET, and PHP all in one placeShare files over the Internet using your Pi as a file serverTurn your Pi into a game server, host and engage into playingEnjoy live HD video streaming and exclusive real-time text overlaysIn DetailThere'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.Style and approachPacked with plenty of practical examples that walk you through a number of Raspberry Pi projects, this book is an accessible journey into embedded computing and Internet of Things.
  • Englisch
  • Birmingham
978-1-78528-454-0 (9781785284540)
1785284541 (1785284541)
weitere Ausgaben werden ermittelt
  • 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
  • Summary
  • 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
  • Summary
  • 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
  • Summary
  • 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
  • Summary
  • 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
  • Summary
  • 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
  • Summary
  • 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
  • Summary
  • Chapter 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
  • 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
  • Summary
  • 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
  • Summary
  • 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
  • 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

Dateiformat: EPUB
Kopierschutz: Adobe-DRM (Digital Rights Management)

Systemvoraussetzungen:

Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).

Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions (siehe E-Book Hilfe).

E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)

Das Dateiformat EPUB ist sehr gut für Romane und Sachbücher geeignet - also für "fließenden" Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an. Mit Adobe-DRM wird hier ein "harter" Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.

Weitere Informationen finden Sie in unserer E-Book Hilfe.


Download (sofort verfügbar)

24,93 €
inkl. 19% MwSt.
Download / Einzel-Lizenz
ePUB mit Adobe DRM
siehe Systemvoraussetzungen
E-Book bestellen

Unsere Web-Seiten verwenden Cookies. Mit der Nutzung des WebShops erklären Sie sich damit einverstanden. Mehr Informationen finden Sie in unserem Datenschutzhinweis. Ok