yum -y update :更新yum为最新
cat /etc/redhat-release
cat /proc/version 看版本,看内核
关闭selinux
vi /etc/selinux/config #将SELINUX=enforcing改为SELINUX=disabled 设置后需要重启才能生效
setenforce 0 #临时关闭命令
getenforce #检测selinux是否关闭,Disabled 为关闭
firewall-cmd --state
systemctl stop firewalld.service #临时关闭firewall
systemctl disable firewalld.service #禁止firewall开机启动
rpm -Uvh https://repo.zabbix.com/zabbix/4.4/rhel/8/x86_64/zabbix-release-4.4-1.el8.noarch.rpm :安装azbbix4.4
1.服务器已经安装lampp
2.在监控机创建监控数据库并授权
zabbix.* to ‘zabbix_user‘@‘localhost‘ identified by ‘123456‘;yum install zabbix-server-mysql zabbix-web-mysql -y #安装zabbix组件原文:https://www.cnblogs.com/jingzaixin/p/11856457.html