yum源安装zabbix6.0
时间: 2023-08-22 16:14:01 浏览: 68
根据引用\[1\]和引用\[3\]的内容,您可以通过以下步骤使用yum源安装Zabbix 6.0:
1. 下载Zabbix源码压缩包,可以从Zabbix官网下载。
2. 确保您的环境满足要求,包括CentOS 7版本、Nginx 1.22.1版本、PHP 7.2.34版本和MariaDB 10.5.19版本。
3. 关闭防火墙,可以使用以下命令停止和禁用防火墙:
```
systemctl stop firewalld
systemctl disable firewalld
```
4. 将SELinux模式更改为宽容模式,可以使用以下命令修改配置文件:
```
sed -ri '/^SELINUX/s#enforcing#permissive#' /etc/selinux/config
```
5. 使用清华镜像下载Zabbix源,可以使用以下命令安装Zabbix Agent 2:
```
yum install -y https://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix/6.0/rhel/7/x86_64/zabbix-release-6.0-1.el7.noarch.rpm
yum install zabbix-agent2 -y
```
6. 修改Zabbix Agent 2的配置文件,将Server设置为Zabbix服务端的地址:
```
vim /etc/zabbix/zabbix_agent2.conf
Server=127.0.0.1
```
7. 启用并启动Zabbix Agent 2服务:
```
systemctl enable zabbix-agent2 --now
```
通过以上步骤,您可以使用yum源成功安装Zabbix 6.0版本。请确保您的环境和配置与引用中提到的一致。
#### 引用[.reference_title]
- *1* [Centos7 源码安装 zabbix6.0 服务端 - Nginx版](https://blog.csdn.net/qq_40880022/article/details/128185584)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [【zabbix】Centos7安装zabbix6.0版本配置](https://blog.csdn.net/weixin_59128094/article/details/129815872)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
相关推荐
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![rpm](https://img-home.csdnimg.cn/images/20210720083646.png)