From 475e4bfccbfc7e0154e97eaa03e81735cace6384 Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Mon, 26 Jun 2023 18:53:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20PVE=20=E5=88=B6=E4=BD=9C?= =?UTF-8?q?=E8=99=9A=E6=8B=9F=E6=9C=BA=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 03.PVE系统调整.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) 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