diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2021-05-17 15:59:24 +0100 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2021-05-17 15:59:24 +0100 |
| commit | bbf7974715b9a43bab207df75ef69209cdf13850 (patch) | |
| tree | 13078ed02a7fec8f28b1d6046e6533f1be2aec54 /src/posts/nextcloud/2021-02-15/accessing-nextcloud-with-webdav-on-arch/index.gmi | |
| parent | 3e9a949c823917e0f4189628959fa4d3eb908db4 (diff) | |
Move to building localy rather than on remote server
Diffstat (limited to 'src/posts/nextcloud/2021-02-15/accessing-nextcloud-with-webdav-on-arch/index.gmi')
| -rw-r--r-- | src/posts/nextcloud/2021-02-15/accessing-nextcloud-with-webdav-on-arch/index.gmi | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/src/posts/nextcloud/2021-02-15/accessing-nextcloud-with-webdav-on-arch/index.gmi b/src/posts/nextcloud/2021-02-15/accessing-nextcloud-with-webdav-on-arch/index.gmi deleted file mode 100644 index 81e25c0..0000000 --- a/src/posts/nextcloud/2021-02-15/accessing-nextcloud-with-webdav-on-arch/index.gmi +++ /dev/null @@ -1,53 +0,0 @@ -# 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. - -```shell -$ sudo pacman -S davfs2 -``` - -Next I created the directory where Nextcloud would be mounted. - -```shell -$ 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. - -```shell -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. - -```shell -https://my-nextcloud-server.com/path username password -``` - -I made sure this file had the correct permissions to ensure security. - -```shell -$ chmod 600 ~/.davfs2/secrets -``` - -Now I can mount Nextcloud and access my files just like any others. - -```shell -$ mount .local/share/nextcloud -``` - -=> /posts/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. - -=> mailto:david@davidtsadler.com Email david@davidtsadler.com - -=> 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. - -Copyright © 2021 David T. Sadler. - -=> / Return to Homepage. |
