Home Page Icon
Home Page
Table of Contents for
Cover
Close
Cover
by David Hows, Peter Membrey
Learn Raspberry Pi 2 with Linux and Windows 10, Second Edition
Cover
Title
Copyright
Dedication
Contents at a Glance
Contents
About the Authors
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: Your First Bite of Raspberry Pi
Your Freshly Baked Pi Arrives
List of Ingredients
Micro USB lead
USB Power Adapter
HDMI Lead
HDMI Capable Display
Micro SD Card
Micro SD Card Reader
USB Keyboard and Mouse
Whew, We’re Done!
Don’t Panic!
Linux
What Is Linux?
Introducing NOOBS
The two NOOBS
Downloading NOOBS
Getting NOOBS onto Your SD Card
First Boot
Installing Raspbian with NOOBS
Configuring Your Pi
Expanding the Filesystem
Booting to Desktop
Changing User Password
Setting some International Options
Changing the Time Zone
Configuring the Keyboard
Enable Camera
Add to Rastrack
Overclock
Advanced features
Allocating Memory
At Last! It’s Configured!
Summary
Chapter 2: Surveying the Landscape
Welcome to LXDE
What do we have here?
The Start Menu and Top Left of the Taskbar
And on the Right Hand Side…
The Start Menu
Accessories
XArchiver
Calculator
File Manager
Image Viewer
PDF Viewer
Task Manager
Terminal
Text Editor
Games
Minecraft
Pi Games
Internet
Pi Store
Raspberry Pi Resources
Web Browser
Programming
Scratch
Python
Preferences
Help
Summary
Chapter 3: Getting Comfortable
Ye Olde Computer
Say Hello to the Dumb Terminal
Modern Terminals
So Why do We Still Care About these Things?
The Three Terminals
The Console
Opening a Virtual Terminal in the GUI
Connecting via SSH
SSH on the Mac
Welcome to the Command Line
Different Shells
Summary
Chapter 4: The File-paths to Success
What is a Filing System?
More than one Filesystem
Separate Roots
Unified Filesystem
The Mac has to be Different
Bring it all Together
Everything as a File
Filesystem Layout
/ (Root Directory)
/root
/etc
/proc
/var
/boot
/bin and /sbin
/dev
/home
/lib
/lost+found
/media
/mnt
/usr
/opt
/srv
/sys
/tmp
Putting it to Work
Where are we? Using pwd
What’s in here with us? Using ls
Creating Files to Play with, Using Touch
Somewhere to Store our Files, Using Mkdir
Making Use of Our New Directory, Using the mv Command
Time for Some Cloning, How to use the cp Command
The Power to Destroy, Using the rm Command
Fully Qualified and Relative Paths
Users and Groups
File Permissions
Setting File Permissions
Shortcuts and Links
Summary
Chapter 5: Essential Commands
Become the Boss
RTFM
System Resource Monitoring
Uptime and Load Average
Tasks
CPU Utilization Percentage
Memory Usage
Process Table
Using free to View Memory Allocation
Disk Usage
Managing Processes
File Commands
Combining Commands
User Environment
The cron Command
Summary
Chapter 6: Editing Files on the Command Line
What is a Text File?
The Contenders
Starting Out with Nano
So What Does this All Mean?
Saving Your File
Moving Around in Nano
Wrapping Up Nano
Getting Started with Vim
Vim’s Modes
Saving Your Changes
Getting Out of Vim
Searching in Vim
Moving About in Vim
Deleting in Vim
Misc Little Commands
Visual Mode
Copy and Paste Vim Style
Summary
Chapter 7: Managing Your Pi
Remotely Accessing the Pi
Networking
DNS
SSH
BASH: Basic Coding
What Is BASH?
Starting in BASH
Interpreted versus Compiled
Output in BASH
Recap
Variables
Logical Operation: if
Test Based Arithmetic
Troubleshooting
Logical Operation: Loop
Troubleshooting
Practical BASH: An Init Script
Pick and Match with the case Statement
Application within Application: Forking
Update the Run Files
Creating Your Own init Script
Security and User Management
The Rules of Raspbian Security
Adding a New User
Summary
Chapter 8: A LAMP of Your Own
First Steps
L is for Linux
A is for Apache
Apache Configuration
Troubleshooting
M is for MySQL
Installing MySQL
Structured Query Language
P is for PHP
Simple Web App
HTML
Starting Our Page
Display the Database Content
Website Data Insertion
Inserting to the Database
Remove Entries
Remove Data from DB
Troubleshooting
Where From Here?
Summary
Chapter 9: WiPi: Wireless Computing
Preparing for WiPi
Simple Constraint Removal
Removing Human Input Devices
Adding a Remote GUI
True WiPi with WiFi
GUI WiFi Configuration
Managing WiFi from the Command Line
Down to One
Removing the Need for Power
Powered USB Adapters
Summary
Chapter 10: The Raspberry sPi
Materials Needed
Presetup
Getting Started
dmesg
Troubleshooting
Motion Capture
Troubleshooting
Alerting Yourself
Installing SSMTP
Installing and Using mutt
Testing the Alerting System
Troubleshooting
Bringing It All Together
Understanding the Problem
Making Decisions
Designing Solution
Script 1
Script 2
Testing
Troubleshooting
Where to Go from Here
Summary
Chapter 11: Pi Media Center
Video with XBMC
Setup to Build
Changing Files with Sed and Regular Expressions
Compiling Source Code
Troubleshooting
Starting and Using XBMC
XBMC on Boot
Troubleshooting
Stream Music with Airplay
Troubleshooting
Airport on Boot
Summary
Chapter 12: Installing Windows 10!
I Thought Windows couldn’t Run on the Pi?
The Internet of what Now?
But why Windows?
Getting Started
Windows 8
Your Pi 2
8GB SD Card
HDMI Cable
Ethernet Cable
Downloading the Tools
What do you Get in the Box?
Writing the Firmware to the SD Card
Firing up the Pi
Configuration Time
Summary
Chapter 13: TOR
What is TOR
Installing TOR
Using TOR
Disabling TOR
Errors and Troubleshooting
Summary
Appendix A: Doing it by Hand – Writing an SD Card Image
Getting Some Images
Using Image Writer on Windows
Using dd on the Mac
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Title
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset