Mount a WebDav-supported network disk under Linux to expand VPS space

Mount a WebDav-supported network disk under Linux to expand VPS space

Some time ago, I bought a novos nextcloud network disk that supports WebDav. Below are simple instructions for mounting to a VPS, which can expand a small VPS.

Novos's nextcloud cloud storage purchase link: https://billing.novos.be/store/novos-brick

1. The simplest way to mount a network disk that supports WebDav

1. Install davfs2

Ubuntu/Debian

 apt-get install davfs2

CentOS

 yum install davfs2

2. Create a directory and mount it

 mkdir /novos
mount -t davfs https://brick.novos.be/remote.php/dav/files/Account/ /novos

Just enter your account number and password.

2. Advanced Usage

1. Create a user for davfs2

 usermod -aG davfs2 username

2. Create the directory that needs to be mounted and the personal configuration file directory

 mkdir ~/novos
mkdir ~/.davfs2

Copy the configuration file

 cp /etc/davfs2/secrets ~/.davfs2/secrets

3. Set user permissions ( Change to your own username)

 chown : ~/.davfs2/secrets
chmod 600 ~/.davfs2/secrets

Edit ~/.davfs2/secrets and enter the WebDav network disk information, such as:

 https://brick.novos.be/remote.php/dav/files/Account/Username and Password

It is recommended to add it to /etc/davfs2/secrets

4. Add mount information to /etc/fstab

 https://brick.novos.be/remote.php/dav/files/Account/ /root/novos
davfs user,rw,auto 0 0

5. Use

Add to

 mount ~/novos

uninstall

 umount ~/novos

Main reference: https://docs.nextcloud.com/server/20/user_manual/en/files/access_webdav.html#creating-webdav-mounts-on-the-linux-command-line

<<:  TMT Hosting: $3.34/month/512MB memory/25GB space/1.TB traffic/1Gbps port/DDOS/KVM/Seattle; SpartanHost on the same line

>>:  silicomnetwork: US virtual host, SSD hard drive, unlimited space, unlimited traffic, annual payment of US$12

Recommend

MyServerPlanet: $30/month/Xeon L5630/32GB RAM/1TB HDD/5 IPs

New offer, up to 29 IPs are given. Dual Intel Xeo...

LetBox: $25/year/1GB memory/300GB space/2TB traffic/KVM/Los Angeles

LetBox, which has been introduced many times, now...

DeployNode: $11/year/512MB memory/10GB space/250GB traffic/OpenVZ/Phoenix

DeployNode, an Indian hosting provider, was estab...

Vultr 512MB RAM KVM VPS Japan Review

Details: Vultr: $2.5/month/512MB memory/20GB SSD ...

Blue Sky Collector: A free crawler developed using PHP+MySQL

Blue Sky Collector Blue Sky Collector is a free d...

Some independent servers with good cost performance and stability

Prepared by myself for reference. 1. https://jbpa...