Zabbix+Grafana安装部署文档
#版本:Zabbix4.0.x 本次采集数据为agent方式,包含agent安装
#Author:walker
#本次安装基于redhat7
一、check environment
1.更新
yum -y update
2.关闭selinux
vi /etc/selinux/config
setenforce 0 #临时关闭命令
getenforce #检测selinux是否关闭,Disabled 为关闭
2.关闭防火墙(后续根据具体情况也可开启)
firewall-cmd --state
systemctl stop firewalld.service
systemctl disable firewalld.service
二、LAMP environment
1.搭建LAMP environment
yum install -y httpd mariadb-server mariadb php php-mysql php-gd libjpeg* php-ldap php-odbc php-pear php-xml php-xmlrpc php-mhash
rpm -qa httpd php mariadb
2.vi httpd
vi /etc/httpd/conf/httpd.conf
ServerName xx #修改为