![Rhel8에 MDATP를 설치했지만 실패했습니다.](https://linux55.com/image/197068/Rhel8%EC%97%90%20MDATP%EB%A5%BC%20%EC%84%A4%EC%B9%98%ED%96%88%EC%A7%80%EB%A7%8C%20%EC%8B%A4%ED%8C%A8%ED%96%88%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
RHEL8 운영 체제가 설치된 컴퓨터가 있습니다. Linux용 Defender Endpoint를 설치하려면 가이드를 따라야 했습니다.Linux에서 끝점용 Microsoft Defender 수동 배포
나는 그 섹션에 왔습니다 :냠 mdatp 설치
그런데 이 오류가 발생해요
[root@rhel8]#yum install mdatp
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Kubernetes 0.0 B/s | 0 B 02:00
Errors during downloading metadata for repository 'kubernetes':
- Curl error (28): Timeout was reached for https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64/repodata/repomd.xml [Connection timed out after 30001 milliseconds]
Error: Failed to download metadata for repo 'kubernetes': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
kubernetes 저장소를 비활성화해 보았습니다./etc/yum.repos.d/kubernetes.repo. "yum install mdatp" 명령을 다시 시작하면 다음과 같은 결과가 나타납니다.
[root@rhel8]# yum install mdatp
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
packages-microsoft-com-prod 9.7 MB/s | 7.9 MB 00:00
Last metadata expiration check: 0:00:15 ago on Thu 14 Oct 2021 10:54:14 AM CEST.
Dependencies resolved.
=============================================================================================================================================================================================
Package Architecture Version Repository Size
=============================================================================================================================================================================================
Installing:
mdatp x86_64 101.45.00-1 packages-microsoft-com-prod 44 M
Installing dependencies:
libatomic x86_64 8.4.1-1.el8 InstallMedia 23 k
mde-netfilter x86_64 100.69.32-1 packages-microsoft-com-prod 36 k
Transaction Summary
=============================================================================================================================================================================================
Install 3 Packages
Total download size: 44 M
Installed size: 157 M
Is this ok [y/N]: y
Downloading Packages:
Error opening file for checksum: /run/media/root/RHEL-8-4-0-BaseOS-x86_64/BaseOS/Packages/libatomic-8.4.1-1.el8.x86_64.rpm
Package "libatomic-8.4.1-1.el8.x86_64" from local repository "InstallMedia" has incorrect checksum
Error: Some packages from local repository have incorrect checksum
사용 명령:
[root@rhel8]# dnf repolist
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repo id repo name
InstallMedia Red Hat Enterprise Linux 8.4.0
docker-ce-stable Docker CE Stable - x86_64
kubernetes Kubernetes
packages-microsoft-com-prod packages-microsoft-com-prod
답변1
yum install yum-utils
yum-config-manager --add-repo=https://packages.microsoft.com/config/rhel/8/prod.repo
답변2
yum clean all
rm -rf /var/cache/yum/*
subscription-manager refresh
sudo yum install yum-utils
sudo yum-config-manager --add-repo=https://packages.microsoft.com/config/rhel/7/prod.repo
sudo yum-config-manager --add-repo=https://packages.microsoft.com/config/rhel/8/prod.repo
sudo rpm --import http://packages.microsoft.com/keys/microsoft.asc
yum install mdatp