Actualiser opencloud/install.md

This commit is contained in:
2026-01-18 18:31:59 +00:00
parent d37b7a2888
commit 96b5676adb

View File

@@ -16,14 +16,21 @@ I use a DynDNS domain which has already a sub-domain in it (like <a href="https:
<h1><a name="p-95220-how-i-installed-opencloud-radicale-bare-metal-including-systemd-services-1" class="anchor" href="#p-95220-how-i-installed-opencloud-radicale-bare-metal-including-systemd-services-1" aria-label="Heading link"></a>How I installed opencloud &amp; radicale bare-metal (including systemd services):</h1> <h1><a name="p-95220-how-i-installed-opencloud-radicale-bare-metal-including-systemd-services-1" class="anchor" href="#p-95220-how-i-installed-opencloud-radicale-bare-metal-including-systemd-services-1" aria-label="Heading link"></a>How I installed opencloud &amp; radicale bare-metal (including systemd services):</h1>
<h2><a name="p-95220-install-opencloud-2" class="anchor" href="#p-95220-install-opencloud-2" aria-label="Heading link"></a>Install opencloud</h2> <h2><a name="p-95220-install-opencloud-2" class="anchor" href="#p-95220-install-opencloud-2" aria-label="Heading link"></a>Install opencloud</h2>
<ul> <ul>
<li>Download the binary from github: <a href="https://github.com/opencloud-eu/opencloud/releases" class="inline-onebox">Releases · opencloud-eu/opencloud · GitHub</a></li>
<li>copy it to <code>/opt/opencloud/opencloud</code></li>
<li>create a system user <code>opencloud</code> and a directory for it, tweak permissions:</li> <li>create a system user <code>opencloud</code> and a directory for it, tweak permissions:</li>
<li>create a directory <code>/opt/opencloud/</code></li>
</ul> </ul>
<pre data-code-wrap="bash"><code class="lang-bash">useradd --system --no-create-home --shell /usr/sbin/nologin opencloud <pre data-code-wrap="bash"><code class="lang-bash">useradd --system --no-create-home --shell /usr/sbin/nologin opencloud
mkdir /mnt/dietpi_userdata/opencloud mkdir /opt/opencloud
chown -R opencloud:opencloud /opt/opencloud
chmod 751 /opt/opencloud
</code></pre>
<ul>
<li>Download the binary (or raspberry pi select arm64 version) from github: <a href="https://github.com/opencloud-eu/opencloud/releases" class="inline-onebox">Releases · opencloud-eu/opencloud · GitHub</a></li>
<li>copy it to <code>/opt/opencloud/opencloud</code></li>
</ul>
<pre data-code-wrap="bash"><code class="lang-bash">mkdir /mnt/dietpi_userdata/opencloud
chown -R opencloud:opencloud /mnt/dietpi_userdata/opencloud chown -R opencloud:opencloud /mnt/dietpi_userdata/opencloud
chmod 700 /mnt/dietpi_userdata/opencloud chmod 700 /mnt/dietpi_userdata/opencloud
</code></pre> </code></pre>
<ul> <ul>
<li>Create the config and data directory and config file</li> <li>Create the config and data directory and config file</li>