Difference between revisions of "Mounting a WebDav storage on Linux"
(Created page with "In this example we will mount WebDav storage based on Centos 7. We are using an OpenVZ container and first we will enable fuse on node. If you are not using OpenVZ VPS you can...") |
m (Protected "Mounting a WebDav storage on Linux" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(No difference)
|
Revision as of 13:54, 29 October 2018
In this example we will mount WebDav storage based on Centos 7. We are using an OpenVZ container and first we will enable fuse on node. If you are not using OpenVZ VPS you can skip this step.
modprobe fuse
Enable fuse for the VPS:
vzctl set 103 --devnodes fuse:rw --save
Now inside of the container:
yum install epel-release yum install davfs2
Create a directory for mount:
mkdir /home/storage
Now we can actually mount the remote storage:
mount.davfs https://domain.com/owncloud/remote.php/dav/files /home/storage
It is possible to store username and password in the davfs config file /etc/davfs2/secrets:
https://domain.com/owncloud/remote.php/dav/files username password