. . .

RPM package installation

This package installation is tested for following centOS systems:

  • 6.8

  • 7

  • 7.1

  • 7.2


[OPTIONAL] MongoDB installation

If you have already a running mongodb 3.4 (or 3.2) you don't have to install mongodb, otherwise you have to install mongodb

#centOs 7.x:
echo "[mongodb-org-3.4]
name=MongoDB Repository
gpgkey=https://www.mongodb.org/static/pgp/server-3.4.asc" > /etc/yum.repos.d/mongodb-org-3.4.repo
sudo yum -y install mongodb-org
sudo service mongod start

For CentOs 6 use " https://repo.mongodb.org/yum/redhat/6/mongodb-org/3.4/x86_64/ " as baseurl.

Be careful with the currect MongoDB version. Don't use a version greater than 3.4, because ApiOmat Analytics doesn't support MongoDB version 3.5.x and 3.6.x yet. It will support those versions in one of the next releases.

After you downloaded the RPM package, you just need to execute the following command:

sudo yum --nogpgcheck localinstall -y apiomat-Analytics-1.0.0-0.x86_64.rpm

The installation is done, when you read the line >> ApiOmat Analytics successfully installed << in your console

CentOS 6.X

For CentOS 6.X the httpd service doesn't start automatically on startup, so you need to run as root:

sudo /sbin/chkconfig httpd on