2017-09-18 6 views
0

내가 OSZabbix 3.4, 오라클 리눅스 7.4 : PHP-mbstring와 PHP-bc 수학에 오류가

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 

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 

sudo yum install php-mbstring 

Loaded plugins: ulninfo 
No package php-mbstring available. 
Error: Nothing to do 

[루트 @ zabbixapp01 zabbix] mbstring # 얌 검색

Loaded plugins: ulninfo 
Warning: No matches found for: mbstring 
No matches found 

[루트 @의 zabbixapp01를 검색하려고 반환 설치에 노력 zabbix] # yum 검색 bcmat h

Loaded plugins: ulninfo 
Warning: No matches found for: bcmath 
No matches found 

문제를 해결하는 방법은 무엇입니까?

+0

또한 serverfault (더 적절하게)에 질문하는 것 같습니다 : https://serverfault.com/questions/874297/zabbix-3-4-oracle-linux-7-4-error-with-php-mbstring-and -php-bcmath. – Richlv

+0

확인, 문제 해결, 답장 쓰기 –

답변

0

편집의 repo에 파일 추가 된 새로운 REPO

nano /etc/yum.repos.d/public-yum-ol7.repo 


[ol7_optional_latest] 
name=Oracle Linux $releasever Optional Latest ($basearch) 
baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/optional/latest/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=1 

후 사용할 새의 repo는

yum clean all 
yum-config-manager --enable ol7_optional_latest 

yum repolist all 

예를 들어 반환해야한다 상태 새 REPO를 확인

!ol7_optional_latest/x86_64 Oracle Linux 7Server Optional Latest (x86_64)              enabled: 12,831+3,515