命令列安裝
透過命令列安裝 ESET Endpoint Security 以略過 GUI。如果您的電腦未在 MDM 中註冊,您仍需要手動在 [系統設定] 中針對 ESET Endpoint Security 允許使用者存取權限。
如果您要使用命令列安裝來遠端安裝 ESET Endpoint Security,我們建議您在安裝 ESET Endpoint Security 之前,透過 MDM 發佈具有使用者同意設定的設置設定檔。您可以在預先安裝設定主題中找到配置設定檔的設定。 |
2.若要裝載下載的 .dmg 檔案,請按兩下該檔案,或使用下列命令列程序:
a.在終端機中,導覽至檔案的位置。輸入:cd ~/Downloads
將 [下載] 取代為已下載檔案的位置。
b.輸入:hdiutil attach ees_osx_mlp_0.dmg。
將 ees_osx_mlp_0 取代為您的檔案名稱。
4.安裝 ESET Endpoint Security:
sudo installer -target / -pkg "/Volumes/ESET Endpoint Security/.resources/Installer.pkg" -applyChoiceChangesXML "${path_to_file}/accept_terms.xml" |
替代安裝選項 (無需下載「接受使用條款」檔案)
2.若要裝載下載的 .dmg 檔案,請按兩下該檔案,或使用下列命令列程序:
a.在終端機中,導覽至檔案的位置。輸入:cd ~/Downloads
將 [下載] 取代為已下載檔案的位置。
b.輸入:hdiutil attach ees_osx_mlp_0.dmg。
將 ees_osx_mlp_0 取代為您的檔案名稱。
3.在終端機中輸入:
sudo installer -pkg /Volumes/ESET Endpoint Security/.resources/Installer.pkg -target / |
您可能需要將 Installer.pkg 的路徑取代為您的 Installer.pkg 位置。
4.安裝失敗,這是預期的結果,因為使用者尚未核准使用條款。為了能夠從命令列核准使用條款,系統已建立新的資料夾 (/Library/Application Support/ESET/Security/tou/),其中包含一個檔案,將用於在命令列安裝期間核准使用者使用條款 (accept_terms.xml)。
5.若要接受條款並安裝 ESET Endpoint Security,請使用已建立的檔案重新執行安裝程式:
sudo installer -target / -pkg "/Volumes/ESET Endpoint Security/.resources/Installer.pkg" -applyChoiceChangesXML "${path_to_file}/accept_terms.xml" |