Top Stories published by Sandwich Bytes in 2014

Install Nginx, PHP-FPM, MySQL and phpMyAdmin on OS X

An Apache, MySQL, PHP stack is really easy to setup on a Mac. MAMP is a very easy solution to achieve this. Apache can be replaced with the lightweight Nginx server and an NMP stack can be created, but may take a little more time to set…


Install ffmpeg in Raspberry Pi

In the previous post, we saw how to setup nginx web server with RTMP plugin. We will now install ffmpeg and use it to publish our own streams to the nginx RTMP url which can then be accessed via HTTP by any other client. We will compile libx264 and then ffmpeg. Compiling in…


Nginx based streaming server on Raspberry Pi

The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. Several web server softwares are available for Linux-based operating systems including Raspibian, a free operating system based on Debian optimized for the…


Install Python 3 in Raspberry Pi

Python 3 was released in 2008 and is the way to go. Its not backwards compatible and many programs still use Python 2, but Python 3 is the present and the future.

If your Pi uses Python 2, you can install Python 3 safely as both can co-exist…


PHP/MySQL with Nginx

In the previous post, we discussed about setting up nginx on a Raspberry Pi. To serve dynamic content, a server side language like PHP and a database server like MySQL is essential. To execute the PHP scripts we will use PHP-FPM, which is a FastCGI implementation. To accelerate performance…