发发大幅度发

时间:2022-01-06 06:23:56

fad

下载zabbix3.4的配置文件

wget -O zabbix-3.4.2.tar.gz http://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/3.4.2/zabbix-3.4.2.tar.gz/download

发发大幅度发

fa

# 取消enforce(临时生效)
setenforce 0
# 查看enforce状态
getenforce

发发大幅度发

# 修改配置文件,取消enforce(reboot永久生效)
sed -i 's/enforcing/Permissive/g' /etc/sysconfig/selinux

发发大幅度发

fa

mysql -uroot -proot
create database zabbix;
grant all privileges on zabbix.* to zabbix@'localhost'  identified by 'zabbix';
grant all privileges on zabbix.* to zabbix@'192.168.2.%'  identified by 'zabbix';
flush privileges;

发发大幅度发

afa

 

 

fda