Service Manager
        をインストールするには、mysqlmonitor-(version-installer.binversion
        はバージョン番号、OS、アーキテクチャを示します)という名前のファイルを探します。次のコマンドを入力して、このファイルが実行可能であることを確認します。
      
shell> chmod +x mysqlmonitor-version-installer.bin
        デフォルトディレクトリ(/opt/mysql/enterprise/monitor)にインストールするには、root
        としてログインする必要があります。権限のないユーザがインストールを行うと、/home/
        というディレクトリにインストールすることになります。.
      user_name/mysql/enterprise/monitor/
        次に、コマンドラインからインストールする方法について説明します。Windows
        Manager
        内からインストーラを実行することで、Service
        Manager
        をグラフィカルにインストールできます。いずれの場合も手順は同じです。また、Service
        Manager を unattended
        モードでインストールすることもできます。これは特に、複数のインストールを実行する場合に便利です。詳細については、項2.7. 「無人インストール」を参照してください。
      
次のコマンドを入力して、インストールを開始します。
  shell> ./mysqlmonitor-version-installer.bin
最初に、インストールの言語を選択します。
Language Selection Please select the installation language [1] English [2] Japanese Please choose an option [1] :
インストールプロセス中は、さまざまなオプションを設定します。デフォルト値は角括弧内に表示されます。デフォルト値を使用するには、「Enter」をクリックします。デフォルト値を使用しない場合、新しい値を入力して「Enter」をクリックします。
            インストールを開始したら、最初に
            MySQL Enterprise Service Manager
            をインストールするディレクトリを選択します。デフォルトは
            /opt/mysql/enterprise/monitor/
            です。選択する場所に、インストールファイルおよび
            MySQL Enterprise Service Manager
            の実行中に作成されるデータベース情報を保存するだけの十分な容量があることを確認してください。
          
Please specify the directory where the MySQL Enterprise Service Manager will be installed. Installation directory [/opt/mysql/enterprise/monitor/]:
次に、Tomcat Server オプションを設定します。これらのパラメータの詳細については、項2.2.1. 「Service Manager のインストールの共通パラメータ」を参照してください。
---------------------------------------------------------------------------- Tomcat Server Options Please specify the following parameters for the bundled Tomcat Server Tomcat Server Port [18080]: Tomcat Shutdown Port [18005]: Tomcat SSL Port [18443]:
SSL サポートが必要かどうかも指定します。SSL サポートを使用すると、エージェントおよびモニターが SSL を使用して相互に通信できます。また、SSL を使用すると、エージェントおよび MySQL Enterprise Service Manager で交換されるデータのセキュリティが確保され、また、このデータを使用して、サーバを安全に監視したり、パブリックな接続を介してエージェントを監視したりできます。
インストール中にプロンプトが表示されたら、「Y」をクリックして SSL を有効にします。
Is SSL support required? [y/N]:
リポジトリ(組み込み MySQL サーバ)設定オプションを設定します。これらのパラメータの詳細については、項2.2.1. 「Service Manager のインストールの共通パラメータ」を参照してください。
---------------------------------------------------------------------------- Repository Configuration Please specify the following parameters for the bundled MySQL server Repository Username [service_manager]: Password : Re-enter : Bundled MySQL Database Port [13306]:
最後のインストールプロセスの前に、すべての設定のコピーを含むファイルの位置が提供されます。説明に従い、このレポートを安全な場所に保管しておいてください。パスワード回復機能はありません。
---------------------------------------------------------------------------- Configuration Report Note: The settings you specified will be saved here: /opt/mysql/enterprise/monitor/configuration_report.txt IMPORTANT: This configuration report includes passwords stored in plain text; it is intended to help you install and configure your agents. We strongly advise you to secure or delete this text file immediately after installation. Press [Enter] to continue :
インストールプロセスを確認するよう要求されます。
Setup is now ready to begin installing MySQL Enterprise Monitor 
 on your computer. 
Do you want to continue? [Y/n]: Y
        
Please wait while Setup installs MySQL Enterprise Monitor 
 on your computer.       
インストールプロセスには、数分かかる場合があります。完了すると、次のメッセージが表示されます。
Completed installing files Setup has completed installing MySQL Enterprise files on your computer Uninstalling the MySQL Enterprise files can be done by invoking: /opt/mysql/enterprise/monitor/uninstall To complete the installation, launch the MySQL Enterprise Dashboard and complete the initial setup and product activation information. Refer to the readme file for additional information and a list of known issues. Press [Enter] to continue :
            最後に、インストールに提供される
            Readme
            ファイルを参照できます。Readme
            ファイルには、MySQL Enterprise Service Manager
            を使用および開始するための重要な情報が含まれています。
          
----------------------------------------------------------------------------
Setup has finished installing MySQL Enterprise Monitor on your computer.
View Readme File [Y/n]: n
          
            Readme
            ファイルが表示されたら、またはファイル表示を選択しなかった場合、インストールを続けるための情報が表示されます。
          
Info: To access the MySQL Enterprise Monitor please visit the following page: http://localhost:18080/merlin/Auth.action Press [Enter] to continue :
        text
        モードインストールを実行する場合、Enterprise
        Dashboard は自動的には起動しません。MySQL Enterprise Service Manager
        の起動および停止の詳細については、項2.2.6. 「MySQL Enterprise Monitor サービスの起動/停止: UNIX および Mac OS X」を参照してください。
      
マシンの再起動時に、Service Manager は自動的には起動しません。詳細については、Bug#31676 を参照してください。

