自動アップグレードを実行する

処理中に情報を入力する必要なく Plesk のアップグレードを実行するには、以下のコマンドを実行します。

plesk-installer <パッケージソースオプション> --select-release-id <ID> --upgrade-installed-components <コンポーネントインストールオプション> [other options]

ここで、

Linux/Unix の例

1. 以下のコマンドを実行すると、mirror.example.com サーバにセットアップされたミラーから 12.0.18 リリースバージョン(リリース ID は PANEL_12_0_18)に HTTP 経由で Plesk がアップグレードされます。インストールファイルは一時的に /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 アップデートサーバから、Plesk 12.0.18 リリースバージョン(リリース ID は PANEL_12_0_18)へのアップグレードが実行されます。インストーラからのアウトプットはすべて XML ファイルにリダイレクトされます。

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

Windows の例

1. 以下のコマンドを実行すると、mirror.example.com サーバにセットアップされたミラーから 12.0.18 リリースバージョン(リリース ID は PANEL_12_0_18_WIN)に HTTP 経由で Plesk がアップグレードされます。インストールファイルは一時的に %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 アップデートサーバから、Plesk 12.0.18 リリースバージョン(リリース ID は PANEL_12_0_18)へのアップグレードが実行されます。インストーラからのアウトプットはすべて XML ファイルにリダイレクトされます。

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