How to install Zabbix on CENTOS 7

when you have installed zabbix , it is important of changing password.

How to install Zabbix on CENTOS 7

Setup 1 INSTALL

  • Create the repos of Zabbix
rpm -ivh https://mirrors.aliyun.com/zabbix/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
  • Install software of Zabbix
yum install zabbix-server zabbix-webe zabbix-server-mysql zabbix-web-mysql mariadb-server mariadb  zabbix-agent -y
  • Modify the zabbix.conf about timezone
vim /etc/httpd/conf.d/zabbix.conf

php_value date.timezone Asia/Shanghai

Setup2 Modify Database

  • start database
systemctl start mariadb
  • Create User & Database about Zabbix

mysql

create database zabbix character set utf8 collate utf8_bin;

grant all on zabbix.* to [email protected]'localhost' identified by '123456';

exit

cd /usr/share/doc/zabbix-server-mysql-3.2.11/

zcat create.sql.gz |mysql -uzabbix -p123456 zabbix
  • Modify zabbix_server.conf
vim /etc/zabbix/zabbix_server.conf

DBHost=localhost
DBName-zabbix
DBUser=zabbix
DBPassword=123456
  • Start Zabbix-server
systemctl start zabbix-server
systemctl status zabbix-server
systemctl restart httpd
  • Loggin in Http://192.168.56.11/zabbix.php

Admin
zabbix

modify & start zabbix-agent

vim /etc/zabbix/zabbix_agentd.conf

systemctl restart zabbix-agent

It is OK now.

原文地址:https://www.cnblogs.com/wadelin/p/12241685.html

时间: 2024-10-18 00:48:12

How to install Zabbix on CENTOS 7的相关文章

yum install zabbix

环境: centos 6.5 下载并安装epel源 links  http://fedoraproject.org/wiki/EPEL rpm -ivh epel-* 2.安装amp环境 yum install httpd mysql mysql-server php php-mysql -y 3.安装zabbix yum install zabbix22.x86_64 zabbix22-agent.x86_64 zabbix22-server.noarch zabbix22-server-my

How to Install Zabbix Agent on Windows System

Zabbix Agent is installed on remote systems needs to monitor through Zabbix server. The Zabbix agent collects resource utilization and applications data on client system and provide such information to zabbix server on their requests. This article wi

Install Zabbix 3.4

Install Zabbix 3.4 which is an enterprise open source monitoring system. It's possible to monitor not only Linux but Windows, Solaris, IBM AIX and others. [1] On this example, It based on that SELinux is Permissive or Disabled. [2] Install Apache htt

How to Install MySQL on CentOS 7

How to Install MySQL on CentOS 7 Updated Thursday, August 27th, 2015 by Linode Use promo code DOCS10 for $10 credit on a new account. Try this Guide Contribute on GitHub View Project | View File | Edit File MySQL is a popular database management syst

How to install MP4box on CentOS 6

How to install MP4box on CentOS 6 MP4Box is a MP4 multiplexer. It can import MPEG-4 video, DivX, XviD, 3ivx, h264 etc, audio streams and subtitles into the .mp4 container. The end result is a compliant MP4 stream. It can also extract streams from a .

Install Ceph on CentOS 6.5

vi /etc/yum.repos.d/ceph-extras.repo[ceph-extras]name=Ceph Extras Packagesbaseurl=file:///ceph/ceph-extrasenabled=1priority=2gpgcheck=0type=rpm-md [ceph-extras-noarch]name=Ceph Extras noarchbaseurl=file:///ceph/ceph-extras-noarchenabled=1priority=2gp

How to install zabbix-agent on CentOS 7

============================================================================================= Step 1: Add Required Repository #rpm -Uvh http://repo.zabbix.com/zabbix/2.4/rhel/7/x86_64/zabbix-release-2.4-1.el7.noarch.rpm Step 2: Install, Activate and

Install ssdb-rocks on CentOS 6

Install ssdb-rocks on CentOS 6 C.C.  发表于 2014年08月10日 20:14 | Hits: 649 为了优化节操精选的弹幕系统,打算更换到Facebook的RocksDB测试,为了支持多台Web Server的场景,打算直接上ssdb-rocks来完成目的,如果有这个需求的朋友还遇到过坑,可以参考一下步骤: RocksDB需要的依赖 yum install zlib zlib-devel bzip2 bzip2-devel gflags gflags-d

Install transmission-daemon on CentOS

Fail to install rTorrent on CentOS 5.4, just install transmission-daemon libevent wget --no-check-certificate https://sourceforge.net/projects/levent/files/libevent/libevent-2.0/libevent-2.0.22-stable.tar.gz tar xzf libevent-2.0.22-stable.tar.gz cd l