DreamFactory can be installed and configured on Raspberry Pi 2 as an open source IoT gateway.
Since DreamFactory relies on PHP and Laravel frameworks, the existing Raspbian distribution needs to be upgraded from Wheezy to Jessie. The upgrade process involves some manual work, including updating the package sources for Jessie and building PHP 5.6 from the sources. [Ubuntu Mate](https://ubuntu-mate.org/) is a stable, easy-to-use Debian distribution that can run on Raspberry Pi 2. Since it comes with PHP 5.6, it is easy to install all the required dependencies through simple apt-get install commands.
Here is a step-by-step guide to install DreamFactory on Raspberry Pi 2.