Oracle-Linux
Zabbix 3.4 在 Oracle Linux 上返回問題庫 php-mbstring 和 php-bcmath
我有作業系統
NAME="Oracle Linux Server" VERSION="7.4" ID="ol" VERSION_ID="7.4" PRETTY_NAME="Oracle Linux Server 7.4" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:oracle:linux:7:4:server" HOME_URL="https://linux.oracle.com/" BUG_REPORT_URL="https://bugzilla.oracle.com/" ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7" ORACLE_BUGZILLA_PRODUCT_VERSION=7.4 ORACLE_SUPPORT_PRODUCT="Oracle Linux" ORACLE_SUPPORT_PRODUCT_VERSION=7.4
嘗試安裝zabbix 3.4
rpm -Uvh http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-1.el7.centos.noarch.rpm and yum install zabbix-server-mysql zabbix-web-mysql
並返回錯誤
Error: Package: zabbix-web-3.4.1-1.el7.noarch (zabbix) Requires: php-mbstring Error: Package: zabbix-web-3.4.1-1.el7.noarch (zabbix) Requires: php-bcmath
您可以建議連接哪個儲存庫以啟用正確版本的庫?
弗朗西斯科桑托斯的嘗試變體
[root@zabbixapp01 zabbix]# yum install -y php-bcmath.x86_64 Loaded plugins: replace, ulninfo No package php-bcmath.x86_64 available. Error: Nothing to do [root@zabbixapp01 zabbix]# yum install -y php-bcmath.x86_64 Loaded plugins: replace, ulninfo No package php-bcmath.x86_64 available. Error: Nothing to do [root@zabbixapp01 zabbix]# yum install -y php-mbstring.x86_64 Loaded plugins: replace, ulninfo No package php-mbstring.x86_64 available. Error: Nothing to do
回購清單:
Loaded plugins: replace, ulninfo repo id repo name status *epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 11,948 ol7_UEKR4/x86_64 Latest Unbreakable Enterprise Kernel Release 4 for Oracle Linux 7Server (x86_64) 335+93 ol7_latest/x86_64 Oracle Linux 7Server Latest (x86_64) 17,653+5,136 zabbix/x86_64 Zabbix Official Repository - x86_64 28 zabbix-non-supported/x86_64 Zabbix Official Repository non-supported - x86_64
安裝以下數據包:
php-mbstring.x86_64
php-bcmath.x86_64
命令:
百勝安裝 -y php-bcmath.x86_64
yum install -y php-mbstring.x86_64