운영 체제가 있습니다
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
올바른 버전의 라이브러리를 활성화하기 위해 연결할 저장소를 제안할 수 있습니까?
프란시스코 산토스(Francisco Santos)의 변형을 시도했습니다.
[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
냠 설치 -y php-mbstring.x86_64