With this set, you will be able to backup OwnCloud data by keeping a copy of owncloud_data folder available in “/var/lib/docker/volumes/” path (please note that you can access this path only as root “-v owncloud_data:/mnt/data”: this option makes the OwnCloud data persistent in your Raspberry PI storage.This set is useful to manage, for example, Raspberry PI reboots without having to start again the container manually “–restart unless-stopped”: this option set the container to restart automatically unless you force the container to stop.For example, with this set, you can see the OwnCloud logs by issuing the command “docker logs owncloud” If set, you can send commands to docker by referring to this name instead of the container ID or the random name. “–name owncloud”: this option gives a mnemonic name to the container.The number on the left side is the host port (the port you will use to open OwnCloud from an external device) and can be set to whatever port you prefer, while the number on the right side is the container port and cannot be changed as it depends on container internal configuration (where the container exposes its services) “-p 8080:8080”: this option maps the ports used.“-d”: this option makes the container run as a daemon in your Raspberry PI, so being detached from the terminal (this means that if you close the terminal, your container will continue running.Please find below the explanation of the used options: With docker installed, OnwCloud is ready in your Raspberry PI only with the following command line: docker run -d -p 8080:8080 -name owncloud -restart unless-stopped -v owncloud_data:/mnt/data owncloud/server From the terminal, use the following command: sudo apt update -y & sudo apt upgrade -yįor this installation, I’m going to use the official docker container from OwnCloud, to get a simpler installation way and avoiding to install all prerequisites as are already available in their container.įor this reason, we need to install Docker on Raspberry PI. You can also use Raspberry PI OS Desktop, in this case working from its internal terminal command. I suggest (especially for those Raspberry PI models with less RAM) installing Raspberry PI OS Lite to get a fast OS. For this tutorial, I’m going to use the 64-bit OS. Start installing the OS on your Raspberry PI. Step-by-Step Procedure Prepare the Operating System For example, the Activity Stream addon lets you keep track of work progress, also showing who did what with which file or folder. The base installation already allows you to share files with your family and friends, but OwnCloud has a modular architecture that allows you to install add-ons with a single click and add more features to your private cloud. OwnCloud also includes client apps to connect your server at home from Desktop computers, Android and Apple smartphones. It has a community edition enabling you to install it on several server devices at home, one of them being the Raspberry PI computer boards. OwnCloud is a collaboration tool enabling you to store and share your files like many common cloud services (such as Google Drive, Microsoft One Drive and so on).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |