| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
| ja:documentation:pandorafms:installation:01_installing [2026/04/25 23:13] – [ポート要件] junichi | ja:documentation:pandorafms:installation:01_installing [2026/08/28 23:20] (現在) – [パッケージインストール] junichi |
|---|
| |
| ^Software^Requirements^| | ^Software^Requirements^| |
| ^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]].|| | ^Operating System| ܀ RedHat Enterprise (RHEL) 10 (**recommended**). \\ ܀ Rocky Linux 10 (**recommended**).\\ ܀ Ubuntu Server 22.04 \\ **[[:en:documentation:pandorafms:technical_annexes:offline_installation|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. \\ || |
| /usr/bin/pandora_revent | /usr/bin/pandora_revent |
| /usr/bin/pandora_encrypt_db | /usr/bin/pandora_encrypt_db |
| /usr/bin/braa | |
| /usr/bin/pandorafsnmp | /usr/bin/pandorafsnmp |
| /usr/bin/pandorawmic | /usr/bin/pandorawmic |
| /usr/bin/tentacle_server | /usr/bin/tentacle_server |
| /usr/bin/tentacle_client | /usr/bin/tentacle_client |
| /usr/bin/braa | |
| /usr/bin/pandorafsnmp | /usr/bin/pandorafsnmp |
| /usr/bin/pandorawmic | /usr/bin/pandorawmic |
| |
| ^ソフトウエア ^要件 ^| | ^ソフトウエア ^要件 ^| |
| ^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) 10 (**推奨**) \\ ܀ Rocky Linux 10 (**推奨**) \\ ܀ Ubuntu Server 22.04 \\ **[[:ja:documentation:pandorafms:technical_annexes:offline_installation|オフラインインストール(インターネット接続のないサーバ)]]は 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 権限で実行する必要があります。 || |
| /usr/bin/pandora_revent | /usr/bin/pandora_revent |
| /usr/bin/pandora_encrypt_db | /usr/bin/pandora_encrypt_db |
| /usr/bin/braa | |
| /usr/bin/pandorafsnmp | /usr/bin/pandorafsnmp |
| /usr/bin/pandorawmic | /usr/bin/pandorawmic |
| /usr/bin/tentacle_server | /usr/bin/tentacle_server |
| /usr/bin/tentacle_client | /usr/bin/tentacle_client |
| /usr/bin/braa | |
| /usr/bin/pandorafsnmp | /usr/bin/pandorafsnmp |
| /usr/bin/pandorawmic | /usr/bin/pandorawmic |
| <WRAP center round tip 90%> | <WRAP center round tip 90%> |
| |
| For Pandora FMS (server level) the term **EL9** is used to denote the set of recommended operating systems, which is made up of **Rocky Linux** 9®, **AlmaLinux** 9® and **RedHat** 9®. | For Pandora FMS (server level), term **EL10** is used to denote the set of recommended operating systems, which is made up of **Rocky Linux 10®**, **AlmaLinux 10®** and **RedHat 10®**. |
| |
| </WRAP> | </WRAP> |
| <WRAP center round tip 90%> | <WRAP center round tip 90%> |
| |
| Pandora FMS (サーバ)の場合、**EL9** という用語は、**Rocky Linux** 9™、**AlmaLinux **9®、および **RedHat** 9® の推奨オペレーティングシステムのセットを表すために使用されます。 | Pandora FMS (サーバ)の場合、**EL10** という用語は、**Rocky Linux** 10™、**AlmaLinux **10®、および **RedHat** 10® の推奨オペレーティングシステムのセットを表すために使用されます。 |
| </WRAP> | </WRAP> |
| | |
| | <wrap #ks1_4 /> |
| |
| ==== データベース要件 ==== | ==== データベース要件 ==== |
| * **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 install, if **80** is defined MySQL 8 will be installed. By default ''MYVER=80'' (deploys MySQL 8.0). | * **MYVER**: Specify the version of MySQL to install; if 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 specified, PHP 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. |
| * **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'' です。 |
| * **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 を定義します。 デフォルトでは、最新のバージョンが定義されています。 |
| * **PANDORA_LTS**: 主な不具合修正をした安定版である長期サポート版(LTS)をインストールします。デフォルトでは有効(''PANDORA_LTS=1'') です。ゼロに設定すると、最新の通常版である機能リリース(**FR**)版をインストールします。 | * **PANDORA_LTS**: 主な不具合修正をした安定版である長期サポート版(LTS)をインストールします。デフォルトでは有効(''PANDORA_LTS=1'') です。ゼロに設定すると、最新の通常版である機能リリース(**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: | To use these environment variables, it is enough to define them before executing the installation script, **for example**, in an installation in **EL 10** with defined variables, execute the block: |
| |
| これらの環境変数の使用は、インストールスクリプトを実行する前にそれらを定義するだけです。たとえば、変数を定義しての **EL 9** でインストールでは次のように実行します。 | これらの環境変数の使用は、インストールスクリプトを実行する前にそれらを定義するだけです。たとえば、変数を定義しての **EL 10** でインストールでは次のように実行します。 |
| |
| <code bash> | <code bash> |
| | URL="https://marketplace.pandorafms.com/pandorafms/latest/" |
| | PACKET="pandorafms_one_agent_linux_bin-latest.el10.x86_64.rpm" |
| env TZ='Europe/Madrid' \ | env TZ='Europe/Madrid' \ |
| DBHOST='127.0.0.1' \ | DBHOST='127.0.0.1' \ |
| DBPORT='3306' \ | DBPORT='3306' \ |
| DBROOTPASS='Pandor4!' \ | DBROOTPASS='Pandor4!' \ |
| MYVER=80 \ | MYVER=84 \ |
| PHPVER=8 \ | PHPVER=84 \ |
| SKIP_PRECHECK=0 \ | SKIP_PRECHECK=0 \ |
| SKIP_DATABASE_INSTALL=0 \ | SKIP_DATABASE_INSTALL=0 \ |
| SKIP_KERNEL_OPTIMIZATIONS=0 \ | SKIP_KERNEL_OPTIMIZATIONS=0 \ |
| PANDORA_AGENT_PACKAGE="https://firefly.pandorafms.com/pandorafms/latest/pandorafms_one_agent_linux_bin-latest.el9.x86_64.rpm" \ | PANDORA_AGENT_PACKAGE=$URL$PACKAGE \ |
| PANDORA_BETA=0 \ | PANDORA_BETA=0 \ |
| PANDORA_LTS=1 \ | PANDORA_LTS=1 \ |
| |
| * **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 remote, and 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 only. By default ''SKIP_KERNEL_OPTIMIZATIONS=0''. |
| * **POOL_SIZE**: It specifies a 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'' です。 |
| 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 \ |
| PANDORA_BETA=0 \ | PANDORA_BETA=0 \ |
| PANDORA_LTS=1 \ | PANDORA_LTS=1 \ |
| bash -c "$(curl -SsL <your_link_for_trial>)" | bash -c " |
| </code> | </code> |
| |
| 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**). |
| == Linux 用 == | == Linux 用 == |
| |
| **Requirements for the use of the online installation tool.** | EndPoint installer for Linux. Always installs from a tarball (never from an RPM), validates the downloaded tarball is a real Pandora FMS EndPoint and configures the agent to report to a Pandora FMS Server. |
| |
| **オンラインインストールツール利用の必要条件** | Linux 用エンドポイントインストーラー。常に tarball からインストールを行い(RPM は使用しません)、ダウンロードした tarball が正規の Pandora FMS エンドポイントであることを検証した上で、Pandora FMS サーバへ報告を行うようにエージェントを設定します。 |
| |
| * Internet access. | * **Script**: ''../pandora_agent_deploy.sh'' |
| * Have **curl** installed (comes by default in most distributions) | * **Scope**: Pulls from ''packages.pandorafms.com''. |
| * Be an administrator user **root**. | * **Supported OS**: RHEL/Fedora (EL7/8/9/10), SUSE/OpenSUSE, Debian/Ubuntu. |
| * To have a compatible OS. | * **Supported arch**: ''x86_64'' (binary agents). ''x86'', ''armv7l'', ''aarch64'' auto-switch to ''PERL_SOURCES'' (source build). Other archs abort. |
| |
| * インターネットアクセス | * **スクリプト**: ''../pandora_agent_deploy.sh'' |
| * **curl** がインストールされていること(ほとんどのディストリビューションでデフォルトで提供されます) | * **取得元**: ''packages.pandorafms.com'' から取得します。 |
| * 管理者ユーザ **root** 権限 | * **対応OS**: RHEL/Fedora (EL7/8/9/10)、SUSE/OpenSUSE、Debian/Ubuntu。 |
| * 対応 OS であること | * **対応アーキテクチャ**: ''x86_64'' はバイナリ形式のエージェントを使用します。''x86''、''armv7l''、''aarch64'' は自動的に `PERL_SOURCES`(ソースビルド)に切り替わります。その他のアーキテクチャでは処理が中断されます。 |
| |
| スクリプトは、インストールをカスタマイズするための一連の環境変数をサポートしており、そのうちの '''$PANDORA_SERVER_IP''' の 1つだけが必須です。そのため、標準のインストールを 1行で実行するには次のコマンドを実行します。 | * **Quick start**: |
| |
| <code bash> | * **クイックスタート**: |
| export PANDORA_SERVER_IP=<PandoraServer_IP_or_FQDN> && curl -Ls https://pfms.me/agent-deploy | bash | |
| </code> | |
| |
| <WRAP center round info 90%> | Minimal install (GO agent, stable channel): |
| |
| These environment variables are used only in the installation process, they can be destroyed or changed after the installation without altering the behavior of the Pandora FMS EndPoint. | 最小構成のインストール (GO エージェント、安定版チャネル): |
| |
| </WRAP> | <code bash> |
| | export PANDORA_SERVER_IP='10.0.0.1' |
| | curl -sSL https://pfms.me/agent-deploy | bash |
| | </code> |
| |
| <WRAP center round info 90%> | Fully automated (no prompts): |
| | |
| この環境変数は、インストールプロセスにのみ使用されます。Pandora FMS エンドポイントの動作には影響なく、インストール後に破棄または変更できます。 | |
| | |
| </WRAP> | |
| | |
| オプションで利用できるその他の環境変数は次の通りです。 | |
| | |
| * ''$PANDORA_REMOTE_CONFIG'': Enable remote configuration from the Web Console. Zero ( ''0'' ) by default, disabled. | |
| * ''$PANDORA_AGENT_NAME'': Sets the name of the agent. Autogenerated by default. | |
| * ''$PANDORA_AGENT_ALIAS'': Configures the alias of the EndPoint. By default the hostname. | |
| * ''$PANDORA_GROUP'': Sets the group of EndPoint. By default ''Servers''. | |
| * ''$PANDORA_SECONDARY_GROUPS'': Configures the secondary groups of the EndPoint. empty by default | |
| * ''$PANDORA_DEBUG'': Configure the debug setting. Zero ( ''0'' ) by default, disabled. | |
| * ''$TIMEZONE'' : Sets the system time zone. | |
| * ''$PANDORA_AGENT_SSL'': Allows you to configure encrypted communications between the EndPoint and the corresponding PFMS server. By default not enabled (''no''), to enable it use ''yes'' (this will also install software dependencies to encrypt such communications). Use single quotes to delimit the value: | |
| |
| * **$PANDORA_REMOTE_CONFIG**: リモート設定の指定です。''0'' (無効)がデフォルトです。 | 完全自動(プロンプトなし): |
| * **$PANDORA_AGENT_NAME**: エージェント名の設定です。自動生成がデフォルトです。 | |
| * **$PANDORA_AGENT_ALIAS**: エンドポイントの別名設定です。ホスト名がデフォルトです。 | |
| * **$PANDORA_GROUP**: エンドポイントのグループの設定です。''Servers'' がデフォルトです。 | |
| * **$PANDORA_SECONDARY_GROUPS**: エンドポイントのセカンダリグループの設定です。空がデフォルトです。 | |
| * **$PANDORA_DEBUG**: デバッグ設定です。''0'' (無効)がデフォルトです。 | |
| * **$TIMEZONE** : システムのタイムゾーンの設定です。 | |
| * **$PANDORA_AGENT_SSL**: これにより、エンドポイントと対応する Pandora FMS サーバ間の通信を暗号化するように設定できます。 デフォルトでは無効 (''no'') です。有効にするには ''yes'' を設定します (これにより、通信を暗号化するための依存ソフトウエアもインストールされます)。 シングルクォートを使用して値を区切ります。以下の例を参照してください。 | |
| |
| <code bash> | <code bash> |
| env \ | export PANDORA_SERVER_IP='10.0.0.1' \ |
| PANDORA_SERVER_IP='192.168.10.245' \ | PANDORA_AGENT_PACKAGE=GO \ |
| PANDORA_REMOTE_CONFIG=1 \ | PANDORA_AGENT_RELEASE=STABLE \ |
| PANDORA_AGENT_NAME='pandora_agent_name' \ | PANDORA_SKIP_CONFIRMATION=1 |
| PANDORA_AGENT_ALIAS='pandora_AGENT_ALIAS' \ | curl -sSL https://pfms.me/agent-deploy | bash |
| PANDORA_GROUP='Servers' \ | |
| PANDORA_SECONDARY_GROUPS='VMware,Web' \ | |
| PANDORA_AGENT_SSL='yes' \ | |
| bash -c "$(curl -Ls https://pfms.me/agent-deploy)" | |
| </code> | </code> |
| |
| <WRAP center round info 90%> | <WRAP center round tip 90%> |
| |
| Keep in mind that in order to encrypt communications through the Tentacle protocol between the EndPoints and their respective PFMS servers, it will be necessary to previously have SSL certificates and keys. Visit the section "[[:en:documentation:pandorafms:technical_reference:09_tentacle#ks6|Communication encryption]]" in the Tentacle protocol technical reference. | See full details at "[[:en:documentation:pandorafms:technical_annexes:pandora_fms_endpoint_deploy_script|Pandora FMS EndPoint Deploy Script]]". |
| |
| </WRAP> | </WRAP> |
| |
| <WRAP center round info 90%> | <WRAP center round tip 90%> |
| |
| エンドポイントと対応する Pandora FMS サーバ間の Tentacle プロトコルを介した通信を暗号化するには、SSL 証明書と鍵が必要であることに注意してください。 Tentacle プロトコルテクニカルリファレンスの「[[:ja:documentation:pandorafms:technical_reference:09_tentacle#通信の暗号化|通信の暗号化]]」の章も参照してください。 | 詳細については、「[[:ja:documentation:pandorafms:technical_annexes:pandora_fms_endpoint_deploy_script|Pandora FMS エンドポイントデプロイスクリプト]]」を参照してください。 |
| |
| </WRAP> | </WRAP> |
| |
| <code powershell> | <code powershell> |
| Invoke-WebRequest -Uri https://firefly.pandorafms.com/pandorafms/LTS/PandoraFMS_One_Agent_Windows-lts.x86_64.exe -OutFile ${env:tmp}\pandora-agent-windows.exe; & ${env:tmp}\pandora-agent-windows.exe /S --ip [PANDORASERVER IP or NAME] --group [GROUPNAME] --remote_config 1 | Invoke-WebRequest -Uri https://marketplace.pandorafms.com/pandorafms/LTS/PandoraFMS_One_Agent_Windows-lts.x86_64.exe -OutFile ${env:tmp}\pandora-agent-windows.exe; & ${env:tmp}\pandora-agent-windows.exe /S --ip [PANDORASERVER IP or NAME] --group [GROUPNAME] --remote_config 1 |
| </code> | </code> |
| |
| </code> | </code> |
| |
| <wrap #ks1_8 /> | <wrap #ks1_7_4 /> |
| |
| ==== パッケージインストール ==== | === ヒストリ用外部データベースインストール === |
| |
| <WRAP center round info 90%> | 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]]**. |
| |
| This section is referential as it saves time and effort [[#ks1_9|when using the online installation tool]]. **It is strongly recommended to use this option to install the PFMS server**. | オンラインインストールスクリプトを使用して外部データベースをインストールするプロセスは、アプリケーションのインストールとデータベースのインストールを異なるマシンに分散させたい環境、または**[[:ja:documentation:pandorafms:complex_environments_and_optimization:09_pandorafms_engineering#ks1_5|ヒストリデータベース]]**の展開に推奨されます。 |
| |
| </WRAP> | 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]]. |
| |
| <WRAP center round info 90%> | このインストールスクリプトは、推奨パラメータと[[:ja:documentation:pandorafms:management_and_operation:12_console_setup#ks1_4|確立された構成]]を使用して Pandora FMS に接続する準備ができたデータベースを作成します。 |
| |
| この章は、[[#オンラインインストールツール|オンラインインストールツール]]を利用する際の理解を助けるためのリファレンスです。**Pandora FMS サーバをインストールするにはこのオプションを利用することを強くお勧めします。** | **Supported operating systems** |
| |
| </WRAP> | **対応OS** |
| |
| | * **EL9**: Rocky Linux 9.x or RedHat Enterprise Linux 9.x . |
| | * **Ubuntu**: 22.04 . |
| |
| * ** [[:en:documentation:pandorafms:technical_annexes:30_pfms_install_latest_ubuntu_server|Pandora FMS installation guide on Ubuntu server]]**. | * **EL9**: Rocky Linux 9.x または Red Hat Enterprise Linux 9.x |
| * ** [[:en:documentation:pandorafms:technical_annexes:31_pfms_install_latest_rocky_linux|Pandora FMS installation guide on Rocky Linux]]**. | * **Ubuntu**: 22.04 |
| * [[:en:documentation:pandorafms:technical_annexes:42_pfms_open_install_ubuntu|Pandora FMS Open Source installation on Ubuntu server]]. | |
| * [[:en:documentation:pandorafms:technical_annexes:40_pfms_open_install_rocky_linux|Pandora FMS Open Source installation on Rocky Linux]]. | |
| |
| * **[[:ja:documentation:pandorafms:technical_annexes:30_pfms_install_latest_ubuntu_server|Ubuntu server への Pandora FMS インストールガイド]]** | **Steps to follow for the installation** |
| * **[[:ja:documentation:pandorafms:technical_annexes:31_pfms_install_latest_rocky_linux|Rocky Linux への Pandora FMS インストールガイド]]** | |
| * [[:ja:documentation:pandorafms:technical_annexes:42_pfms_open_install_ubuntu|Ubuntu への Pandora FMS オープンソース版のインストール]] | **インストール手順** |
| * [[:ja:documentation:pandorafms:technical_annexes:40_pfms_open_install_rocky_linux|Rockey Linux への Pandora FMS オープンソース版のインストール]] | |
| | 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> |
| | |
| | <wrap #ks1_8 /> |
| |
| <wrap #ks1_9 /> | <wrap #ks1_9 /> |