Moogsoft Docs

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-7.2.0 \
        moogsoft-common-7.2.0 \
        moogsoft-integrations-7.2.0 \
        moogsoft-integrations-ui-7.2.0 \
        moogsoft-mooms-7.2.0 \
        moogsoft-search-7.2.0 \
        moogsoft-server-7.2.0 \
        moogsoft-ui-7.2.0 \
        moogsoft-utils-7.2.0
  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/moog_init.sh -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

Verify your installation following the steps in Post Install Validation.

Follow the Troubleshooting guide to resolve any issues.