Banana Pi - Seafile with Https, NginX and MySQL

Again, the precondition is a LEMP installation as described in this article: Installation of Nginx, MySQL and PHP
Seafile has a its own little web server, but it can not handle the HTTPS protocol. So, to get an encrypted transmission to the cloud, you have to run Seafile behind a "real" web server - in this case, nginx.

The installation is done in 4 steps:

Banana Pi - Boot Bananian from Hard-Disk

In order to have enough space on your home server, it is the best to connect a SATA disk. This has the advantage to a USB disk that you can also store the databases reliable to the SATA disk. I always had problems storing them on a USB-Disk. And if you have a hard drive connected, you can install the root file system to the disk, so that the banana boots from disk from now on.

Have a look at the polarity of the power cables of the SATA cable. The black wire should be on the left. Unfortunately I had to cut the cable and reverse them (sorry Frank:-)).


Banana Pi - Installation and first steps

First you have the Banana Pi naturally get its operating system.

Since the Banana Pi be used as server, I have decided for the distribution Bananian. An absolute lightweight distribution based on Debian Wheezy, which is designed for low resource usage, security and speed. No graphical user interface, no frills, just the pure operating system. Perfect for a server!