我們的安全法規要求我將日誌保存在 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 年的sysadm 經驗之後,這對你來說會更好- 在此之前,我們無法教你- 首先,我們不是老師,第二,因為你可能永遠不會會為此付出代價。