到目前为止,Logwatch 一直运行良好。我读了一个教程,你不应该在默认位置编辑配置
/usr/share/logwatch
相反,您应该将其移动到 /etc/logwatch
所以我这样做了,现在我收到了这个错误
/var/cache/logwatch No such file or directory at /usr/sbin/logwatch line 633.
Run Code Online (Sandbox Code Playgroud)
有谁知道如何修复?或者我应该尝试删除 /etc 中的条目?
我需要创建一个新的 MySQL 用户来管理我的 wordpress 站点。wordpress 需要哪些特权?
我认为 INSERT 也需要,也许是 DROP?
例子
GRANT SELECT ON database.* TO user@'localhost';
Run Code Online (Sandbox Code Playgroud) 运行后
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get install -f
dpkg --configure -a
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
dpkg --configure -a
Setting up initramfs-tools (0.112) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-3.8-2-amd64 (3.8.13-1) ...
Running depmod.
vmlinuz(/boot/vmlinuz-3.8-2-amd64
) points to /boot/vmlinuz-3.8-2-amd64
(/boot/vmlinuz-3.8-2-amd64) -- doing nothing at /var/lib/dpkg/info/linux-image-3.8-2-amd64.postinst line 268.
The link /initrd.img is a dangling linkto /boot/initrd.img-3.8-2-amd64
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.8-2-amd64 /boot/vmlinuz-3.8-2-amd64
update-initramfs: Generating /boot/initrd.img-3.8-2-amd64
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: …Run Code Online (Sandbox Code Playgroud)