Home Page Icon
Home Page
Table of Contents for
Cover
Close
Cover
by Ryad El-Dajani
Banana Pi Cookbook
Banana Pi Cookbook
Table of Contents
Banana Pi Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
eBooks, discount offers, and more
Questions
1. Installation and Setup
Introduction
Banana Pi Overview
Operating systems for the Banana Pi
Android
Linux
Downloading an operating system for the Banana Pi
Getting ready
How to do it…
See also
Setting up the SD card on Windows
Getting ready
How to do it…
Writing an Android image to the SD card on Windows
Writing a Linux distribution image to the SD card on Windows
How it works…
See also
Setting up the SD card on Linux
Getting ready
How to do it…
How it works…
See also
Booting up and shutting down the Banana Pi
Getting ready
How to do it…
Booting up
Shutting down Android
Shutting down Linux
How it works…
See also
2. Administration
Introduction
Determining the IP address and hostname
Getting ready
How to do it…
How it works…
There's more…
Connecting via SSH on Windows using PuTTY
Getting ready
How to do it…
How it works…
There's more…
See also
Connecting via SSH on Unix-like systems
Getting ready
How to do it…
How it works…
There's more…
See also
User maintenance
Getting ready
How to do it…
Adding a new user
Setting a password for a user
Deleting a user
How it works…
There's more…
See also
Searching, installing, and removing the software
Getting ready
How to do it…
Searching for packages
Installing a package
Removing a package
How it works…
There's more…
See also
Updating the operating system
Getting ready
How to do it…
How it works…
There's more…
Wireless network on the Banana Pro
Getting ready
How to do it…
Loading the ap6210 module
Configuring the wireless network with WiFi Config
Configuring the wireless network manually
How it works…
There's more…
3. External Disks
Introduction
Mounting a USB drive
Getting ready
How to do it…
How it works…
There's more…
See also
Mounting an SSD or HDD via SATA
Getting ready
How to do it…
How it works…
Mounting via fstab
Getting ready
How to do it…
How it works…
There's more…
See also
Booting from an external disk
Getting ready
How to do it…
Formatting the drive
Copying the root filesystem and editing uEnv.txt
How it works…
See also
4. Networking
Introduction
Sharing files over the network via Samba
Getting ready
How to do it…
Installing the Samba server
Accessing the Samba share on Windows
Accessing the Samba share on Linux manually
Accessing the Samba share on Linux using fstab
How it works…
There's more…
See also
Setting up a web application
Getting ready
How to do it…
Installing the Nginx web server
Installing the PHP scripting language
Installing the MySQL database server
Installing WordPress
How it works…
There's more…
Setting up PhpMyAdmin
Other technologies
See also
Securing the Nginx web server using SSL
Getting ready
How to do it…
Creating the certificate
Configuring Nginx to use an SSL certificate
How it works…
There's more…
Importing a self-signed certificate on Windows
Importing a self-signed certificate on Linux
See also
Synchronizing files over the Internet
Getting ready
How to do it…
Setting up a Dynamic DNS
Updating the Dynamic DNS hostname
Setting up a port forwarding
Installing ownCloud
How it works…
There's more…
See also
Controlling the desktop remotely using VNC
Getting ready
How to do it…
Installing the VNC server on the Banana Pi
Installing and using a VNC client on Windows
Installing and using a VNC client on Linux
How it works…
There's more…
Adding a SSH tunnel for VNC in PuTTY
Using an SSH tunnel for VNC on Linux
See also
Securing SSH using SSH keys
Getting ready
How to do it…
Using SSH keys in PuTTY
Using SSH keys on Linux
Disabling the SSH password login on the Banana Pi
How it works…
See also
Setting up a UPnP media server
Getting ready
How to do it…
How it works…
There's more…
See also
5. Using the GPIO Pins
Introduction
Lighting up an LED using the gpio command
Getting ready
How to do it…
How it works…
There's more…
The Banana Pi pin layout
The Banana Pro pin layout
Using a GPIO extension board
See also
Programming the LED
Getting ready
How to do it…
Programming the LED with C
Programming the LED with Python
How it works…
Explaining the C code
Explaining the Python code
Using the GPIO input with a pushbutton
Getting ready
How to do it…
Preparing the circuit
Programming the software
How it works…
Explaining the C code
There's more…
See also
6. Multimedia
Introduction
Configuring the audio device
Getting ready
How to do it…
Configuring HDMI pass-through
Configuring analog audio
Testing the audio output
How it works…
There's more…
See also
Getting accelerated video playback
Getting ready
How to do it…
Preparing the building of the required components
Building and activating the hardware-accelerating components
Installing and configuring MPlayer
Installing and configuring VLC media player
How it works…
There's more…
See also
Setting up Kodi
Getting ready
How to do it…
How it works…
There's more…
See also
Setting up an infrared remote control using LIRC
Getting ready
How to do it…
Configuring LIRC to recognize the remote control
Controlling applications using the remote control
How it works…
There's more…
See also
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
Table of Contents
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