In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Installation of zabbix requires what are the two modules of php, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
1. Operating system version
[root@aws zabbix] # cat / etc/redhat-release
Red Hat Enterprise Linux Server release 7.4 (Maipo)
two。 An error was reported when installing zabbix (red is the statement executed), as follows:
Yum install zabbix-server-mysql zabbix-web-mysql
-> Finished Dependency Resolution
Error: Package: zabbix-web-3.4.7-1.el7.noarch (zabbix)
Requires: php-bcmath
Error: Package: zabbix-web-3.4.7-1.el7.noarch (zabbix)
Requires: php-mbstring
You could try using-skip-broken to work around the problem
You could try running: rpm-Va-nofiles-nodigest
3. The yum sources of these two modules are relatively small. If you find that the yum source of 163contains them on the Internet, then you need to replace the yum source, as follows:
a. Enter the yum source directory
Cd / etc/yum.repos.d
b. Execution
[root@aws yum.repos.d] # wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
c. Since I am currently a redhat7, I want to edit this file. I changed the black bold italics. Block 3 lines and add 3 lines.
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
Name=CentOS-$releasever-Base-163.com
# mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
# baseurl= http://mirrors.163.com/centos/$releasever/os/$basearch/
Baseurl= http://mirrors.163.com/centos/7/os/x86_64/
Gpgcheck=1
Gpgkey= http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7
# released updates
[updates]
Name=CentOS-$releasever-Updates-163.com
# mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
# baseurl= http://mirrors.163.com/centos/$releasever/updates/$basearch/
Baseurl= http://mirrors.163.com/centos/7/updates/x86_64/
Gpgcheck=1
Gpgkey= http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7
# additional packages that may be useful
[extras]
Name=CentOS-$releasever-Extras-163.com
# mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
# baseurl= http://mirrors.163.com/centos/$releasever/extras/$basearch/
Baseurl= http://mirrors.163.com/centos/7/extras/x86_64/
Gpgcheck=1
Gpgkey= http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7
# additional packages that extend functionality of existing packages
[centosplus]
Name=CentOS-$releasever-Plus-163.com
# baseurl= http://mirrors.163.com/centos/$releasever/centosplus/$basearch/
Gpgcheck=1
Enabled=0
Gpgkey= http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7
4. Clear and create yum cach
Yum clean all
Yum makecache
5. Perform the installation of zabbix again
Yum install zabbix-server-mysql zabbix-web-mysql
After reading the above, have you mastered the method of installing the two modules of php needed to install zabbix? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.