리소스를 모니터링하려면 Collectd를 설치해야 합니다. 지금까지 완료된 단계:
yum install epel-release # this failed as pubilc key is not installed
yum install --nogpgcheck epel-release # failed with error
Transaction check error:
file /etc/rpm/macros.ghc-srpm from install of epel-release-6-8.noarch conflicts with file from package redhat-rpm-config-9.1.0-72.el7.noarch
yum install --nogpgcheck --skip-broken collectd # failed with error
Packages skipped because of dependency problems:
collectd-4.10.9-4.el6.x86_64 from epel
Error: Package: collectd-4.10.9-4.el6.x86_64 (epel)
Requires: libyajl.so.1()(64bit)
Error: Package: collectd-4.10.9-4.el6.x86_64 (epel)
Requires: libpython2.6.so.1.0()(64bit)
질문: epel 저장소를 설치했는데 충돌 오류로 인해 다른 저장소를 사용해야 합니까?
답변1
Rhel 7에 Collectd를 설치할 수 없습니다.
$ rpm -qa epel-release
epel-release-7-11.noarch
...따라서 올바른 버전의 epel-release를 설치하세요. EL6 버전인 epel-release-6-8.noarch를 얻었습니다... (그리고 잘못된 Collectd: Collectd-4.10.9-4.엘 6.x86_64).
epel-release
https://archive.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm
다운로드 및 설치:
# cd Downloads/ && yum install ./epel-release-7-11.noarch.rpm
# yum install collectd
: 버전이 있습니다5.8.0-1.el7