差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| ja:documentation:pandorafms:technical_annexes:19_mysql_8 [2024/12/28 07:38] – [前提条件] junichi | ja:documentation:pandorafms:technical_annexes:19_mysql_8 [2025/07/21 07:28] (現在) – [Rocky Linux 8/AlmaLinux 8/RHEL 8] junichi | ||
|---|---|---|---|
| 行 45: | 行 45: | ||
| ===== Rocky Linux 8/AlmaLinux 8/RHEL 8 ===== | ===== Rocky Linux 8/AlmaLinux 8/RHEL 8 ===== | ||
| - | * Stop the PFMS server and the PFMS Software Agent: | + | * Stop the PFMS server and the PFMS EndPoint: |
| - | * Pandora FMS サーバおよび Pandora FMS ソフトウエアエージェントを停止します。 | + | * Pandora FMS サーバおよび Pandora FMS エンドポイントを停止します。 |
| <code bash> | <code bash> | ||
| - | / | + | systemctl |
| - | / | + | systemctl |
| </ | </ | ||
| 行 244: | 行 244: | ||
| </ | </ | ||
| - | * Start the PFMS server and the PFMS Software Agent: | + | * The necessary permissions (// |
| - | * Pandora FMS サーバおよび Pandora FMS ソフトウエアエージェントを起動します。 | + | * 必要な権限 (// |
| <code bash> | <code bash> | ||
| - | / | + | mysql -uroot -p < password > |
| - | / | + | |
| </ | </ | ||
| - | * Start the Apache web server: | + | * **Once logged in as root execute |
| + | * Deactivate the password validation plugin (**optional**). | ||
| - | * Apache web サーバを起動します。 | + | * **root としてログインしたら、次のコマンドを実行します**: |
| + | * パスワード検証プラグインを無効にします (**オプション**)。 | ||
| + | |||
| + | <code sql> | ||
| + | UNINSTALL COMPONENT ' | ||
| + | |||
| + | </ | ||
| + | |||
| + | * Create the login user **if it does not exist**: | ||
| + | |||
| + | * **ログインユーザが存在しない場合は** 作成します。 | ||
| + | |||
| + | <code sql> | ||
| + | CREATE USER "< | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round tip 90%> | ||
| + | |||
| + | If you want to restrict the IP address of connection to the database, you must change the '' | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round tip 90%> | ||
| + | |||
| + | データベースへの接続の IP アドレスを制限する場合は、'' | ||
| + | |||
| + | </ | ||
| + | |||
| + | * Assign the native password for '' | ||
| + | |||
| + | * '' | ||
| + | |||
| + | <code sql> | ||
| + | ALTER USER "< | ||
| + | |||
| + | </ | ||
| + | |||
| + | * Grant grants on Pandora FMS database ('' | ||
| + | |||
| + | * Pandora FMS データベース ('' | ||
| + | |||
| + | <code sql> | ||
| + | GRANT ALL PRIVILEGES ON pandora.* TO "< | ||
| + | |||
| + | </ | ||
| + | |||
| + | * Save changes and exit: | ||
| + | |||
| + | * 変更を保存して終了します。 | ||
| + | |||
| + | <code sql> | ||
| + | flush privileges; | ||
| + | exit | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round info 90%> | ||
| + | |||
| + | To change the authentication type in MySQL 8 refer to the topic «[[: | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round info 90%> | ||
| + | |||
| + | MySQL 8 で認証タイプを変更するには、トピック「[[: | ||
| + | |||
| + | </ | ||
| + | |||
| + | Once you have finished working with the database, perform the following steps: | ||
| + | |||
| + | データベースでの作業が完了したら、次の手順を実行します。 | ||
| + | |||
| + | * Start the PFMS server and the PFMS EndPoint: | ||
| + | |||
| + | * Pandora FMS サーバおよび Pandora FMS エンドポイントを起動します。 | ||
| <code bash> | <code bash> | ||
| - | systemctl start httpd.service | + | systemctl start pandora_server |
| + | systemctl start pandora_agent_daemon | ||
| </ | </ | ||
| - | Either: | + | * Start the Apache web server: |
| - | または、 | + | * Apache web サーバを起動します。 |
| <code bash> | <code bash> | ||
| - | / | + | systemctl |
| </ | </ | ||
| [[ja: | [[ja: | ||
| - | |||
| ===== (OBSOLETE) CentOS 7 ===== | ===== (OBSOLETE) CentOS 7 ===== | ||