Chapter 5. Streaming Videos

In this chapter, we are going to set up both live and recorded video streaming, using a web-based application. What this means for the user is that they can access either their recorded videos or a live stream from their home IP video camera, from their smartphone, or their tablet while being logged on to their home network.

In order to do this, we have to install some additional software on our BeagleBone. The instructions explained in this chapter are based on an excellent tutorial from HowtoForge:

https://www.howtoforge.com/installing-lighttpd-with-php5-php-fpm-and-mysql-support-on-debian-wheezy

Installing MySQL5

The first package that we are going to install is called MySQL5.

Tip

All these instructions assume that you have logged in as Root and your network IP address is 192.168.10.127.

To do this, we enter the following command into a terminal (or SSH) window:

apt-get install mysql-server mysql-client

Once the software has finished installing, the first thing we have to do is set up a root user password.

In the terminal window, enter p. The following message will appear in the window, as shown in the following screenshot:

New password for the MySQL "root" user:

Installing MySQL5

You will then be asked to repeat the password with the following message, as shown here:

Repeat password for the MySQL "root" user:

Installing MySQL5

That's it; we are done with MySQL for now.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.224.59.145