Archived
更新 PVE 制作虚拟机模板
This commit is contained in:
+10
-4
@@ -36,11 +36,11 @@ timedatectl set-timezone Asia/Shanghai
|
|||||||
|
|
||||||
## 检查系统时间
|
## 检查系统时间
|
||||||
date -R
|
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
|
## 编辑系统定时任务,编辑器选择 nano
|
||||||
crontab -e
|
crontab -e
|
||||||
|
|
||||||
|
|
||||||
## 在配置文件末尾增加以下配置项
|
## 在配置文件末尾增加以下配置项
|
||||||
|
|
||||||
0 5 1,16 * * /usr/sbin/reboot
|
0 5 1,16 * * /usr/sbin/reboot
|
||||||
@@ -257,6 +258,7 @@ crontab -e
|
|||||||
## 检查系统定时器
|
## 检查系统定时器
|
||||||
systemctl status apt-daily-upgrade.timer
|
systemctl status apt-daily-upgrade.timer
|
||||||
|
|
||||||
|
|
||||||
## 示例输出
|
## 示例输出
|
||||||
|
|
||||||
● apt-daily-upgrade.timer - Daily apt upgrade and clean activities
|
● apt-daily-upgrade.timer - Daily apt upgrade and clean activities
|
||||||
@@ -282,6 +284,7 @@ dpkg-reconfigure -plow unattended-upgrades
|
|||||||
|
|
||||||
## 选择 “是” (“YES”)
|
## 选择 “是” (“YES”)
|
||||||
|
|
||||||
|
|
||||||
## 示例输出
|
## 示例输出
|
||||||
|
|
||||||
Creating config file /etc/apt/apt.conf.d/20auto-upgrades with new version
|
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
|
systemctl status apt-daily-upgrade.timer
|
||||||
|
|
||||||
|
|
||||||
## 参考输出
|
## 参考输出
|
||||||
|
|
||||||
● apt-daily-upgrade.timer - Daily apt upgrade and clean activities
|
● 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
|
dmesg | grep -e DMAR -e IOMMU -e AMD-Vi
|
||||||
|
|
||||||
|
|
||||||
## N6005 示例输出
|
## N6005 示例输出
|
||||||
|
|
||||||
[ 0.017937] ACPI: DMAR 0x00000000746C2000 000088 (v02 INTEL EDK2 00000002 01000013)
|
[ 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
|
## 检查 IOMMU group
|
||||||
find /sys/kernel/iommu_groups/ -type l
|
find /sys/kernel/iommu_groups/ -type l
|
||||||
|
|
||||||
|
|
||||||
## N6005 示例输出
|
## N6005 示例输出
|
||||||
|
|
||||||
/sys/kernel/iommu_groups/7/devices/0000:00:1c.4
|
/sys/kernel/iommu_groups/7/devices/0000:00:1c.4
|
||||||
|
|||||||
Reference in New Issue
Block a user