差異處
這裏顯示兩個版本的差異處。
兩邊的前次修訂版 前次修改 下次修改 | 前次修改 | ||
tech:pvetips [2024/04/11 11:12] – [清除舊版 kernel 的做法] jonathan | tech:pvetips [2025/04/11 15:28] (目前版本) – [Proxmox VE(PVE) 安裝相關紀錄] jonathan | ||
---|---|---|---|
行 1: | 行 1: | ||
====== Proxmox VE(PVE) 安裝相關紀錄 ====== | ====== Proxmox VE(PVE) 安裝相關紀錄 ====== | ||
+ | * 版本資訊(Roadmap) - https:// | ||
===== 更改 Package Repositories ===== | ===== 更改 Package Repositories ===== | ||
* [[https:// | * [[https:// | ||
行 40: | 行 41: | ||
# use tls | # use tls | ||
smtp_use_tls=yes | smtp_use_tls=yes | ||
+ | |||
+ | # MailU Setting | ||
+ | #relayhost = [mail.mailu.com]: | ||
+ | # | ||
+ | # | ||
+ | |||
# use sasl when authenticating to foreign SMTP servers | # use sasl when authenticating to foreign SMTP servers | ||
smtp_sasl_auth_enable = yes | smtp_sasl_auth_enable = yes | ||
行 52: | 行 59: | ||
- 編輯 / | - 編輯 / | ||
[smtp.gmail.com]: | [smtp.gmail.com]: | ||
+ | # | ||
</ | </ | ||
- 更改檔案權限 <cli> | - 更改檔案權限 <cli> | ||
行 680: | 行 688: | ||
| | ||
* 參考網址 - https:// | * 參考網址 - https:// | ||
+ | |||
+ | ===== 解決 VM 時間無法和 Host 同步問題 ===== | ||
+ | * 主要發生在 Alpine VM 內的系統時間無法和 PVE 主機時間相同的議題 | ||
+ | * 解決方案 : 在 vmid.conf 內加入 args: -rtc clock=vm, | ||
+ | agent: 1 | ||
+ | args: -rtc clock=vm, | ||
+ | boot: order=scsi0; | ||
+ | cores: 2 | ||
+ | cpu: x86-64-v2-AES | ||
+ | ide2: none, | ||
+ | memory: 2048 | ||
+ | meta: creation-qemu=8.1.2, | ||
+ | name: pve-rproxy-internet | ||
+ | net0: virtio=BC: | ||
+ | numa: 0 | ||
+ | onboot: 1 | ||
+ | ostype: l26 | ||
+ | scsi0: ssd-zfs: | ||
+ | scsihw: virtio-scsi-single | ||
+ | smbios1: uuid=595b1cc9-fbf0-4c16-a580-401bee86ac25 | ||
+ | sockets: 1 | ||
+ | tags: service | ||
+ | vmgenid: 58a2ec03-e357-4aa9-8567-9e58ec447890 | ||
+ | </ | ||
===== CT 忘記 root 密碼重設方式 ===== | ===== CT 忘記 root 密碼重設方式 ===== | ||
行 717: | 行 749: | ||
* 也可調整為 writeback 模式後(Host Page Cache: | * 也可調整為 writeback 模式後(Host Page Cache: | ||
+ | ===== Move Disk 出現 timeout 議題 ===== | ||
+ | * 參考 - https:// | ||
+ | * 當 VM Hard Disk 透過 Disk Action -> Move Storage 到 NFS 的 Storage Exp. pvs-253-nfs 結果等 60 秒出現 timed out 類似以下的訊息< | ||
+ | create full clone of drive scsi0 (zfs-raid: | ||
+ | Formatting '/ | ||
+ | TASK ERROR: storage migration failed: unable to create image: ' | ||
+ | </ | ||
+ | * 主要的原因就是 pve-253-nfs 這 Storage 速度太慢, | ||
+ | pvesm set pbs-253-nfs --preallocation off | ||
+ | </ | ||
- | ==== 讓 PVE 6 安裝 CentOS7 的 CT 移轉至 PVE 7 的妥協做法 ==== | + | ===== 讓 PVE 6 安裝 CentOS7 的 CT 移轉至 PVE 7 的妥協做法 |
* [[https:// | * [[https:// | ||
- | ==== 清除舊版 kernel 的做法 ===== | + | ===== 清除舊版 kernel 的做法 |
* 參考 - https:// | * 參考 - https:// | ||
* 雖然每次升級後透過 apt autoremove 會自動移除掉不需要的舊版 kernel 但仍然會殘留一些不需要的 kernel 版本在系統內.. Exp. pve-kernel-5.4: | * 雖然每次升級後透過 apt autoremove 會自動移除掉不需要的舊版 kernel 但仍然會殘留一些不需要的 kernel 版本在系統內.. Exp. pve-kernel-5.4: |