1. centos7版本 下载地址:
http://mirrors.aliyun.com/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1908.iso
版本
RFASDFSAFSA ASDF
2. SELINUX
[root@zabbix4 ~]# getenforce #查看selinux状态
[root@zabbix4 ~]# setenforce 0 #临时关闭
[root@zabbix4 ~]# setenforce 1 #临时打开
[root@zabbix4 ~]# vim /etc/selinux/config #selinux配置文件
SELINUX=disabled
- 防火墙(firewalld)
- 下载rpm
- 安装zabbix-server、zabbix-web
- mariadb数据库安装、配置
- http配置文件
- 配置zabbix-server链接数据库
Install Congratulations! You have successfully installed Zabbix frontend. Configuration file "/etc/zabbix/web/zabbix.conf.php" created.
9. agent LINUX
[root@centos7-zabbix ~]# wget https://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix/4.0/rhel/7/x86_64/zabbix-agent-4.0.9-3.el7.x86_64.rpm
[root@centos7-zabbix ~]# rpm -ivh zabbix-agent-4.0.9-3.el7.x86_64.rpm
[root@centos7-zabbix ~]# yum install zabbix-agent.x86_64 -y #安装agent
[root@centos7-zabbix ~]# systemctl start zabbix-agent.service #启动agent服务
[root@centos7-zabbix ~]# systemctl enable zabbix-agent.service #开机自启
[root@centos7-zabbix ~]# /etc/zabbix/zabbix_agentd.conf #配置文件
Server=127.0.0.1
ServerActive=127.0.0.1
Hostname=Zabbix server
10. agent WINDOWS
https://assets.zabbix.com/downloads/4.0.15/zabbix_agent-4.0.15-win-amd64-openssl.msi
Server=127.0.0.1 #zabbix服务器ip
ServerActive=127.0.0.1 #zabbix服务器ip
Hostname=Zabbix server #本机机器名