准备俩虚拟机,服务端+被检测端
服务端
这里的ip为:服务端:192.168.118.66 被检测端:192.168.118.67
1.配置IP地址、主机名,关闭 kdump 与 SELinux
(1)vim /etc/sysconfig/network
加一行:HOSTNAME=zbx.zzq.org
(2)vim /etc/hosts
加一行:192.168.118.66 zbx zbx.zzq.org
(3)vim /etc/selinux/config
改第7行:SELINUX=disabled
(4)systemctl stop kdump
(5)systemctl disable kdump
(6)重启。。。
2.安装Apache 和 Mariadb
(1)yum -y install httpd
(2)yum install mariadb-server -y
(3)systemctl start httpd.service
(4)systemctl enable httpd.service
(5)systemctl start mariadb.service
(6)systemctl enable mariadb.service
Linux监控.Zabbix
最新推荐文章于 2023-03-17 17:02:10 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)