summaryrefslogtreecommitdiff
path: root/www/posts/nextcloud
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2022-03-07 21:18:44 +0000
committerDavid T. Sadler <davidtsadler@googlemail.com>2022-03-07 21:18:44 +0000
commit7939805687e75f8a46cd6c43a80e9fb3db88da81 (patch)
treea303e328e48b42eb18917efb7d9a7f23aafb6715 /www/posts/nextcloud
parent33183104e21ff67b27a67d9e3004ca6d4b9632f9 (diff)
Add Installing Docker on Arch Linux
Diffstat (limited to 'www/posts/nextcloud')
-rw-r--r--www/posts/nextcloud/2021-02-15/accessing-nextcloud-with-webdav-on-arch/index.html2
-rw-r--r--www/posts/nextcloud/atom.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/www/posts/nextcloud/2021-02-15/accessing-nextcloud-with-webdav-on-arch/index.html b/www/posts/nextcloud/2021-02-15/accessing-nextcloud-with-webdav-on-arch/index.html
index 46401ea..afba959 100644
--- a/www/posts/nextcloud/2021-02-15/accessing-nextcloud-with-webdav-on-arch/index.html
+++ b/www/posts/nextcloud/2021-02-15/accessing-nextcloud-with-webdav-on-arch/index.html
@@ -18,7 +18,7 @@
<link href="/posts/php/atom.xml" type="application/atom+xml" rel="alternate" title="The Home of David T. Sadler - All Posts About PHP"/>
</head>
<body>
- <section><h1>Accessing Nextcloud With WebDAV on Arch</h1><blockquote>Mon 15th February 2021 By David T. Sadler.</blockquote><p>I have a Nextcloud instance and I want to mount it as a directory on my local machine. Since Nextcloud cloud supports the WebDAV protocol its possible to do this by installing davfs2 which can mount a WebDAV resource.</p><p>The first thing I had to do was install davfs2.</p><pre><code class="shell">$ sudo pacman -S davfs2</code></pre><p>Next I created the directory where Nextcloud would be mounted.</p><pre><code class="shell">$ mkdir -p .local/share/nextcloud</code></pre><p>I then needed to tell Arch how to mount Nextcloud by adding the below line to the /etc/fstab file.</p><pre><code class="shell">https://my-nextcloud-server.com/path /home/david/.local/share/nextcloud davfs rw,user,uid=david,noauto 0 0</code></pre><p>Since access to Nextcloud is controlled by a username and password these where added to the ~/.davfs2 file.</p><pre><code class="shell">https://my-nextcloud-server.com/path username password</code></pre><p>I made sure this file had the correct permissions to ensure security.</p><pre><code class="shell">$ chmod 600 ~/.davfs2/secrets</code></pre><p>Now I can mount Nextcloud and access my files just like any others.</p><pre><code class="shell">$ mount .local/share/nextcloud</code></pre><h3>Links</h3><a href="/posts/nextcloud">Nextcloud - Read More Posts.</a><p>I don't have comments as I don't want to manage them. You can however contact me at the below address if you want to.</p><a href="mailto:david@davidtsadler.com">Email david@davidtsadler.com</a><h3>License</h3><a href="https://creativecommons.org/licenses/by-sa/4.0/">The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</a><p>Copyright © 2021 David T. Sadler.</p><a href="/">Return to Homepage.</a></section>
+ <section><h1>Accessing Nextcloud With WebDAV on Arch</h1><blockquote>Mon 15th February 2021 By David T. Sadler.</blockquote><p>I have a Nextcloud instance and I want to mount it as a directory on my local machine. Since Nextcloud cloud supports the WebDAV protocol its possible to do this by installing davfs2 which can mount a WebDAV resource.</p><p>The first thing I had to do was install davfs2.</p><pre><code class="shell">$ sudo pacman -S davfs2</code></pre><p>Next I created the directory where Nextcloud would be mounted.</p><pre><code class="shell">$ mkdir -p .local/share/nextcloud</code></pre><p>I then needed to tell Arch how to mount Nextcloud by adding the below line to the /etc/fstab file.</p><pre><code class="shell">https://my-nextcloud-server.com/path /home/david/.local/share/nextcloud davfs rw,user,uid=david,noauto 0 0</code></pre><p>Since access to Nextcloud is controlled by a username and password these where added to the ~/.davfs2 file.</p><pre><code class="shell">https://my-nextcloud-server.com/path username password</code></pre><p>I made sure this file had the correct permissions to ensure security.</p><pre><code class="shell">$ chmod 600 ~/.davfs2/secrets</code></pre><p>Now I can mount Nextcloud and access my files just like any others.</p><pre><code class="shell">$ mount .local/share/nextcloud</code></pre><h3>Links</h3><a href="/posts/nextcloud">Nextcloud - Read More Posts.</a><p>I don&#039;t have comments as I don&#039;t want to manage them. You can however contact me at the below address if you want to.</p><a href="mailto:david@davidtsadler.com">Email david@davidtsadler.com</a><h3>License</h3><a href="https://creativecommons.org/licenses/by-sa/4.0/">The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</a><p>Copyright © 2021 David T. Sadler.</p><a href="/">Return to Homepage.</a></section>
<script defer src="/js/highlight.min.js"></script>
<script defer src="/js/site.js"></script>
</body>
diff --git a/www/posts/nextcloud/atom.xml b/www/posts/nextcloud/atom.xml
index 732f8eb..4853c80 100644
--- a/www/posts/nextcloud/atom.xml
+++ b/www/posts/nextcloud/atom.xml
@@ -12,6 +12,6 @@
<author><name>David T. Sadler.</name></author>
<published>2021-02-15T12:00:00Z</published>
<updated>2021-02-15T12:00:00Z</updated>
- <content type="html">&lt;h1&gt;Accessing Nextcloud With WebDAV on Arch&lt;/h1&gt;&lt;blockquote&gt;Mon 15th February 2021 By David T. Sadler.&lt;/blockquote&gt;&lt;p&gt;I have a Nextcloud instance and I want to mount it as a directory on my local machine. Since Nextcloud cloud supports the WebDAV protocol its possible to do this by installing davfs2 which can mount a WebDAV resource.&lt;/p&gt;&lt;p&gt;The first thing I had to do was install davfs2.&lt;/p&gt;&lt;pre&gt;&lt;code class=&quot;shell&quot;&gt;$ sudo pacman -S davfs2&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Next I created the directory where Nextcloud would be mounted.&lt;/p&gt;&lt;pre&gt;&lt;code class=&quot;shell&quot;&gt;$ mkdir -p .local/share/nextcloud&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;I then needed to tell Arch how to mount Nextcloud by adding the below line to the /etc/fstab file.&lt;/p&gt;&lt;pre&gt;&lt;code class=&quot;shell&quot;&gt;https://my-nextcloud-server.com/path /home/david/.local/share/nextcloud davfs rw,user,uid=david,noauto 0 0&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Since access to Nextcloud is controlled by a username and password these where added to the ~/.davfs2 file.&lt;/p&gt;&lt;pre&gt;&lt;code class=&quot;shell&quot;&gt;https://my-nextcloud-server.com/path username password&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;I made sure this file had the correct permissions to ensure security.&lt;/p&gt;&lt;pre&gt;&lt;code class=&quot;shell&quot;&gt;$ chmod 600 ~/.davfs2/secrets&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Now I can mount Nextcloud and access my files just like any others.&lt;/p&gt;&lt;pre&gt;&lt;code class=&quot;shell&quot;&gt;$ mount .local/share/nextcloud&lt;/code&gt;&lt;/pre&gt;&lt;h3&gt;Links&lt;/h3&gt;&lt;a href=&quot;/posts/nextcloud&quot;&gt;Nextcloud - Read More Posts.&lt;/a&gt;&lt;p&gt;I don't have comments as I don't want to manage them. You can however contact me at the below address if you want to.&lt;/p&gt;&lt;a href=&quot;mailto:david@davidtsadler.com&quot;&gt;Email david@davidtsadler.com&lt;/a&gt;&lt;h3&gt;License&lt;/h3&gt;&lt;a href=&quot;https://creativecommons.org/licenses/by-sa/4.0/&quot;&gt;The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.&lt;/a&gt;&lt;p&gt;Copyright © 2021 David T. Sadler.&lt;/p&gt;&lt;a href=&quot;/&quot;&gt;Return to Homepage.&lt;/a&gt;</content>
+ <content type="html">&lt;h1&gt;Accessing Nextcloud With WebDAV on Arch&lt;/h1&gt;&lt;blockquote&gt;Mon 15th February 2021 By David T. Sadler.&lt;/blockquote&gt;&lt;p&gt;I have a Nextcloud instance and I want to mount it as a directory on my local machine. Since Nextcloud cloud supports the WebDAV protocol its possible to do this by installing davfs2 which can mount a WebDAV resource.&lt;/p&gt;&lt;p&gt;The first thing I had to do was install davfs2.&lt;/p&gt;&lt;pre&gt;&lt;code class=&quot;shell&quot;&gt;$ sudo pacman -S davfs2&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Next I created the directory where Nextcloud would be mounted.&lt;/p&gt;&lt;pre&gt;&lt;code class=&quot;shell&quot;&gt;$ mkdir -p .local/share/nextcloud&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;I then needed to tell Arch how to mount Nextcloud by adding the below line to the /etc/fstab file.&lt;/p&gt;&lt;pre&gt;&lt;code class=&quot;shell&quot;&gt;https://my-nextcloud-server.com/path /home/david/.local/share/nextcloud davfs rw,user,uid=david,noauto 0 0&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Since access to Nextcloud is controlled by a username and password these where added to the ~/.davfs2 file.&lt;/p&gt;&lt;pre&gt;&lt;code class=&quot;shell&quot;&gt;https://my-nextcloud-server.com/path username password&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;I made sure this file had the correct permissions to ensure security.&lt;/p&gt;&lt;pre&gt;&lt;code class=&quot;shell&quot;&gt;$ chmod 600 ~/.davfs2/secrets&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Now I can mount Nextcloud and access my files just like any others.&lt;/p&gt;&lt;pre&gt;&lt;code class=&quot;shell&quot;&gt;$ mount .local/share/nextcloud&lt;/code&gt;&lt;/pre&gt;&lt;h3&gt;Links&lt;/h3&gt;&lt;a href=&quot;/posts/nextcloud&quot;&gt;Nextcloud - Read More Posts.&lt;/a&gt;&lt;p&gt;I don&amp;#039;t have comments as I don&amp;#039;t want to manage them. You can however contact me at the below address if you want to.&lt;/p&gt;&lt;a href=&quot;mailto:david@davidtsadler.com&quot;&gt;Email david@davidtsadler.com&lt;/a&gt;&lt;h3&gt;License&lt;/h3&gt;&lt;a href=&quot;https://creativecommons.org/licenses/by-sa/4.0/&quot;&gt;The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.&lt;/a&gt;&lt;p&gt;Copyright © 2021 David T. Sadler.&lt;/p&gt;&lt;a href=&quot;/&quot;&gt;Return to Homepage.&lt;/a&gt;</content>
</entry>
</feed> \ No newline at end of file