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.
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. How to install EPEL repository on Centos 5.x / 6.x / 7.x. EPEL means Extra Packages for Enterprise Linux, these are some extra packages that are always needed and these are not included in the default installation of some Linux distributions, for example CentOS. So use the following command to install EPEL yum repository on your CentOS/RHEL 7/6/5 systems. Yum install epel-release In the case of command doesn’t work for you, use one of below commands.
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
Centos 7 Install Epel Release
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
On this page
Zabbix is an open source monitoring tool for network services, network hardware, servers, and application. Designed to track and monitor the status of your system and servers. Zabbix offers support for many database systems - including MySQL, PostgreSQL, SQLite, and IBM DB2 - to store data. Zabbix backend is written in C, and the frontend is written in PHP.
In this tutorial, we will show you step-by-step how to install and configure an open source monitoring system Zabbix 3.4 on the CentOS 7 system. This guide will cover some topics, including installation and configuration of the LAMP Stack for our Zabbix installation, and how to change the default password for Zabbix admin web UI.
Prerequisites
CentOS 7 Server
Root privileges
What we will do?
Install Apache2/httpd on CentOS 7
Install and Configure PHP 7.2 on CentOS 7
Install and Configure MySQL
Install and Configure Zabbix 3.4 on CentOS 7
Configure FirewallD
Zabbix Initial-Setup
Change Default Admin
Step 1 - Install Apache2/httpd
In this guide, we will run Zabbix under the Apache web server. The web server packages can be installed from the default CentOS 7 repository.
Install Apache/httpd using the yum command below.
After the installation is complete, start the service and enable it to launch every time at system boot.
The Apache/httpd web server has been installed on the system - check it using the netstat command.
And you will get the default HTTP port 80 in the LISTEN state.
Step 2 - Install and Configure PHP 7.2 on CentOS 7
In this step, we will install PHP 7 from a third-party repository - we will install PHP 7.2 from the 'webtatic' repository.
Before installing PHP 7 with all extensions needed, add the webtatic and the EPEL repository to the system.
Run commands below.
Now install PHP 7.2 packages from the webtatic repository using yum.
And after the installation is complete, we need to edit the default 'php.ini' file using the vim editor.
Change the values of the configuration as shown below.
Save and exit.
Now restart the httpd service.
The PHP 7 installation and configuration for Zabbix has been completed.
Step 3 - Install and Configure MariaDB
Zabbix offers support for many databases for the installation, including MySQL, PostgreSQL, SQLite, and Oracle database. For this guide, we will be using MariaDB as the database for our Zabbix installation.
Install mariadb-server using yum command below.
After the installation is complete, start the service and enable it to launch everytime at system boot.
Now run the command below to configure MariaDB root password.
Add Epel To Centos 7
Type your root password and press Enter.
MariaDB database has been installed, and the root password has been configured.
Next, we need to create a new database for our Zabbix installation. We will create a new database and user named 'zabbix' with password '[email protected]'.
Login to the MySQL shell.
And run the following MySQL queries on the shell.
New database for Zabbix installation has been created.
Step 4 - Install and Configure Zabbix 3.4
In this step, we will install and configure Zabbix. We will install Zabbix from the official repository, then configure Zabbix-server and Zabbix-agent.
- Install Zabbix Packages
Add the Zabbix repository to the CentOS 7 system.
Now install Zabbix using the yum command below.
Wait for the Zabbix packages installation.
- Import Database Sample
Import the Zabbix database sample to our 'zabbix' database. Go to the Zabbix documentation directory and extract the Zabbix sql file.
Now import the database sample to our 'zabbix' database.
Type your root password and make sure there is no error.
- Configure Zabbix Server
Zabbix-server is the central process of the Zabbix software system. We will configure the Zabbix-server by editing the configuration file using the vim editor.
Run the following command.
Scott henderson blues guitar collection rar files. London Calling Blog Stats • 3,834,171 hits Blogroll • • • • • • • • • • • • • • • • • • • • Email Subscription Enter your email address to subscribe to this blog and receive notifications of new posts by email.
On the database line configuration, type the configuration as below and change the 'DBPassword' value with your own database password.
Save and exit.
Now start the Zabbix-server service and enable it to launch everytime at system boot.
Zabbix-server is running on the CentOS 7 system - check it using the command below.
And you will get the result as shown below.
- Configure Zabbix Agent
Zabbix-agent must be installed on the target monitoring system. The agent will gather all information of the server and reports data to the Zabbix-server.
Edit the Zabbix-agent configuration file using vim.
Now start the zabbix-agent and enable it to launch everytime at system boot.
Zabbix-agent is running on the system - check it using the following command.
And you will get the result as shown below.
Step 5 - Configure Firewalld
In this step, we will open the HTTP and https port for Zabbix admin web UI, and will also add an additional port for Zabbix-server and Zabbix-agent.
If you do not have firewalld on your system, install it using the following command.
Start the firewalld service and enable it to launch everytime at system boot.
Now we will open the HTTP and https port, and the port that will be used by the Zabbix-server and Zabbix agent (port 10051 and 10050).
Run the following firewall-cmd commands.
Now reload the firewalld configuration and check the port.
Firewalld configuration for Zabbix installation has been completed.
Step 6 - Zabbix Initial Setup
Before going any further, we will restart all of our services using the systemctl commands below.
Now open your web browser, and type your server IP address.
And you will be redirected to the Zabbix welcome message.
Click the 'Next Step' button.
Now, Zabbix will check all system requirements for its installation. Make sure there is no error.
Then click the 'Next step' button again.
For the database info, type all your database setup.
And click the 'Next step' button.
Now comes the Zabbix server details configuration. On the 'Host' field, type your own server IP address, and change the name with your own domain name or hostname.
Install Zenoss 5 On Centos 7 Epel
Click the 'Next step' button again.
Make sure all of those configurations are correct, then click the next button to install Zabbix.
And when the installation is complete, you will get the page as shown below.
Click the 'Finish' button and you will be redirected to the Zabbix login page.
Login with default user 'admin' and password 'zabbix'.
Now you get the Zabbix admin Dashboard.
Zabbix server installation has been completed.
Step 7 - Change Default Admin Password
In this step, we want to change the default Zabbix admin password for security.
On the Zabbix admin dashboard, click the user icon on the top right.
Click the 'Change Password' button and type your new password.
Now click the 'update' button, and the default admin password has been changed.
Zabbix monitoring system is now installed on the CentOS 7 server.