ja:documentation:pandorafms:technical_annexes:19_mysql_8

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:technical_annexes:19_mysql_8 [2024/12/28 07:37] – [Rocky Linux 8/AlmaLinux 8/RHEL 8] junichija:documentation:pandorafms:technical_annexes:19_mysql_8 [2025/02/20 06:50] (現在) – [Rocky Linux 8/AlmaLinux 8/RHEL 8] junichi
行 41: 行 41:
   * データバックアップ手順を実行します。詳細は、[[:ja:documentation:07_technical_annexes:07_backup_and_restore_procedures|バックアップおよびリストア手順]] を参照してください。   * データバックアップ手順を実行します。詳細は、[[:ja:documentation:07_technical_annexes:07_backup_and_restore_procedures|バックアップおよびリストア手順]] を参照してください。
  
 +<wrap #ks2 />
  
 ===== Rocky Linux 8/AlmaLinux 8/RHEL 8 ===== ===== Rocky Linux 8/AlmaLinux 8/RHEL 8 =====
行 49: 行 50:
  
 <code bash> <code bash>
-/etc/init.d/pandora_server stop +systemctl stop pandora_server 
-/etc/init.d/pandora_agent_daemon stop+systemctl stop pandora_agent_daemon
  
 </code> </code>
行 243: 行 244:
 </code> </code>
  
-  * Start the PFMS server and the PFMS Software Agent:+  * The necessary permissions (//grants//) must be added again; //if you are not logged in// to ''mysql'' as user **root** (replace ''<\_password\_>'' with the corresponding password) run:
  
-  * Pandora FMS サバおよび Pandora FMS ソフトウエアエージェ起動します。+  * 必要な権限 (//grants//) を再度追加する必要があります。ユザ **root** として ''mysql'' にログイしていない場合は (''<\_password\_>'' を対応するパスワードに置き換えます)、次実行します。
  
 <code bash> <code bash>
-/etc/init.d/pandora_server start +mysql -uroot -p < password >
-/etc/init.d/pandora_agent_daemon start+
  
 </code> </code>
  
-  * Start the Apache web server:+  * **Once logged in as root execute the following commands**: 
 +  * Deactivate the password validation plugin (**optional**).
  
-  * Apache web サーバを起動します。+  * **root としてログインしたら、次のコマンドを実行します**: 
 +  * パスワード検証プラグインを無効にします (**オプション**)。 
 + 
 +<code sql> 
 +UNINSTALL COMPONENT 'file://component_validate_password'; 
 + 
 +</code> 
 + 
 +  * Create the login user **if it does not exist**: 
 + 
 +  * **ログインユーザが存在しない場合は** 作成します。 
 + 
 +<code sql> 
 +CREATE USER "<DBUSER>"@'%' IDENTIFIED BY "<DBPASS>"; 
 + 
 +</code> 
 + 
 +<WRAP center round tip 90%> 
 + 
 +If you want to restrict the IP address of connection to the database, you must change the ''%'' to the IP address of the connection source. 
 + 
 +</WRAP> 
 + 
 +<WRAP center round tip 90%> 
 + 
 +データベースへの接続の IP アドレスを制限する場合は、''%'' を接続元の IP アドレスに変更する必要があります。 
 + 
 +</WRAP> 
 + 
 +  * Assign the native password for ''mysql'': 
 + 
 +  * ''mysql'' のネイティブ パスワードを割り当てます。 
 + 
 +<code sql> 
 +ALTER USER "<DBUSER>"@'%' IDENTIFIED WITH mysql_native_password BY "<DBPASS>"; 
 + 
 +</code> 
 + 
 +  * Grant grants on Pandora FMS database (''pandora''): 
 + 
 +  * Pandora FMS データベース (''pandora'') に対する権限を付与します。 
 + 
 +<code sql> 
 +GRANT ALL PRIVILEGES ON pandora.* TO "<DBUSER>"@'%'; 
 + 
 +</code> 
 + 
 +  * Save changes and exit: 
 + 
 +  * 変更を保存して終了します。 
 + 
 +<code sql> 
 +flush privileges; 
 +exit 
 + 
 +</code> 
 + 
 +<WRAP center round info 90%> 
 + 
 +To change the authentication type in MySQL 8 refer to the topic «[[:en:documentation:pandorafms:technical_annexes:46_mysql_sha|Configuring SHA authentication method in MySQL]]». 
 + 
 +</WRAP> 
 + 
 +<WRAP center round info 90%> 
 + 
 +MySQL 8 で認証タイプを変更するには、トピック「[[:ja:documentation:pandorafms:technical_annexes:46_mysql_sha|MySQL での SHA 認証方法の設定]]」を参照してください。 
 + 
 +</WRAP> 
 + 
 +Once you have finished working with the database, perform the following steps: 
 + 
 +データベースでの作業が完了したら、次の手順を実行します。 
 + 
 +  * Start the PFMS server and the PFMS Software Agent: 
 + 
 +  * Pandora FMS サーバおよび Pandora FMS ソフトウエアエージェントを起動します。
  
 <code bash> <code bash>
-systemctl start httpd.service+systemctl start pandora_server 
 +systemctl start pandora_agent_daemon
  
 </code> </code>
  
-Either:+  * Start the Apache web server:
  
-たは、+  * Apache web サーバを起動しす。
  
 <code bash> <code bash>
-/etc/init.d/httpd start+systemctl start httpd.service
  
 </code> </code>
  
 [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]
- 
  
 ===== (OBSOLETE) CentOS 7 ===== ===== (OBSOLETE) CentOS 7 =====
  • ja/documentation/pandorafms/technical_annexes/19_mysql_8.1735371469.txt.gz
  • 最終更新: 2024/12/28 07:37
  • by junichi