有人知道如何在免费 (vps.me) vps 服务器上安装 davfs2 吗?

有人知道如何在免费 (vps.me) vps 服务器上安装 davfs2 吗?

我们的安全法规要求我将日志保存在 vps 服务器之外。我需要安装 davfs2。以下步骤在我的笔记本电脑上有效,但在 vps.me 的 Ubuntu 13.04 服务器上无效

:~# apt-get install davfs2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  davfs2
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 145 kB of archives.
After this operation, 492 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ raring/universe davfs2 amd64 1.4.6-1ubuntu3 [145 kB]
Fetched 145 kB in 0s (208 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 1.)
debconf: falling back to frontend: Readline
Preconfiguring packages ...
Selecting previously unselected package davfs2.
(Reading database ... 37451 files and directories currently installed.)
Unpacking davfs2 (from .../davfs2_1.4.6-1ubuntu3_amd64.deb) ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Setting up davfs2 (1.4.6-1ubuntu3) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline

:~# mkdir -p /mnt/WebDAV
:~# mount -t davfs https://<my-dav-server> /mnt/WebDAV
Please enter the username to authenticate with server
https://<my-dav-server> or hit enter for none.
  Username: <my-username>
Please enter the password to authenticate user <my-username>@<my-dav-server> with server
https://<my-dav-server> or hit enter for none.
  Password:  
p11-kit: couldn't open config file: /root/.pkcs11/pkcs11.conf: Permission denied
/sbin/mount.davfs: can't open fuse device
/sbin/mount.davfs: trying coda kernel file system
/sbin/mount.davfs: no free coda device to mount
root@dxspider:~# libkmod: ERROR ../libkmod/libkmod.c:505 kmod_lookup_alias_from_builtin_file: could not open builtin file '/lib/modules/2.6.32-042stab083.2/modules.builtin.bin'
FATAL: Module fuse not found.
libkmod: ERROR ../libkmod/libkmod.c:505 kmod_lookup_alias_from_builtin_file: could not open builtin file '/lib/modules/2.6.32-042stab083.2/modules.builtin.bin'
FATAL: Module coda not found.

我猜

答案1

对于用户来说则不然。davfs2 是用户模式文件系统,因此挂载它需要 root 权限。

但是如果您具有 root 权限,但不具备所需的知识,我建议您请别人来做这项工作。

支持消息的真正含义如下:“我们不会为您做任何事情,因为我们知道,之后您会不断提出问题,而且可能您永远不会为此付费。但我们也不会让您成为讨厌的前客户,因此我们为您写了这些毫无意义的信息。如果您愿意,您可以自行尝试安装 davfs2,但从现在起,这不是我们的问题。我们清楚地看到,您绝对无法自己做到这一点 - 也许经过 2-3 年的系统管理员经验后,您会更轻松。在此之前,我们无法教您 - 首先,我们不是老师,其次,因为您可能永远不会为此付费。”

相关内容