Mysql Service Manager setup on linux

本文指导如何在Unix系统中安装MySQL Enterprise Service Manager。安装过程包括设置安装目录、配置Tomcat服务器选项、设置仓库(捆绑的MySQL服务器)配置选项等步骤。文章还介绍了安装过程中的一些关键参数,并提醒用户注意安全事项。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

2.2.4. Service Manager Installation on Unix

To install the Service Manager find the file named mysqlmonitor-version -installer.bin (where version indicates the version number, the OS, and the architecture ). Ensure that this file is executable by typing:

shell> chmod +x mysqlmonitor-version

-installer.bin


To install to the default directory (/opt/mysql/enterprise/monitor ) you need to be logged in as root . Installing as an unprivileged user installs to the /home/user_name /mysql/enterprise/monitor/ directory.

What follows describes installation from the command line. You may install the Service Manager graphically by running the installer from within a windows manager. In both cases the steps are identical. You may also install the Service Manager in unattended mode. This is especially useful if you are doing multiple installations. For more information on this topic see Section 2.7, “Unattended Installation” .

  1. Begin installation by typing:

      shell> ./mysqlmonitor-version
    
    -installer.bin
    
    
    
  2. First choose the language for the installation:

    Language Selection
    
    Please select the installation language
    [1] English
    [2] Japanese
    Please choose an option [1] : 
    
  3. Throughout the installation process you will be asked the configuration questions for different options. Default values are shown between square brackets; to use the default press Enter . Otherwise, enter the new value and press Enter :

    First, select the directory where you want MySQL Enterprise Service Manager to be installed. The default is /opt/mysql/enterprise/monitor/ . Make sure that the location you choose has enough space to hold the installation files and the database information that will be created when MySQL Enterprise Service Manager is running.

     
    Please specify the directory where the MySQL Enterprise Service Manager 
     will be installed.
    
    Installation directory [/opt/mysql/enterprise/monitor/]: 
     
  4. Now set the Tomcat Server options. For more details on these parameters, see Section 2.2.1, “Service Manager Installation Common Parameters” .

    ----------------------------------------------------------------------------
    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]: 
    

    You will also be asked if SSL support is required. SSL support allows your agents and monitor to communicate with each other using SSL. Using SSL means that the data exchanged by the agent and MySQL Enterprise Service Manager are secure and can be used to monitor servers securely, or to monitor agents over a public connection.

    You can enable SSL by pressing Y when prompted during installation:

    Is SSL support required?           [y/N]: 
  5. Set the repository (embedded MySQL server) configuration options. For more details on these parameters, see Section 2.2.1, “Service Manager Installation Common Parameters” .

    ----------------------------------------------------------------------------
    
    Repository Configuration
    
    Please specify the following parameters for the bundled MySQL server
    
    
    Repository Username  [service_manager]:
    
    Password :
    
    Re-enter :
    
    Bundled MySQL Database Port [13306]: 
    
    
  6. Before the final installation process, you will provided with the location of the file that contains a copy of all of the settings. Be sure to follow the instructions and store this report in a secure location. There is no password recovery feature.

    ----------------------------------------------------------------------------
      
    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 : 
    
    
  7. You you will now be asked to confirm the installation process.

    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.       
    

    The installation process may take a few minutes to complete. Upon completion you should see:

    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 : 
    
    
  8. Finally, you will be given the opportunity to read a supplied Readme file that is supplied with the installation. The Readme contains important information about how to use and start your MySQL Enterprise Service Manager.

    ----------------------------------------------------------------------------
    
    Setup has finished installing MySQL Enterprise Monitor on your computer.
    
    View Readme File [Y/n]: n
              

    Once the Readme file has been displayed, or if you did not elect to read the file, the installation provides information about how to continue with your installation.

    Info: To access the MySQL Enterprise Monitor please visit the
    following page: http://localhost:18080/Auth.action
    
    Press [Enter] to continue : 
    

The Enterprise Dashboard will not start up automatically if you perform a text mode installation. For more information on starting and stopping MySQL Enterprise Service Manager, see Section 2.2.6, “Starting/Stopping the MySQL Enterprise Monitor Service on Unix and Mac OS X” .

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值