Zabbix 3.4 在 Oracle Linux 上返回问题库 php-mbstring 和 php-bcmath

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    

答案1

安装以下数据包:

php-mbstring.x86_64

php-bcmath.x86_64

命令:

百胜安装-y php-bcmath.x86_64

yum install -y php-mbstring.x86_64

相关内容