Quick Nextcloud 13 installation on Raspberry Pi

Nextcloud 13 installation may take hours even for experienced Linux users. Need to set up PHP 7 and its extensions, web server, database management system and Nextcloud itself. It’s not necessary to install all of these manually, advanced users prefer Docker. We’ve prepared everything you need for building and running that container on your Raspberry Pi.

Set up a minimal Raspbian/Ubuntu distro on your Pi, then install Git, Docker and Docker Compose:

sudo apt-get update
sudo apt-get install git docker-compose
curl -sSL https://get.docker.com | sh

Clone MMB repository:

cd ~
git clone https://github.com/tolstoyevsky/mmb.git
cd mmb

After that, just run the following commands:

sudo ./mmb.sh mariadb armhf
sudo ./mmb.sh nextcloud armhf

It builds two docker images: MariaDB and Nextcloud 13. If you’re good at Docker, please either check their dockerfiles.

Make sure 3306 port is not in use on your Pi and run the containers using docker-compose:

cd mariadb
docker-compose up -d
cd ../nextcloud
docker-compose up -d

Once containers are running, type http://[IP-address of your Raspberry Pi]:8001/nc in a web browser. If you can see Installation Wizard, just enter your desired administrator’s username and password and click Finish Setup.

You always can buy a ready-to-use Nextcloud 13 image for Raspberry Pi + technical support from our team.

Leave a Reply

Your email address will not be published. Required fields are marked *