Centos7.3 阿里雲主機 安裝zabbix報錯
問題:
[root@lvhanzhi code]# yum install -y zabbix-web-mysql zabbix-agent mariadb-server
Error: php71w-common conflicts with php-common-5.4.16-46.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
產生的原因:
之前安裝的不是php71w-common,安裝zabbix需要依賴php71w-common
解決方法:
yum remove php-mysql-5.4 php php-fpm php-common #刪除之前安裝的php
yum install -y zabbix-web-mysql zabbix-agent mariadb-server #重新安裝zabbix