ja:documentation:pandorafms:installation:01_installing

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:installation:01_installing [2025/12/06 01:58] – [Pandora FMS のインストール] junichija:documentation:pandorafms:installation:01_installing [2026/04/25 23:23] (現在) – [Ubuntu Server 向けのカスタムパラメータ] junichi
行 92: 行 92:
  
 ^Software^Requirements^| ^Software^Requirements^|
-^Operating System| ܀ RedHat Enterprise (RHEL) 9 (**recommended**) \\ ܀ Rocky Linux 9 \\  ܀ Ubuntu Server 22.04 \\ **Offline installations (servers without internet connection) are not supported on Ubuntu Server**. \\ **Command Center**: It is recommended to avoid installing the Command Center in Ubuntu environments. \\ \\ **Systemd** is already installed and enabled in the indicated operating systems and it is required for Pandora FMS from version 779 onwards to operate. \\ \\ Each Pandora FMS <wrap :en>**LTS (Long Term Support)**</wrap> version supports several OS versions. See the [[https://pandorafms.com/en/policy-support-versions-os/|versions and support conditions in our OS versions support page]].||+^Operating System| ܀ RedHat Enterprise (RHEL) 9 (**recommended**)\\ ܀ Rocky Linux 9 (**recommended**).\\  ܀ Ubuntu Server 22.04 \\ **Offline installations (servers without internet connection) are not supported on Ubuntu Server**. \\ **Command Center**: It is recommended to avoid installing the Command Center in Ubuntu environments. \\ \\ **Systemd** is already installed and enabled in the indicated operating systems and it is required for Pandora FMS from version 779 onwards to operate. \\ \\ Each Pandora FMS <wrap :en>**LTS (Long Term Support)**</wrap> version supports several OS versions. See the [[https://pandorafms.com/en/policy-support-versions-os/|versions and support conditions in our OS versions support page]].||
 | ::: |Windows Server (2003 or higher) SLES 11 SP1 or higher. OpenSUSE 11.X or higher. Debian 5, 6, 7 or higher. Ubuntu Server 21 or higher. Ubuntu Desktop FreeBSD 9.X or higher. Solaris 10/OpenSolaris.|**Pandora FMS does not officially support these platforms.** | | ::: |Windows Server (2003 or higher) SLES 11 SP1 or higher. OpenSUSE 11.X or higher. Debian 5, 6, 7 or higher. Ubuntu Server 21 or higher. Ubuntu Desktop FreeBSD 9.X or higher. Solaris 10/OpenSolaris.|**Pandora FMS does not officially support these platforms.** |
 ^Installation permissions| \\ **Server**: Pandora FMS Server must be installed as **root** or with **root** permissions (user //sudoer//). In the installation, a user called ''pandora'' is created, assigned to the **root** group, which later may be changed, taking into account that you should reconfigure the [[:en:documentation:pandorafms:technical_reference:09_tentacle#ks2|Tentacle server]]. \\  It is also possible to install and run as a non-root user, [[#ks1_10_4|being a special and different procedure]]. \\  **Console:** In order to use the console from any web browser, Apache must have read and execute permissions on Console files. Additionally, file ''config.php'' must have ''600'' permissions (read and write for ''administrator/root''). In turn, write permissions are required in the server directory: ''/var/spool/pandora/'' \\   \\ **EndPoint:** \\   \\ -Linux®: Pandora FMS Server EndPoint must be executed as permissions as root in order to have all the agent's features, although it is also possible to run it with other permissions. \\  \\ -MS Windows®: Pandora FMS Server EndPoint must be executed with admin permissions. \\ || ^Installation permissions| \\ **Server**: Pandora FMS Server must be installed as **root** or with **root** permissions (user //sudoer//). In the installation, a user called ''pandora'' is created, assigned to the **root** group, which later may be changed, taking into account that you should reconfigure the [[:en:documentation:pandorafms:technical_reference:09_tentacle#ks2|Tentacle server]]. \\  It is also possible to install and run as a non-root user, [[#ks1_10_4|being a special and different procedure]]. \\  **Console:** In order to use the console from any web browser, Apache must have read and execute permissions on Console files. Additionally, file ''config.php'' must have ''600'' permissions (read and write for ''administrator/root''). In turn, write permissions are required in the server directory: ''/var/spool/pandora/'' \\   \\ **EndPoint:** \\   \\ -Linux®: Pandora FMS Server EndPoint must be executed as permissions as root in order to have all the agent's features, although it is also possible to run it with other permissions. \\  \\ -MS Windows®: Pandora FMS Server EndPoint must be executed with admin permissions. \\ ||
行 145: 行 145:
  
 ^ソフトウエア  ^要件  ^| ^ソフトウエア  ^要件  ^|
-^OS| ܀  RedHat Enterprise (RHEL) 9 (**推奨**) \\ ܀ Rocky Linux 9 \\ ܀ Ubuntu Server 22.04 \\ **オフラインインストール(インターネット接続のないサーバ)は Ubuntu Server はサポートされていません**。 \\ **コマンドセンター**: Ubuntu 環境にコマンドセンターをインストールしないことを推奨します。 \\ \\ **Systemd** は、指定されたオペレーティングシステムにすでにインストールされ有効化されており、Pandora FMS バージョン 779 以降が動作するには必要です。 \\ \\ 各 Pandora FMS <wrap :ja>**LTS (長期サポート)**</wrap> バージョンは、複数の OS バージョンをサポートしています。[[https://pandorafms.com/en/policy-support-versions-os/|OS バージョンのサポートページでバージョンとサポート条件をご覧ください]]。||+^OS| ܀  RedHat Enterprise (RHEL) 9 (**推奨**) \\ ܀ Rocky Linux 9 (**推奨**) \\ ܀ Ubuntu Server 22.04 \\ **オフラインインストール(インターネット接続のないサーバ)は Ubuntu Server はサポートされていません**。 \\ **コマンドセンター**: Ubuntu 環境にコマンドセンターをインストールしないことを推奨します。 \\ \\ **Systemd** は、指定されたオペレーティングシステムにすでにインストールされ有効化されており、Pandora FMS バージョン 779 以降が動作するには必要です。 \\ \\ 各 Pandora FMS <wrap :ja>**LTS (長期サポート)**</wrap> バージョンは、複数の OS バージョンをサポートしています。[[https://pandorafms.com/en/policy-support-versions-os/|OS バージョンのサポートページでバージョンとサポート条件をご覧ください]]。||
 | ::: |Windows Server (2003 以上) \\ SLES 11 SP1 or 以上  \\ OpenSUSE 11.X 以上 \\ Debian 5, 6, 7 以上 \\ Ubuntu Server 21 以前 \\ Ubuntu Desktop \\ FreeBSD 9.X 以上 \\ Solaris 10/OpenSolaris  |**Pandora FMS は、これらの環境は公式サポートしていません。** | | ::: |Windows Server (2003 以上) \\ SLES 11 SP1 or 以上  \\ OpenSUSE 11.X 以上 \\ Debian 5, 6, 7 以上 \\ Ubuntu Server 21 以前 \\ Ubuntu Desktop \\ FreeBSD 9.X 以上 \\ Solaris 10/OpenSolaris  |**Pandora FMS は、これらの環境は公式サポートしていません。** |
 ^インストール権限  |**サーバ**: Pandora FMS サーバは、**root** として、または **root** 権限 (//sudoer//) でインストールする必要があります。インストール時に、''pandora'' というユーザが作成され、**root** グループに割り当てられます。このユーザは、後で [[ja:documentation:pandorafms:technical_reference:09_tentacle#gnu_linux_tentacle_ユーザガイド|Tentacle サーバ]] を再設定する必要がある場合などに変更できます。\\ 非 root ユーザとしてインストールおよび実行することも可能ですが、これに特別な別の手順があります。詳細については、この [[#非特権ユーザでのインストール|リンク]] を参照してください。 \\ **コンソール**: コンソールを任意の Web ブラウザから利用できるようにするには、Apache がコンソールファイルに対する読み出し、実行できる必要があります。 加えて、''config.php'' ファイルは ''600'' パーミッションである必要があります(administrator/root に対する読み書き)。 サーバディレクトリ ''/var/spool/pandora'' への書き込み権限が必要です。 \\ **エンドポイント**: -Linux: エージェントの全機能を利用するためには、Pandora FMS エンドポイントは root 権限で実行する必要があります。ただし、他の権限で実行させることもできます。 -Windows: Pandora FMS エンドポイントは、administrator 権限で実行する必要があります。  || ^インストール権限  |**サーバ**: Pandora FMS サーバは、**root** として、または **root** 権限 (//sudoer//) でインストールする必要があります。インストール時に、''pandora'' というユーザが作成され、**root** グループに割り当てられます。このユーザは、後で [[ja:documentation:pandorafms:technical_reference:09_tentacle#gnu_linux_tentacle_ユーザガイド|Tentacle サーバ]] を再設定する必要がある場合などに変更できます。\\ 非 root ユーザとしてインストールおよび実行することも可能ですが、これに特別な別の手順があります。詳細については、この [[#非特権ユーザでのインストール|リンク]] を参照してください。 \\ **コンソール**: コンソールを任意の Web ブラウザから利用できるようにするには、Apache がコンソールファイルに対する読み出し、実行できる必要があります。 加えて、''config.php'' ファイルは ''600'' パーミッションである必要があります(administrator/root に対する読み書き)。 サーバディレクトリ ''/var/spool/pandora'' への書き込み権限が必要です。 \\ **エンドポイント**: -Linux: エージェントの全機能を利用するためには、Pandora FMS エンドポイントは root 権限で実行する必要があります。ただし、他の権限で実行させることもできます。 -Windows: Pandora FMS エンドポイントは、administrator 権限で実行する必要があります。  ||
行 243: 行 243:
 ^ 3306 |TCP |Metaconsole |Communication between Metaconsole and DB Nodes |Metaconsole Server → DB Server Nodes Node Server → DB Server Metaconsole | ^ 3306 |TCP |Metaconsole |Communication between Metaconsole and DB Nodes |Metaconsole Server → DB Server Nodes Node Server → DB Server Metaconsole |
 ^ 4444 |TCP |Pandora FMS Server |Connection with Selenium GRID |Pandora FMS Server → Selenium Server | ^ 4444 |TCP |Pandora FMS Server |Connection with Selenium GRID |Pandora FMS Server → Selenium Server |
-^ 9995 |UDP |Pandora FMS Server |Reception of NetFlow probes |nfcapd Server → Pandora FMS Server |+^ 9995 |UDP |Pandora FMS Server |Reception of NetFlow probes |**nfcapd** Server → Pandora FMS Server |
 ^ 9200 |TCP |Pandora FMS Server and Console |Log storage management with Elasticsearch |Elasticsearch Server → Pandora FMS Server | ^ 9200 |TCP |Pandora FMS Server and Console |Log storage management with Elasticsearch |Elasticsearch Server → Pandora FMS Server |
 ^ 41121 |TCP |Pandora FMS Agents |Tentacle Communication |EndPoint Server → Pandora FMS Server | ^ 41121 |TCP |Pandora FMS Agents |Tentacle Communication |EndPoint Server → Pandora FMS Server |
 +^  41122  | UDP | PFMS Agents \\ [[:en:documentation:pandorafms:monitoring:02_operations#ks7|Remote actions via UDP]] | Tentacle \\ Communication | EndPoint → PFMS Server \\ PFMS Server → EndPoint |
 +^  41123  | TCP | PFMS Agents \\ [[:en:documentation:pandorafms:management_and_operation:18_rmm|RMM feature]] | Tentacle \\ Communication | EndPoint → PFMS Server \\ PFMS Server → EndPoint |
 ^It is recommended to facilitate communication from the Pandora FMS server and console to your entire network. For standard monitoring you would need at least: ^^^^| ^It is recommended to facilitate communication from the Pandora FMS server and console to your entire network. For standard monitoring you would need at least: ^^^^|
 ^ 80 |TCP |Pandora FMS Server |Web monitoring for WUX server |Pandora FMS Server → Server to monitor | ^ 80 |TCP |Pandora FMS Server |Web monitoring for WUX server |Pandora FMS Server → Server to monitor |
行 265: 行 267:
 ^9200  |TCP  |Pandora FMS コンソールおよびサーバ  |Elasticsearch によるログストレージ管理  |Elasticsearch サーバ → Pandora FMS サーバ  | ^9200  |TCP  |Pandora FMS コンソールおよびサーバ  |Elasticsearch によるログストレージ管理  |Elasticsearch サーバ → Pandora FMS サーバ  |
 ^41121  |TCP  |Pandora FMS エージェント  |Tentacle 通信  |エンドポイント → Pandora FMS サーバ  | ^41121  |TCP  |Pandora FMS エージェント  |Tentacle 通信  |エンドポイント → Pandora FMS サーバ  |
 +^  41122  | UDP | PFMS エージェント \\ [[:ja:documentation:pandorafms:monitoring:02_operations#ks7|UDP 経由でのリモートアクション]] | Tentacle \\ 通信 | エンドポイント → PFMS サーバ \\ PFMS サーバ → エンドポイント |
 +^  41123  | TCP | PFMS エージェント \\ [[:ja:documentation:pandorafms:management_and_operation:18_rmm|RMM 機能]] | Tentacle \\ 通信 | エンドポイント → PFMS サーバ \\ PFMS サーバ → エンドポイント |
 ^Pandora FMS サーバとコンソールから、ネットワーク全体への通信は許可することをお勧めします。通常の監視では、最低限次の通信が必要です。  ^^^^| ^Pandora FMS サーバとコンソールから、ネットワーク全体への通信は許可することをお勧めします。通常の監視では、最低限次の通信が必要です。  ^^^^|
 ^80  |TCP  |Pandora FMS サーバ  |WUX サーバによる Web 監視  |Pandora FMS サーバ → 監視対象サーバ  | ^80  |TCP  |Pandora FMS サーバ  |WUX サーバによる Web 監視  |Pandora FMS サーバ → 監視対象サーバ  |
行 396: 行 400:
    * **SKIP_DATABASE_INSTALL**: Skip the database installation, useful when you already have a database installed, either local or remote, and use its credentials to create the Pandora FMS database; defaults to ''SKIP_DATABASE_INSTALL=0''.    * **SKIP_DATABASE_INSTALL**: Skip the database installation, useful when you already have a database installed, either local or remote, and use its credentials to create the Pandora FMS database; defaults to ''SKIP_DATABASE_INSTALL=0''.
    * **SKIP_KERNEL_OPTIMIZATIONS**: Skip recommended kernel optimization, for advanced users only. By default ''SKIP_KERNEL_OPTIMIZATIONS=0''.    * **SKIP_KERNEL_OPTIMIZATIONS**: Skip recommended kernel optimization, for advanced users only. By default ''SKIP_KERNEL_OPTIMIZATIONS=0''.
-   * **MYVER**: Defines the version of MySQL to installif **80** is defined MySQL 8 will be installed. By default ''MYVER=80'' (deploys MySQL 8.0). +  * **MYVER**: Specify the version of MySQL to installif you specify **84**MySQL 8.4 will be installed. By default''MYVER=80'' (installs MySQL 8.0). 
-   * **PHPVER**: Defines the version of PHP to install, by default ''PHPVER=8'' (displays PHP 8).+  * **PHPVER**: Specifies the PHP version to install; if **82** is specifiedPHP 8.2 will be installed (the version compatible with PFMS //legacy//). By default''PHPVER=84'' (installs PHP 8.4).
    * **PANDORA_SERVER_PACKAGE**: Defines the URL of the RPM package of the Pandora FMS server that you want to install. By default, the latest available version is defined.    * **PANDORA_SERVER_PACKAGE**: Defines the URL of the RPM package of the Pandora FMS server that you want to install. By default, the latest available version is defined.
    * **PANDORA_CONSOLE_PACKAGE**: Defines the URL of the Pandora FMS Web Console RPM package that you want to install. By default, the latest available version is defined.    * **PANDORA_CONSOLE_PACKAGE**: Defines the URL of the Pandora FMS Web Console RPM package that you want to install. By default, the latest available version is defined.
行 403: 行 407:
    * **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'' (if specific packages are defined, this option is ignored).    * **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'' (if specific packages are defined, this option is ignored).
    * **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**).
 +To use these environment variables, it is enough to define them before executing the installation script, **for example**, in an installation in **EL 9** with defined variables, execute the block:
  
   * **TZ**: マシンの [[https://en.wikipedia.org/wiki/Time_zone|タイムゾーン]] を定義します。デフォルトは ''Europe/Madrid''  です。   * **TZ**: マシンの [[https://en.wikipedia.org/wiki/Time_zone|タイムゾーン]] を定義します。デフォルトは ''Europe/Madrid''  です。
行 414: 行 419:
   * **SKIP_DATABASE_INSTALL**: データベースのインストールをスキップします。これは、ローカルまたはリモートのデータベースがすでにインストールされていて、そのデータベースの認証情報を使用して Pandora FMS データベースを作成する場合に役立ちます。 デフォルトでは、''SKIP_DATABASE_INSTALL=0''  です。   * **SKIP_DATABASE_INSTALL**: データベースのインストールをスキップします。これは、ローカルまたはリモートのデータベースがすでにインストールされていて、そのデータベースの認証情報を使用して Pandora FMS データベースを作成する場合に役立ちます。 デフォルトでは、''SKIP_DATABASE_INSTALL=0''  です。
   * **SKIP_KERNEL_OPTIMIZATIONS**: 推奨する kernel の最適化をスキップするオプションで、上級ユーザ向けです。デフォルトは、''SKIP_KERNEL_OPTIMIZATIONS=0''  です。   * **SKIP_KERNEL_OPTIMIZATIONS**: 推奨する kernel の最適化をスキップするオプションで、上級ユーザ向けです。デフォルトは、''SKIP_KERNEL_OPTIMIZATIONS=0''  です。
-  * **MYVER**: インストールする MySQL のバージョンを定します。**80** 義されてい場合、MySQL 8 がインストールされます。 デフォルト''MYVER=80'' (MySQL 8.0 をデプロします)。 +  * **MYVER**: インストールする MySQL のバージョンを定します。**84** を指、MySQL 8.4 がインストールされます。デフォルトは ''MYVER=80'' (MySQL 8.0 をインストール)です。 
-  * **PHPVER**: インストールする PHP のバージョンを定します。デフォルトでは、''PHPVER=8'' です(PHP 8 をデプロしま)+  * **PHPVER**: インストールする PHP のバージョンを定します。**82** を指定すると、PHP 8.2(PFMS //レガシー// と互換性のあるバージョン)がインストールされます。デフォルトでは、''PHPVER=84''PHP 8.4をインストール)です。
   * **PANDORA_SERVER_PACKAGE**: インストールする Pandora FMS サーバーの RPM パッケージの URL を定義します。 デフォルトでは、最新のバージョンが定義されています。   * **PANDORA_SERVER_PACKAGE**: インストールする Pandora FMS サーバーの RPM パッケージの URL を定義します。 デフォルトでは、最新のバージョンが定義されています。
   * **PANDORA_CONSOLE_PACKAGE**: インストールする Pandora FMS Web コンソールの RPM の URL を定義します。 デフォルトでは、最新のバージョンが定義されています。   * **PANDORA_CONSOLE_PACKAGE**: インストールする Pandora FMS Web コンソールの RPM の URL を定義します。 デフォルトでは、最新のバージョンが定義されています。
行 434: 行 439:
  DBPORT='3306' \  DBPORT='3306' \
  DBROOTPASS='Pandor4!' \  DBROOTPASS='Pandor4!' \
- MYVER=80 + MYVER=84 
- PHPVER=\+ PHPVER=84 \
  SKIP_PRECHECK=0 \  SKIP_PRECHECK=0 \
  SKIP_DATABASE_INSTALL=0 \  SKIP_DATABASE_INSTALL=0 \
行 450: 行 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''  です。
行 491: 行 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 \
行 497: 行 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>
  
行 1006: 行 1011:
    * 詳細は、[[:ja:documentation:pandorafms:technical_annexes:32_pfms_install_software_agent|Pandora FMS エンドポイントのインストール]] を参照してください。    * 詳細は、[[:ja:documentation:pandorafms:technical_annexes:32_pfms_install_software_agent|Pandora FMS エンドポイントのインストール]] を参照してください。
  
 +<wrap #ks3 />
 +
 +===== Pandora FMS におけるログ収集のための OpenSearch のインストール =====
 +
 +Activating log collection in Pandora FMS is completely optional, and for this, an OpenSearch instance must be installed, with the online installation being the recommended option. Check first [[#ks3_1|the requirements]] and then the [[#ks3_2|unattended installation]].
 +
 +Pandora FMS でログ収集を有効にするのは完全に任意です。そのためには OpenSearch インスタンスをインストールする必要があります。オンラインインストールが推奨されます。まず [[#ks3_1|要件]] を確認し、次に [[#ks3_2|無人インストール]] を確認してください。
 +
 +<WRAP center round info 90%>
 +
 +For more information and advanced configuration, go to the topic: "[[:en:documentation:pandorafms:technical_annexes:38_opensearch_installation|OpenSearch installation and configuration]]".
 +
 +</WRAP>
 +
 +<WRAP center round info 90%>
 +
 +詳細情報および高度な設定については、次のトピックを参照してください。「[:ja:documentation:pandorafms:technical_annexes:38_opensearch_installation|OpenSearch のインストールと設定]」
 +
 +</WRAP>
 +
 +<wrap #ks3_1 />
 +
 +==== サーバ要件 ====
 +
 +<WRAP center round important 90%>
 +
 +It is recommended to distribute Pandora FMS server and OpenSearch on independent servers. For more information and advanced configuration, go to the topic: "[[:en:documentation:pandorafms:technical_annexes:38_opensearch_installation|OpenSearch installation and configuration]]".
 +
 +</WRAP>
 +
 +<WRAP center round important 90%>
 +
 +Pandora FMS サーバと OpenSearch は、それぞれ独立したサーバに分散配置することをお勧めします。詳細情報および高度な設定については、次のトピックを参照してください。[[:ja:documentation:pandorafms:technical_annexes:38_opensearch_installation|OpenSearch のインストールと設定]]
 +
 +</WRAP>
 +
 +  * Rocky Linux 8 / RHEL 8 / Ubuntu 22.04 (recommended operating systems).
 +  * Minimum 4 GB RAM (//testing//, //dev//), 8 GB RAM recommended for each OpenSearch instance (base minimum requirements; for each environment and amount of data to be processed and/or stored, specific requirements must be estimated).
 +  * Disable SWAP on the node or nodes where OpenSearch is located.
 +  * Minimum 4 CPU //cores// (base minimum requirements; for each environment and amount of data to be processed and/or stored, specific requirements must be estimated).
 +  * 50 GB system storage.
 +  * 100 GB OpenSearch storage (base minimum requirements; for each environment and amount of data to be processed and/or stored, specific requirements must be estimated).
 +  * Connectivity from the Pandora FMS Server and Web Console to the OpenSearch API (default port ''9200/TCP'') and between //cluster// nodes (default port ''9300/TCP'').
 +
 +  * Rocky Linux 8 / RHEL 8 / Ubuntu 22.04 (推奨オペレーティングシステム)。
 +  * 最低 4GBのRAM (//testing//、//dev//)、OpenSearch インスタンスごとに 8GB の RAM を推奨 (基本最小要件。環境および処理/保存するデータ量に応じて、具体的な要件を見積もる必要があります)。
 +  * OpenSearch が配置されているノードで SWAP を無効にします。
 +  * 最低 4つの CPU コア (基本最小要件。環境および処理/保存するデータ量に応じて、具体的な要件を見積もる必要があります)。
 +  * 50GB のシステムストレージ。
 +  * 100GB の OpenSearch ストレージ (基本最小要件。環境および処理/保存するデータ量に応じて、具体的な要件を見積もる必要があります)。
 +  * Pandora FMS サーバ および Web コンソールから OpenSearch API (デフォルトポート ''9200/TCP'')、および//クラスタ//ノード間 (デフォルトポート ''9300/TCP'')への接続。
 +
 +With a single-node environment with these characteristics, up to 1 GB of daily data can be stored and kept for 30 days. In the case of requiring greater data resilience, higher data processing and storage, and fault tolerance, it will be necessary to configure an OpenSearch //cluster// (with a minimum of 3 nodes to guarantee data integrity).
 +
 +このような特性を持つシングルノード環境では、1日あたり最大 1GBのデータを 30日間保存できます。より高いデータ耐障害性、高度なデータ処理・保存能力、および耐障害性が必要な場合は、OpenSearch //クラスタ//(データ整合性を保証するために最低 3ノード)を構成する必要があります。
 +
 +When moving [[:en:documentation:pandorafms:technical_annexes:47_pfms_opensearch_cluster|to a cluster environment]], it is also possible to distribute the load among the nodes, doubling (in the case of 3 nodes) the environment's processing capacity. **A load balancing system will be necessary** ([[https://pandorafms.com/guides/public/books/balanceo-de-carga-con-keepalived|Keepalived]], for example) if you want to work with the different nodes simultaneously.
 +
 +[[:ja:documentation:pandorafms:technical_annexes:47_pfms_opensearch_cluster|クラスタ環境へ移行する場合]]、ノード間で負荷を分散させ、環境の処理能力を倍増させることも可能です(3ノードの場合)。異なるノードを同時に操作する場合は、**負荷分散システム**(例えば、Keepalived など)が必要になります。
 +
 +<wrap #ks3_2 />
 +
 +==== Pandora FMS 用の OpenSearch の無人インストール ====
 +
 +This online installer will create an OpenSearch node ready to use with **Pandora FMS** with a basic configuration that includes HTTPS and password authentication. It features [[#ks3_2_1|environment variables for customization]] and is compatible with EL8, EL9, and Ubuntu 22.04 server:
 +
 +このオンラインインストーラは、HTTPS とパスワード認証を含む基本構成で、**Pandora FMS** ですぐに使用できる OpenSearch ノードを作成します。カスタマイズ用の環境変数を備え、EL8、EL9、および Ubuntu 22.04 サーバと互換性があります。
 +
 +<code bash>
 +curl -SsL https://pfms.me/pandorafms-opensearch-el | bash
 +</code>
 +
 +<WRAP center round info 90%>
 +
 +For more information and advanced configuration, go to the topic: "[[:en:documentation:pandorafms:technical_annexes:38_opensearch_installation|OpenSearch installation and configuration]]".
 +
 +</WRAP>
 +
 +<WRAP center round info 90%>
 +
 +詳細情報および高度な設定については、次のトピックを参照してください。「[:ja:documentation:pandorafms:technical_annexes:38_opensearch_installation|OpenSearch のインストールと設定]」
 +
 +</WRAP>
 +
 +<wrap #ks3_2_1 />
 +
 +=== デフォルト環境変数 ===
 +
 +  * ''[ "$CLUSTER_NAME" ]'' by default: ''CLUSTER_NAME='pandora_opensearch' ''.
 +  * ''[ "$OPENSEARCH_PASS" ]'' by default: ''OPENSEARCH_PASS="P4nd0r4!FMS" ''.
 +
 +  * ''[ "$CLUSTER_NAME" ]'' デフォルト値: ''CLUSTER_NAME='pandora_opensearch' ''
 +  * ''[ "$OPENSEARCH_PASS" ]'' デフォルト値: ''OPENSEARCH_PASS="P4nd0r4!FMS" ''
 +
 +<code bash>
 +env CLUSTER_NAME="pandora_opensearch" \
 +OPENSEARCH_PASS="P4nd0r4!FMS" \
 +bash -c "$(curl -SsL https://pfms.me/pandorafms-opensearch-el)"
 +
 +</code>
 +
 +<wrap #ks3_2_2 />
 +
 +=== インストールチェックとデフォルト値を使用した例 ===
 +
 +<code bash>
 +curl -X GET https://< ip_opensearch >:< opensearch_port > -ku '< user >:< pass >'
 +
 +</code>
 +
 +<code bash>
 +curl -X GET https://127.0.0.1:9200 -ku 'admin:P4nd0r4!FMS'
 +</code>
 +
 +See also the [[:en:documentation:pandorafms:technical_annexes:38_opensearch_installation|advanced and specific configuration]] of OpenSearch.
 +
 +OpenSearch の [[:ja:documentation:pandorafms:technical_annexes:38_opensearch_installation|高度な設定と特定の設定]] も参照してください。
 +
 +<wrap #ks4 />
 +
 +===== SIEMインストールの要件 =====
 +
 +To be able to use the Pandora FMS SIEM functionality, the following requirements are needed:
 +
 +Pandora FMS の SIEM 機能を使用するには、以下の要件を満たす必要があります。
 +
 +  - It is necessary to have at least one [[#ks3|OpenSearch database on an extra dedicated instance (server)]].
 +  - It is necessary to have [[:en:documentation:pandorafms:monitoring:09_log_monitoring|log collection]] enabled.
 +  - At a minimum, the OpenSearch server must have 4 //cores//, 8 GB of RAM, and 100 GB of high-speed SSD disk.
 +  - Recommended: For higher performance, deploy a dedicated instance (server) for the SIEM events server.
 +  - Have a license with the SIEM functionality enabled.
 +
 +  - 少なくとも1つの[[#ks3|OpenSearch データベースを専用インスタンス(サーバ)]]上に配置する必要があります。
 +  - [[:ja:documentation:pandorafms:monitoring:09_log_monitoring|ログ収集]]を有効にする必要があります。
 +  - OpenSearch サーバは、最低でも 4コア、8GB の RAM、100GB の高速 SSD ディスクを搭載している必要があります。
 +  - 推奨:パフォーマンスを向上させるには、SIEM イベントサーバ用に専用インスタンス(サーバ)をデプロイします。
 +  - SIEM 機能が有効になっているライセンスが必要です。
 +
 +Once these requirements are met, SIEM events and the SIEM server can be activated [[:en:documentation:pandorafms:cybersecurity:21_siem#ks3|from the console]]:
 +
 +これらの要件が満たされると、SIEM イベントと SIEM サーバを [[:ja:documentation:pandorafms:cybersecurity:21_siem#ks3|コンソールから]]有効化できます。
 +
 +In the menu <wrap :en>Management → Settings → System Settings → SIEM → Activate SIEM</wrap>, fill out the form completely and press <wrap :en>Update</wrap> to save the changes.
 +
 +メニューの <wrap :ja>管理(Management) → セットアップ(Settings) → システム設定(System Settings) → SIEM → SIEM の有効化(Activate SIEM)</wrap> で、フォームに必要事項をすべて入力し、<wrap :ja>更新(Update)</wrap> を押して変更を保存します。
 +
 +This will create the necessary templates in the indicated OpenSearch server for log normalization and SIEM event generation.
 +
 +これにより、指定された OpenSearch サーバに、ログの正規化と SIEM イベントの生成に必要なテンプレートが作成されます。
 +
 +It will also activate this type of monitoring on Pandora FMS servers where ''siemserver'' and ''siemevents'' have been started.
 +
 +また、この設定により、''siemserver'' と ''siemevents'' が起動されている Pandora FMS サーバ上で、このタイプの監視が有効になります。
  
-[[:ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]+[[:ja:documentation:pandorafms:start|Pandora FMS ドキュメント一覧に戻る]]
  
 ===== OBSOLETE ===== ===== OBSOLETE =====
  • ja/documentation/pandorafms/installation/01_installing.1764986339.txt.gz
  • 最終更新: 2025/12/06 01:58
  • by junichi