From bbf7974715b9a43bab207df75ef69209cdf13850 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Mon, 17 May 2021 15:59:24 +0100 Subject: Move to building localy rather than on remote server --- .../index.html | 23 ++++++++++++++++++++++ www/posts/nextcloud/atom.xml | 17 ++++++++++++++++ www/posts/nextcloud/index.html | 23 ++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 www/posts/nextcloud/2021-02-15/accessing-nextcloud-with-webdav-on-arch/index.html create mode 100644 www/posts/nextcloud/atom.xml create mode 100644 www/posts/nextcloud/index.html (limited to 'www/posts/nextcloud') 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 new file mode 100644 index 0000000..203a309 --- /dev/null +++ b/www/posts/nextcloud/2021-02-15/accessing-nextcloud-with-webdav-on-arch/index.html @@ -0,0 +1,23 @@ + + + + + + Accessing Nextcloud With WebDAV on Arch + + + + + + + + + + + + + + +

Accessing Nextcloud With WebDAV on Arch

Mon 15th February 2021 By David T. Sadler.

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.

The first thing I had to do was install davfs2.

$ sudo pacman -S davfs2

Next I created the directory where Nextcloud would be mounted.

$ mkdir -p .local/share/nextcloud

I then needed to tell Arch how to mount Nextcloud by adding the below line to the /etc/fstab file.

https://my-nextcloud-server.com/path /home/david/.local/share/nextcloud davfs rw,user,uid=david,noauto 0 0

Since access to Nextcloud is controlled by a username and password these where added to the ~/.davfs2 file.

https://my-nextcloud-server.com/path username password

I made sure this file had the correct permissions to ensure security.

$ chmod 600 ~/.davfs2/secrets

Now I can mount Nextcloud and access my files just like any others.

$ mount .local/share/nextcloud
Nextcloud - Read More Posts.

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.

Email david@davidtsadler.comThe contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Copyright © 2021 David T. Sadler.

Return to Homepage.
+ + diff --git a/www/posts/nextcloud/atom.xml b/www/posts/nextcloud/atom.xml new file mode 100644 index 0000000..0c30a53 --- /dev/null +++ b/www/posts/nextcloud/atom.xml @@ -0,0 +1,17 @@ + + + The Home of David T. Sadler - All Posts About Nextcloud + https://davidtsadler.com/posts/nextcloud/atom.xml + + + 2021-02-15T12:00:00Z + + Accessing Nextcloud With WebDAV on Arch + https://davidtsadler.com/posts/nextcloud/2021-02-15/accessing-nextcloud-with-webdav-on-arch/index.html + + David T. Sadler. + 2021-02-15T12:00:00Z + 2021-02-15T12:00:00Z + ![CDATA[

Accessing Nextcloud With WebDAV on Arch

Mon 15th February 2021 By David T. Sadler.

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.

The first thing I had to do was install davfs2.

$ sudo pacman -S davfs2

Next I created the directory where Nextcloud would be mounted.

$ mkdir -p .local/share/nextcloud

I then needed to tell Arch how to mount Nextcloud by adding the below line to the /etc/fstab file.

https://my-nextcloud-server.com/path /home/david/.local/share/nextcloud davfs rw,user,uid=david,noauto 0 0

Since access to Nextcloud is controlled by a username and password these where added to the ~/.davfs2 file.

https://my-nextcloud-server.com/path username password

I made sure this file had the correct permissions to ensure security.

$ chmod 600 ~/.davfs2/secrets

Now I can mount Nextcloud and access my files just like any others.

$ mount .local/share/nextcloud
Nextcloud - Read More Posts.

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.

Email david@davidtsadler.comThe contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Copyright © 2021 David T. Sadler.

Return to Homepage.]]
+
+
\ No newline at end of file diff --git a/www/posts/nextcloud/index.html b/www/posts/nextcloud/index.html new file mode 100644 index 0000000..f127105 --- /dev/null +++ b/www/posts/nextcloud/index.html @@ -0,0 +1,23 @@ + + + + + + The Home of David T. Sadler - All Posts About Nextcloud + + + + + + + + + + + + + + +

The Home of David T. Sadler - All Posts About Nextcloud

2021-02-15 - Accessing Nextcloud With WebDAV on ArchThe contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Copyright © 2021 David T. Sadler.

Return to Homepage.
+ + -- cgit v1.2.3-13-gbd6f