Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi 2 Server Essentials

You're reading from   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!

Arrow left icon
Product type Paperback
Published in Apr 2016
Publisher
ISBN-13 9781783985692
Length 174 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Piotr J Kula Piotr J Kula
Author Profile Icon Piotr J Kula
Piotr J Kula
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Getting Started with the Raspberry Pi FREE CHAPTER 2. Preparing a Network 3. Configuring Extra Features 4. Using Fast Web Servers and Databases 5. Setting Up the Raspberry Pi as a File Server 6. Setting Up Game Servers 7. Streaming Live HD Video 8. Setting Up the Pi as a Media Center Server 9. Running Your Pi from a Battery's Power Source 10. Windows IoT Core 11. Running Your ownCloud 12. The Internet of Things – Sensors in the Cloud Index

Installing UV4L


UV4L is a userspace webcam driver specifically designed for the Raspberry Pi. It also includes some other features that will be discussed in this chapter. U4VL is custom code that is written and developed by Luca Risolia, who runs the website http://linux-projects.org. We will add his repository to get the UV4L driver:

curl http://www.linux-projects.org/listing/uv4l_repo/lrkey.asc | sudo apt-key add -

Add the following line to /etc/apt/sources.list:

deb http://www.linux-projects.org/listing/uv4l_repo/raspbian/ wheezy main

Tip

If you have not yet run rpi-update, then it is recommended to do it now. The UV4L driver requires the latest foundation kernels and modules to install properly.

Now we need to update the repository list, and then we can install the UV4L driver. We will do these with the following commands:

sudo apt-get update
sudo apt-get install uv4l uv4l-raspicam
sudo apt-get install uv4l-server uv4l-raspicam-extras

Tip

The UV4L driver makes it really easy to stream video...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image