Install Moogsoft AIOps on a Single Host with RPM

This topic guides you through the installation process for Moogsoft AIOps using RPM via Yum.

Before You Begin

Before you install Moogsoft AIOps, ensure you have met the following requirements:

Install Moogsoft AIOps

To install Moogsoft AIOps on a single host machine:

  1. Download the RPMs and install them:

    yum -y install moogsoft-db- \
        moogsoft-common- \
        moogsoft-integrations- \
        moogsoft-integrations-ui- \
        moogsoft-mooms- \
        moogsoft-search- \
        moogsoft-server- \
        moogsoft-ui- \
  2. Set the environment variables required for Moogsoft AIOps. If you are using the default Bash shell, you can set the variables in the bashrc file:

    vi ~/.bashrc 

    Add the following by copying and pasting each line, one at a time:

    export MOOGSOFT_HOME=/usr/share/moogsoft
    export JAVA_HOME=/usr/java/latest
    export APPSERVER_HOME=/usr/share/apache-tomcat
    export PATH=$PATH:$MOOGSOFT_HOME/bin:$MOOGSOFT_HOME/bin/utils
  3. Start a new Bash shell or source the bashrc file as follows:

    source ~/.bashrc
  4. Initialize the installation:

    $MOOGSOFT_HOME/bin/utils/ -I MY_ZONE -u root

    The default password for MySQL is empty, so press <Enter> when prompted for the MySQL root password. If you created a separate user in the database for Moogsoft AIOps, use the credentials for that user.

    Follow the instructions and confirm prompts about the hostname and ports.

  5. Start Moogfarmd:

    service moogfarmd start
  6. Change the default passwords for users created during the installation process. See Change passwords for default users for instructions.

Verify your installation following the steps in Post Install Validation.

Follow the Troubleshooting guide to resolve any issues.