ja:documentation:pandorafms:installation:01_installing

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:installation:01_installing [2026/04/25 23:19] – [RHEL および Rocky Linux 向けのカスタムパラメータ] junichija:documentation:pandorafms:installation:01_installing [2026/06/06 23:27] (現在) – [MS Windows 用] junichi
行 455: 行 455:
  
    * **TZ**: Defines the time zone of the machine, by default it is ''Europe/Madrid''.    * **TZ**: Defines the time zone of the machine, by default it is ''Europe/Madrid''.
-  * **PHPVER**: It defines the PHP version to install. By default ''PHPVER=8''  (installs PHP 8). +  * **PHPVER**: Specifies the PHP version to install; if **82** is specified, PHP 8.2 will be installed (the version compatible with PFMS //legacy//). By default''PHPVER=84'' (installs PHP 8.4). 
-  * **DBHOST**: The host of the database, by default ''DBHOST=127.0.0.1''  +   ***DBHOST**: The host of the database, by default ''DBHOST=127.0.0.1''
-  * **DBNAME**: The name of the database to be created, by default ''DBNAME=pandora''+   * **DBNAME**: The name of the database to create, by default ''DBNAME=pandora''
-  * **DBUSER**: The user of the database to be created, by default ''DBUSER=pandora''  +   * **DBUSER**: The database user to be created, by default ''DBUSER=pandora''
-  * **DBPASS**: The password for the user to be created, by default ''DBPASS=pandora''+   * **DBPASS**: The password (password) for the user that will be created, by default ''DBPASS='Pandor4!' ''
-  * **DBPORT**: Port number of the database to be connected, by default ''DBPORT=3306''+   * **DBPORT**: Port number of the database to connect, by default ''DBPORT=3306''
-  * **DBROOTPASS**: Password for the database root user, by default ''DBROOTPASS=pandora''+   * **DBROOTPASS**: Password of the **root** user of the database, by default ''DBROOTPASS='Pandor4!' ''
-  * **SKIP_PRECHECK**: Skip the check if a previous Pandora FMS installation already exists, useful to create a new database and point the installation to this one; by default ''SKIP_PRECHECK=0''+   * **SKIP_PRECHECK**: Skip the check if there is already a previous installation of Pandora FMS, useful to create a new database and point the installation to it; by default ''SKIP_PRECHECK=0''
-  * **SKIP_DATABASE_INSTALL**: Skip the database installation, useful for when you already have a database installed, either local or remote and you use its credentials to create the Pandora FMS database; by default ''SKIP_DATABASE_INSTALL=0''+   * **SKIP_DATABASE_INSTALL**: Skip the database installation, useful when you already have a database installed, either local or remoteand use its credentials to create the Pandora FMS database; defaults to ''SKIP_DATABASE_INSTALL=0''
-  * **SKIP_KERNEL_OPTIMIZATIONS**: Skip the recommended kernel optimization, only for advanced users. Default ''SKIP_KERNEL_OPTIMIZATIONS=0''+   * **SKIP_KERNEL_OPTIMIZATIONS**: Skip recommended kernel optimization, for advanced users onlyBy default ''SKIP_KERNEL_OPTIMIZATIONS=0''
-  * **POOL_SIZE**: It specifies memory value to be used, by default it is done automatically. +   * **POOL_SIZE**: Specifies a value of memory to use, by default it is done automatically. 
-  * **PANDORA_BETA**: If set to ''1''the packages of the latest beta version available will be installed (only for test environments). By default ''PANDORA_BETA=0''.+   * **PANDORA_BETA**: If it is set to ''1'' the packages of the latest available beta version will be installed (only for test environments). By default ''PANDORA_BETA=0'' .
    * **PANDORA_LTS**: Installs the latest version of Long Term Support (**LTS**), a version with maximum stability that incorporates major bug fixes. By default it is active (''PANDORA_LTS=1''), if it is set to zero it installs the latest regular version, Feature Release (**FR**).    * **PANDORA_LTS**: Installs the latest version of Long Term Support (**LTS**), a version with maximum stability that incorporates major bug fixes. By default it is active (''PANDORA_LTS=1''), if it is set to zero it installs the latest regular version, Feature Release (**FR**).
  
   * **TZ**: マシンのタイムゾーンを定義します。デフォルトは ''Europe/Madrid''  です。   * **TZ**: マシンのタイムゾーンを定義します。デフォルトは ''Europe/Madrid''  です。
-  * **PHPVER**: インストールする PHP のバージョンを定します。デフォルトでは、''PHPVER=8'' です (PHP 8 をインストールしま)+  * **PHPVER**: インストールするPHPのバージョンを定します。**82** を指定すると、PHP 8.2(PFMS //レガシー//と互換性のあるバージョン)がインストールされます。デフォルトでは、''PHPVER=84''PHP 8.4 をインストール)です。
   * **DBHOST**: データベースホストです。デフォルトは、''DBHOST=127.0.0.1''  です。   * **DBHOST**: データベースホストです。デフォルトは、''DBHOST=127.0.0.1''  です。
   * **DBNAME**: 作成されるデータベース名です。デフォルトは、''DBNAME=pandora''  です。   * **DBNAME**: 作成されるデータベース名です。デフォルトは、''DBNAME=pandora''  です。
行 496: 行 496:
  DBPORT='3306' \  DBPORT='3306' \
  DBROOTPASS='Pandor4!' \  DBROOTPASS='Pandor4!' \
- PHPVER='8.0' \+ PHPVER='84' \
  SKIP_PRECHECK=0 \  SKIP_PRECHECK=0 \
  SKIP_DATABASE_INSTALL=0 \  SKIP_DATABASE_INSTALL=0 \
行 502: 行 502:
  PANDORA_BETA=0 \  PANDORA_BETA=0 \
  PANDORA_LTS=1 \  PANDORA_LTS=1 \
- bash -c "$(curl -SsL <your_link_for_trial>)"+ bash -c "
 </code> </code>
  
行 594: 行 594:
 Pandora FMS 用のデータベース(**DB**)をホストする強力な専用サーバがある場合、[[:ja:documentation :pandorafms:installation:01_installing#オンラインインストールツールを利用する場合の要件|オンラインインストール]]のための別の[[:ja:documentation:pandorafms:installation:01_installing#オンラインインストールツールを用いたカスタムインストール|カスタマイズ]]があります。 Pandora FMS 用のデータベース(**DB**)をホストする強力な専用サーバがある場合、[[:ja:documentation :pandorafms:installation:01_installing#オンラインインストールツールを利用する場合の要件|オンラインインストール]]のための別の[[:ja:documentation:pandorafms:installation:01_installing#オンラインインストールツールを用いたカスタムインストール|カスタマイズ]]があります。
  
-First you must consider//roughly//, how you should plan the installation so that both the PFMS server and your Web Console (**PANDORA FMS SERVER+CONSOLE**) connect to a remote database (**DB**):+First you should take into account, roughly, how you should plan the installation so that both the PFMS server and its Web Console (**PANDORA FMS SERVER+CONSOLE**) connect to [[#ks1_7_4|a remote database]] (**DB**):
  
-最初に、//大まかに//、Pandora FMS サーバと Web コンソール (**PANDORA FMS SERVER+CONSOLE**) の両方がリモートデータベース (**DB**) に接続できるようにインストール計画を検討する必要があります。+最初に、//大まかに//、Pandora FMS サーバと Web コンソール (**PANDORA FMS SERVER+CONSOLE**) の両方が[[#ks1_7_4|リモートデータベース]] (**DB**) に接続できるようにインストール計画を検討する必要があります。
  
    * Connect to the server hosting the database engine, take exact note of its URL or its IP address (**DBHOST**).    * Connect to the server hosting the database engine, take exact note of its URL or its IP address (**DBHOST**).
行 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.1777159184.txt.gz
  • 最終更新: 2026/04/25 23:19
  • by junichi