diff --git a/03.PVE系统调整.md b/03.PVE系统调整.md index 29850c7..f7bc8b3 100644 --- a/03.PVE系统调整.md +++ b/03.PVE系统调整.md @@ -36,11 +36,11 @@ timedatectl set-timezone Asia/Shanghai ## 检查系统时间 date -R -``` -> 参考输出: -> -> Sun, 25 Jun 2023 12:12:12 +0800 + +## 参考输出 + +Sun, 25 Jun 2023 12:12:12 +0800 ``` @@ -239,6 +239,7 @@ crontab -l ## 编辑系统定时任务,编辑器选择 nano crontab -e + ## 在配置文件末尾增加以下配置项 0 5 1,16 * * /usr/sbin/reboot @@ -257,6 +258,7 @@ crontab -e ## 检查系统定时器 systemctl status apt-daily-upgrade.timer + ## 示例输出 ● apt-daily-upgrade.timer - Daily apt upgrade and clean activities @@ -282,6 +284,7 @@ dpkg-reconfigure -plow unattended-upgrades ## 选择 “是” (“YES”) + ## 示例输出 Creating config file /etc/apt/apt.conf.d/20auto-upgrades with new version @@ -405,6 +408,7 @@ systemctl restart apt-daily-upgrade.timer ## 再次检查触发器状态 systemctl status apt-daily-upgrade.timer + ## 参考输出 ● apt-daily-upgrade.timer - Daily apt upgrade and clean activities @@ -497,6 +501,7 @@ PVE 服务器重启完成后,再次使用 SSH 工具登录,并使用以下 ## 检查系统硬件直通状态 dmesg | grep -e DMAR -e IOMMU -e AMD-Vi + ## N6005 示例输出 [ 0.017937] ACPI: DMAR 0x00000000746C2000 000088 (v02 INTEL EDK2 00000002 01000013) @@ -537,6 +542,7 @@ dmesg | grep -e DMAR -e IOMMU -e AMD-Vi ## 检查 IOMMU group find /sys/kernel/iommu_groups/ -type l + ## N6005 示例输出 /sys/kernel/iommu_groups/7/devices/0000:00:1c.4