Reader small image

You're reading from  Raspberry Pi Server Essentials

Product typeBook
Published inFeb 2014
Publisher
ISBN-139781783284696
Edition1st Edition
Right arrow
Author (1)
Piotr J Kula
Piotr J Kula
author image
Piotr J Kula

Piotr J Kula started his passion for computer technologies when he took apart his father's IBM PC/XT machine at the age of 6. It became clear that Piotr had a natural ability with technology after he reconstructed the machine, and it booted. After 25 years, Piotr has worked for various companies in different countries. He has always solved complex problems or engaged in new experiences. As long as it had a processor of some sort, Piotr was always the first to try, fix, or configure it. Today, Piotr is the CEO of his own company, Kula Solution Ltd., in the United Kingdom. Piotr is certified in several Microsoft technologies, and he specializes in Microsoft and Linux technologies. Piotr's dream is for a unified experience between Linux and Microsoft. He has never been deterred by negativity from either side, and instead, he has strived to find a way to build a bridge between these distant giants. After discovering Raspberry Pi, he completely replaced every other embedded device that he owned and was successful at releasing Raspberry Pi Server Essentials, with Packt Publishing. Today, Piotr is one step closer to fulfilling his dream with the release of Raspberry Pi 2 Server Essentials. This book is mostly about Linux, but it also talks about integrating and running Windows on your beloved Raspberry Pi.
Read more about Piotr J Kula

Right arrow

Compiling nginx-rtmp


Now, we need to compile nginx-rtmp. The following process will install nginx into the default locations. If you already have nginx configured, you will need to change some of the configuration settings or skip the installation process completely. We will install nginx from the repository just to make sure all the dependencies are installed. Afterwards, we will only remove nginx.

# sudo apt-get -y install nginx
# sudo apt-get -y remove nginx
# sudo apt-get clean

Then, we can download the latest version of the nginx-rtmp module and Version 1.4.1 of nginx. Later versions should be fine, but this version is verified to compile on the Pi and is stable with this module.

# cd /usr/scr  
## clone the latest version of rtmp module for nginx
# sudo git clone git://github.com/arut/nginx-rtmp-module.git

##download nginx source tested with- 1.4.1
# sudo wget http://nginx.org/download/nginx-1.4.1.tar.gz
# sudo tar -xzvf nginx-1.4.1.tar.gz

We need to install some building dependencies...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Raspberry Pi Server Essentials
Published in: Feb 2014Publisher: ISBN-13: 9781783284696

Author (1)

author image
Piotr J Kula

Piotr J Kula started his passion for computer technologies when he took apart his father's IBM PC/XT machine at the age of 6. It became clear that Piotr had a natural ability with technology after he reconstructed the machine, and it booted. After 25 years, Piotr has worked for various companies in different countries. He has always solved complex problems or engaged in new experiences. As long as it had a processor of some sort, Piotr was always the first to try, fix, or configure it. Today, Piotr is the CEO of his own company, Kula Solution Ltd., in the United Kingdom. Piotr is certified in several Microsoft technologies, and he specializes in Microsoft and Linux technologies. Piotr's dream is for a unified experience between Linux and Microsoft. He has never been deterred by negativity from either side, and instead, he has strived to find a way to build a bridge between these distant giants. After discovering Raspberry Pi, he completely replaced every other embedded device that he owned and was successful at releasing Raspberry Pi Server Essentials, with Packt Publishing. Today, Piotr is one step closer to fulfilling his dream with the release of Raspberry Pi 2 Server Essentials. This book is mostly about Linux, but it also talks about integrating and running Windows on your beloved Raspberry Pi.
Read more about Piotr J Kula