1、安装davfs2
Ubuntu/Debian下
apt-get install davfs2CentOS下
yum install davfs22、创建目录并挂载
mkdir /novos
mount -t davfs https://brick.novos.be/remote.php/dav/files/账号/ /novos输入账号、密码即可。
1、创建一个用户,用于davfs2
usermod -aG davfs2 用户名2、创建需要挂载的目录和个人配置文件目录
mkdir ~/novos
mkdir ~/.davfs2复制配置文件
cp /etc/davfs2/secrets ~/.davfs2/secrets3、设置用户权限(改为自己的用户名)
chown : ~/.davfs2/secrets
chmod 600 ~/.davfs2/secrets编辑 ~/.davfs2/secrets ,输入WebDav网盘信息,如:
https://brick.novos.be/remote.php/dav/files/账号/ 用户名 密码建议在 /etc/davfs2/secrets 也添加上
4、添加mount信息到 /etc/fstab
https://brick.novos.be/remote.php/dav/files/账号/ /root/novos
davfs user,rw,auto 0 05、使用
添加
mount ~/novos卸载
umount ~/novos

Copyright © 2013-2024 8a.hk All Rights Reserved. 八艾云 版权所有 中山市八艾云计算有限公司 粤ICP备14095776号 粤公网安备 44200002445359号
增值电信业务经营许可证编号:B1-20222012
代理域名注册服务机构:西部数码