Page tree
Skip to end of metadata
Go to start of metadata

This topic guides you through the steps to prep a host for an RPM installation of Moogsoft AIOps. You don't need to do these steps if you are not using the RPM installation.

Before You Begin

Before you begin your installation, verify the following:

Install Prerequisites for Moogsoft AIOps

Install the prerequisites for Moogsoft AIOps as follows:

  1. Install the Extra Packages for Enterprise Linux: EPEL yum repository. For example:

    yum -y install
  2. Verify the creation of file /etc/yum.repos.d/epel.repo .
  3. Install the "el7" MySQL Community yum repository: For example:

    yum -y install

    Verify the creation of file /etc/yum.repos.d/mysql-community.repo.

  4. Install the RabbitMQ erlang el7 package. For example:

    yum -y install

    Alternatively you can find the file at

  5. Install the RabbitMQ yum repository: For example:

    curl -s | sudo bash
  6. Verify the creation of file /etc/yum.repos.d/rabbitmq_rabbitmq-server.repo.

  7. Install the Elasticsearch public key. For example:

    rpm --import
  8. Create the Elasticsearch yum repository: /etc/yum.repos.d/elasticsearch.repo with the following contents:

    name=Elasticsearch repository for 5.x packages

  9. Create a bash script named with the following contents:

    echo '[nginx]' > /etc/yum.repos.d/nginx.repo
    echo 'name=nginx repo' >> /etc/yum.repos.d/nginx.repo
    echo 'baseurl=$basearch/' >> /etc/yum.repos.d/nginx.repo
    echo 'gpgcheck=0' >> /etc/yum.repos.d/nginx.repo
    echo 'enabled=1' >> /etc/yum.repos.d/nginx.repo
    OS_VERSION=$(cat /etc/system-release)
    case "$OS_VERSION" in
    	CentOS*release\ 7* )
    			sed -i -e 's/OS/centos/' -e 's/OSRELEASE/7/' /etc/yum.repos.d/nginx.repo;;
    	Red\ Hat*release\ 7* )
    			sed -i -e 's/OS/rhel/' -e 's/OSRELEASE/7/' /etc/yum.repos.d/nginx.repo;;
  10. Execute to create the Nginx yum repo. For example:

  11. Verify the nss and openssl packages are up to date for your system. For example:

    yum -y update nss openssl
  12.  Create the Moogsoft yum repository as a new file /etc/yum.repos.d/moogsoft-aiops.repo with the following contents:

  13. Install the Apache Tomcat native package as follows. Be sure to include your own credentials for

    yum -y install https://<login>:<password>
  14. Set SELinux to permissive mode or disable completely. For example to set SELinux to permissive mode:

    setenforce 0

    If you want to disable SELinux at boot time, you can edit the file /etc/sysconfig/selinux.

Next step: Install Moogsoft AIOps on a Single Host with RPM