運行自動化升級

要想在整個過程中無需提供任何資訊來升級 Plesk 可運行以下命令:

plesk-installer <packages source options> --select-release-id <ID> --upgrade-installed-components <components installation options> [other options]

其中

如,Linux/Unix

1. 以下命令會從能夠通過 HTTP 存取的伺服器 mirror.example.com 上設定的鏡像升級 Plesk 到 12.0.18 發行版本本(版本 ID 是 PANEL_12_0_18)。安裝檔暫時存儲在 /tmp/panel,安裝狀態將會報告至 admin@example.com 電郵地址。額外安裝了 PostgreSQL 伺服器組件。

./plesk-installer --source http://mirror.example.com/ --target /tmp/panel --select-release-id PANEL_12_0_18 --upgrade-installed-components --install-component postgresql --notify-email admin@example.com

2.以下命令從 Plesk 更新伺服器執行到 12.0.18 發行版本本 (ID is PANEL_12_0_18) 的升級。所有安裝程式輸出會重定向到 XML 檔。

./plesk-installer --select-release-id PANEL_12_0_18 --upgrade-installed-components --enable-xml-output

示例 Windows

1.以下命令會從能夠通過 HTTP 存取的伺服器 mirror.example.com 上設定的鏡像升級 Plesk 到 12.0.18 發行版本本(版本 ID 是 PANEL_12_0_18_WIN)。安裝檔暫時存儲在%SystemDrive%\Parallels\ 資料夾,安裝狀態將會報告至 admin@example.com 電郵地址。額外安裝了 Bind 域名伺服器組件。

plesk-installer.exe --source http://mirror.example.com/ --target %SystemDrive%\Parallels --select-release-id PANEL_12_0_18_WIN --upgrade-installed-components --install-component dns --notify-email admin@example.com

2.以下命令從 Plesk 更新伺服器執行到 12.0.18 發行版本本 (ID is PANEL_12_0_18) 的升級。所有安裝程式輸出會重定向到 XML 檔。

plesk-installer.exe --select-release-id PANEL_12_0_18_WIN --upgrade-installed-components --enable-xml-output