設為首頁收藏本站

 取回密碼
 註冊
搜尋
熱搜: Redump discuz
檢視: 665|回覆: 0

【教學】 Esxi 7.0後SSH更新 ESXi指令

[複製連結]
發表於 2022年12月10日 00:56:24 | 顯示全部內容 |閱讀模式
先獲取安裝的zip檔 VMware-ESXi-xxx-xxxxxxxx-depot.zip.
上傳檔案到datastore
以下請依檔名datastore修正下面的指令.

esxcli software profile update -d /vmfs/volumes/datastore/VMware-ESXi-xxx-xxxxxxxx-depot.zip -p ESXi-xxx-xxxxxxxx-standard
打開ESXi的ssh,使用ssh軟體連到ESXi主機登入後貼上上面這行指令,如果有錯誤按錯誤指另新增指令在後方.

/vmfs/volumes/datastore 要在你的datastore ->位置: 查出下列一串數字

/vmfs/volumes/123456ef-12db3456-123a-12aedd345678

esxcli software profile update -d /vmfs/volumes/123456ef-12db3456-123a-12aedd345678/VMware-ESXi-xxx-xxxxxxxx-depot.zip -p ESXi-xxx-xxxxxxxx-standard

或者可以直接使用線上升級指令.

  1. esxcli network firewall ruleset set -e true -r httpClient
  2. esxcli software profile update -p ESXi-8.0U1-21495797-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
  3. esxcli network firewall ruleset set -e false -r httpClient


  4. 加上硬體錯誤無警告
  5. esxcli software profile update -p ESXi-8.0U1-21495797-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml --no-hardware-warning
  6. esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml --no-hardware-warning -p ESXi-8.0U1-21495797-standard
複製程式碼

更新完成打上reboot 重啟ESXi.
作者文章推薦
懶得打字嗎?讓本助手協助你 【使用進階編輯器請點選右方進階模式】
您需要登入後才可以回覆 登入 | 註冊

本版積分規則

手機版|Archiver|漁家小舖

GMT+8, 2024年4月23日 18:15 , Processed in 0.385891 second(s), 16 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回覆 返回頂端 返回清單