1. Install Epel 5.4
  2. Install Zenoss 5 On Centos 7 Epel Install
  3. Epel Release Centos 7

Re: Install PHP 5.5 on Centos 7 Post by Nileshkumar » Wed Aug 26, 2015 3:48 pm Thanks, PHP 5.6 is now installed from the remi-php56 repository, though their were many PHP warnings in the process, so cannot say wether the process went correct or not, but for the moment PHP 5.6 is installed for sure. The EPEL repository provides useful software packages that are not included in the official CentOS or Red Hat repositories. This article helps you to understand about EPEL Repository and how to enable EPEL Repository in RHEL or CentOS. I think it’s java-1.7.0-openjdk. After installing centos you should do yum update and it will install latest afterwards before attempting to install zenoss to save headache and time. Remove 1.6 and set 1.7 to default.

How to install EPEL and REMI repository on CentOS 5.x, 6.x, or 7.x?

The following article will describe how to configure a CentOS 5 based, CentOS 6 based, or CentOS 7 based system to use Fedora Epel repos and third party remi package repos. These package repositories are not officially supported by CentOS, but they provide much more current versions of popular applications like PHP or MYSQL. Like the PHP that the official repositories provide is 5.3.3, the PHP from REMI repository is much more current versions PHP 5.5 or 5.6.

Install the extra repositories:

The first step requires downloading some RPM files that contain the additional YUM repository definitions.

The example below point to the 64-bit versions that work with 64bit VPS instances.

CentOS 5.x 64-bit

CentOS 6.x 64-bit

CentOS 7.x 64-bit

The example below point to the 32-bit versionsthat work with 32bit VPS instances.
For CentOS 7.x, 64 bit version only

CentOS 5.x 32-bit

CentOS 6.x 32-bit

To see all the repos you have with their current status, execute:

Enable the REMI repository

By default, the REMI repository is disabled. The REMI repository provides a variety of up-to-date packages that are useful or are a requirement for many popular web-based services. REMI maintains latest version of MySQL and PHP (backports of fedora RPM) so it is not a bad idea to enable the REMI repositories by default.

Use VIM or NANO to edit /etc/yum.repos.d/remi.repo

or

Edit the [remi] portion of the file so that the enabled option is set to 1. This will enable the REMI repository.

Edit the [remi-php55] portion of the file so that the enabled option is set to 1. This will enable the PHP 5.5 update.

Enabling [remi-php56] PHP 5.6 update is Not recommend before the stable version come out

You will now have a larger array of yum repositories from EPEL and REMI.

Next is update your CentOS

Zenoss is an open source agentless monitoring tool.

The main advantage of zenoss is that you don’t need to install any software on the client side for monitoring.

Zenoss has the following two versions:

  1. Zenoss Core (this is free)
  2. Zenoss Enterprise. This is also called as Zenoss Resource Manager, which is a paid version. This provides several additional features: High-availability, distributed architecture, event correlation, etc.


By default, it uses SNMP for monitoring. On Windows, it uses WMI (Windows Management Instrumentation).

This tutorial explains how to install and configure the Zenoss Core edition for your enterprise monitoring.

1. Pre-Req for Zenoss Install

Before you install ZenOSS, make sure you do the following:

  • Open these ports on your firewall, as they are used by Zenoss and its related services: 11211, 8080, 514, 162, 25
  • Install Java and make sure JAVA_HOME is set appropriately (Use java version 6 or above)

2. Install Zenoss Dependency Package

Install the zenoss dependencies repository. Download the appropriate version for your platform from here.

3. Install MySQL

You can install MySQL as we discussed earlier.

Zenoss

Make sure to set the following parameters in your /etc/my.cnf file after the MySQL installation.

Also, for now, don’t set any password for the MySQL root account. Leave it empty.

4. Other RPM and Service Dependencies

Depending on your environment, when you install zenoss core rpm as shown in the next step, you might get lot of missing dependencies messages. You have to install all of those missing packages one by one. On my instance, I ended-up installing the following packages

Install Epel 5.4

  • net-snmp.x86_64 and net-snmp-utils.x86_64
  • gmp.x86_64
  • sysstat.x86_64
  • dmidecode.x86_64
  • memcached.x86_64
  • binutils.x86_64
  • liberation-fonts-common.noarch, liberation-mono-fonts.noarch, liberation-sans-fonts
  • rrdtool.x86_64
  • Several nagios-plugins packages. For example: nagios-plugins-dig.x86_64, nagios-plugins-dns.x86_64, etc.
  • liberation-serif-fonts
  • libxslt.x86_64
  • libgcj.x86_64
  • rabbitmq-server-2.8.6-1.noarch

If you are using ‘Amazon Linux AMI 2013.09.1’, to install libgcj, you need to create a repo file in /etc/yum.reposd.d/centos.repo with following lines:

Also, make sure the following services are started before installing zenoss:

5. Install Zenoss Core RPM

If you have SELinux enabled, you need to make sure to allow appropriate Zenoss ports and programs in your SELinux configuration. If you are not sure how to do that, you may want to temporarily disable SELinux until you figure out how to do it.

Download the zenosscore RPM package from here.

Install the zenoss core rpm package:

6. Start Zenoss and Verify

Start the zenoss service as shown below:

Add

When you start the zenoss for the first time, it will take a while, as it will few database schemas like zenoss_zep, zodb and zodb_session. This will also add rabbitmqvhost.

Rabbitmq is an open source messaging queue server which is implemented in latest version of zenoss to process events faster. In the previous versions, Zenoss event processing was done by zenhubdeamon.

Once zenoss is started for the 1st time, connect to the MySQL database and verify that it has created the zenoss realted database schemas:

7. Verify Zenoss Services

Install Zenoss 5 On Centos 7 Epel Install

Execute the zenoss command as shown below to view the status of all the Zenoss services. It should all say running.

Verify that the zenoss rabbitmq queues are created using the rabbitmqctl command as shown below.

8. Launch Zenoss UI and setup Admin User

Once Zenoss is installed, go to http://{your-ip-address}:8080

For the first time, it will launch a setup screen. Click on “Get Started”. From here, do the following two steps:

  • Assign a password for the admin user
  • Create a new user account

Epel Release Centos 7

9. Login to Zenoss

After the above setup, login either with the “admin” user or the new user that you’ve created.

Click on the “Infrastructure” link from the top menu. From here, you can start adding the clients and devices that you like to monitor.

> Add your comment

If you enjoyed this article, you might also like..