ja:documentation:pandorafms:installation:01_installing

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
ja:documentation:pandorafms:installation:01_installing [2026/06/06 23:21] – [リモートデータベースを使用した Pandora FMS のインストール] junichija:documentation:pandorafms:installation:01_installing [2026/06/06 23:27] (現在) – [MS Windows 用] junichi
行 781: 行 781:
 <code powershell> <code powershell>
 NET START PandoraFMSAgent NET START PandoraFMSAgent
 +</code>
 +
 +<wrap #ks1_7_4 />
 +
 +=== ヒストリ用外部データベースインストール ===
 +
 +The process of installing an external database using an online installation script is recommended for environments where you want to distribute the installation of the application and database installation on different machines or **for the deployment of [[:en:documentation:pandorafms:complex_environments_and_optimization:09_pandorafms_engineering#ks1_5|historical database]]**.
 +
 +オンラインインストールスクリプトを使用して外部データベースをインストールするプロセスは、アプリケーションのインストールとデータベースのインストールを異なるマシンに分散させたい環境、または**[[:ja:documentation:pandorafms:complex_environments_and_optimization:09_pandorafms_engineering#ks1_5|ヒストリデータベース]]**の展開に推奨されます。
 +
 +This installation script creates a database prepared to connect with Pandora FMS with the recommended parameters and the [[:en:documentation:pandorafms:management_and_operation:12_console_setup#ks1_4|established configuration]].
 +
 +このインストールスクリプトは、推奨パラメータと[[:ja:documentation:pandorafms:management_and_operation:12_console_setup#ks1_4|確立された構成]]を使用して Pandora FMS に接続する準備ができたデータベースを作成します。
 +
 +**Supported operating systems**
 +
 +**対応OS**
 +
 +  * **EL9**: Rocky Linux 9.x or RedHat Enterprise Linux 9.x .
 +  * **Ubuntu**: 22.04 .
 +
 +  * **EL9**: Rocky Linux 9.x または Red Hat Enterprise Linux 9.x
 +  * **Ubuntu**: 22.04
 +
 +**Steps to follow for the installation**
 +
 +**インストール手順**
 +
 +You only need to have **curl** installed and run the command:
 +
 +**curl** をインストールしてコマンドを実行するだけです。
 +
 +**EL9**:
 +
 +<code bash>
 +curl -fsSL https://pfms.me/db-deploy-el9 | bash
 +</code>
 +
 +**Ubuntu**:
 +
 +<code bash>
 +curl -fsSL https://pfms.me/db-deploy-u2204 | bash
 +</code>
 +
 +**Script parameters**
 +
 +**スクリプトパラメータ**
 +
 +The script supports a series of environment variables to customize the installation. 
 +
 +このスクリプトは、インストールをカスタマイズするための一連の環境変数をサポートしています。
 +
 +^Variable^Description^Default value^
 +|''TZ''|Defines the machine time zone.|''Europe/Madrid''|
 +|''MYVER''|MySQL version to install (Supports 8.0 and 8.4).|''84''|
 +|''DBNAME''|Name of the database to be created.|''pandora''|
 +|''DBUSER''|Database user to be created.|''pandora''|
 +|''DBPASS''|Password for the database user.|''Pandor4!''|
 +|''DBROOTPASS''|Password to be assigned to the **root** user.|''Pandor4!''|
 +|''SKIP_KERNEL_OPTIMIZATIONS''|Skips [[#ks1_7_1_5|kernel optimizations]] (experts only).|''0''|
 +|''POOL_SIZE''|Memory for MySQL (Buffer pool size).|Automatic|
 +
 +^変数^説明^デフォルト値^
 +|''TZ''|マシンのタイムゾーンを定義します。|''Europe/Madrid''|
 +|''MYVER''|インストールするMySQLのバージョン(8.0 および 8.4 をサポート)。|''84''|
 +|''DBNAME''|作成するデータベース名|''pandora''|
 +|''DBUSER''|作成するデータベースユーザ|''pandora''|
 +|''DBPASS''|データベースユーザーのパスワード|''Pandor4!''|
 +|''DBROOTPASS''|**root**ユーザーに割り当てるパスワード|''Pandor4!''|
 +|''SKIP_KERNEL_OPTIMIZATIONS''|カーネル最適化をスキップします(上級者向け)|''0''|
 +|''POOL_SIZE''|MySQL のメモリ (Buffer pool size)|自動|
 +
 +**Execution with parameters**
 +
 +**パラメータ付き実行**
 +
 +**EL9**:
 +
 +<code bash>
 +env TZ='Europe/Madrid' \
 + MYVER=84 \
 + DBNAME='pandora' \
 + DBUSER='pandora' \
 + DBPASS='Pandor4!' \
 + DBROOTPASS='Pandor4!' \
 + POOL_SIZE=4G \
 + bash -c "$(curl -fsSL https://pfms.me/db-deploy-el9)"
 +</code>
 +
 +**Ubuntu**:
 +
 +<code bash>
 +env TZ='Europe/Madrid' \
 + MYVER=84 \
 + DBNAME='pandora' \
 + DBUSER='pandora' \
 + DBPASS='Pandor4!' \
 + DBROOTPASS='Pandor4!' \
 + POOL_SIZE=4G \
 + bash -c "$(curl -fsSL https://pfms.me/db-deploy-u2204)"
 </code> </code>
  
  • ja/documentation/pandorafms/installation/01_installing.txt
  • 最終更新: 2026/06/06 23:27
  • by junichi