diff --git a/opencloud/install.md b/opencloud/install.md index d867e5b..8f5b2c0 100644 --- a/opencloud/install.md +++ b/opencloud/install.md @@ -17,7 +17,13 @@ I use a DynDNS domain which has already a sub-domain in it (like Install opencloud
opencloud and a directory for it, tweak permissions:/opt/opencloud/mkdir /mnt/dietpi_userdata/opencloud
+chown -R opencloud:opencloud /mnt/dietpi_userdata/opencloud
+chmod 700 /mnt/dietpi_userdata/opencloud
+
+/opt/opencloud/, tweak permissions:useradd --system --no-create-home --shell /usr/sbin/nologin opencloud
mkdir /opt/opencloud
@@ -28,10 +34,7 @@ chmod 751 /opt/opencloud
Download the binary (or raspberry pi select arm64 version) from github: Releases · opencloud-eu/opencloud · GitHub
copy it to /opt/opencloud/opencloud
-mkdir /mnt/dietpi_userdata/opencloud
-chown -R opencloud:opencloud /mnt/dietpi_userdata/opencloud
-chmod 700 /mnt/dietpi_userdata/opencloud
-
+
- Create the config and data directory and config file