Pre-install Moogsoft AIOps

Follow these steps to prepare a host for an RPM installation of Moogsoft AIOps. You don't need to complete 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 the file/etc/yum.repos.d/epel.repo

  3. Install the "el7" MySQL Community Yum repository: For example:

    yum -y install

    Verify the creation of the 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 the 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. 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