ja:documentation:pandorafms:installation:01_installing

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:installation:01_installing [2026/04/25 23:23] – [Ubuntu Server 向けのカスタムパラメータ] junichija:documentation:pandorafms:installation:01_installing [2026/08/28 23:20] (現在) – [パッケージインストール] junichi
行 92: 行 92:
  
 ^Software^Requirements^| ^Software^Requirements^|
-^Operating System| ܀ RedHat Enterprise (RHEL) (**recommended**). \\ ܀ Rocky Linux (**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. \\ ||
行 110: 行 110:
 /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
行 135: 行 134:
 /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
行 145: 行 143:
  
 ^ソフトウエア  ^要件  ^| ^ソフトウエア  ^要件  ^|
-^OS| ܀  RedHat Enterprise (RHEL) (**推奨**) \\ ܀ Rocky Linux (**推奨**) \\ ܀ 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 権限で実行する必要があります。  ||
行 162: 行 160:
 /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
行 185: 行 182:
 /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
行 195: 行 191:
 <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** , **AlmaLinux** 9® and **RedHat** .+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>
行 201: 行 197:
 <WRAP center round tip 90%> <WRAP center round tip 90%>
  
-Pandora FMS (サーバ)の場合、**EL9** という用語は、**Rocky Linux** 9™、**AlmaLinux **、および **RedHat** 9® の推奨オペレーティングシステムのセットを表すために使用されます。+Pandora FMS (サーバ)の場合、**EL10** という用語は、**Rocky Linux** 10™、**AlmaLinux **10®、および **RedHat** 10® の推奨オペレーティングシステムのセットを表すために使用されます。 
 </WRAP> </WRAP>
 +
 +<wrap #ks1_4 />
  
 ==== データベース要件 ==== ==== データベース要件 ====
行 427: 行 426:
   * **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' \
行 444: 行 445:
  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 \
行 594: 行 595:
 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**).
行 677: 行 678:
 == 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' 
-<WRAP center round info 90%> +curl -sSL https://pfms.me/agent-deploy | bash 
- +</code>
-この環境変数は、インストールプロセスにのみ使用されます。Pandora FMS エンドポイントの動作には影響なく、インストール後に破棄または変更できます。 +
- +
-</WRAP>+
  
-オプションで利用できるその他の環境変数は次の通りです。+Fully automated (no prompts):
  
-  * ''$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=+       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>
行 772: 行 748:
  
 <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>
  
行 783: 行 759:
 </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 />
  • ja/documentation/pandorafms/installation/01_installing.1777159420.txt.gz
  • 最終更新: 2026/04/25 23:23
  • by junichi