---
title: "Mysql Service Manager setup on linux"
author: "bzhang"
date: "2009-02-10T12:53:31Z"
tags: ["Linux", "MySQL", "OS", "Tomcat", "Unix"]
slug: "mysql-service-manager-setup-on-linux"
draft: false
lastmod: "2009-02-10T12:53:31Z"
id: 326117
url: "https://bzhang.iteye.com/blog/326117"
---

### 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”](http://dev.mysql.com/doc/mysql-monitor/2.0/en/mem-unattended-installation.html "2.7.&nbsp;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”](http://dev.mysql.com/doc/mysql-monitor/2.0/en/mem-server-install-generic.html "2.2.1.&nbsp;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”](http://dev.mysql.com/doc/mysql-monitor/2.0/en/mem-server-install-generic.html "2.2.1.&nbsp;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”](http://dev.mysql.com/doc/mysql-monitor/2.0/en/mem-server-starting-unix-osx.html "2.2.6.&nbsp;Starting/Stopping the MySQL Enterprise Monitor Service on Unix and Mac OS X") .