728x90
반응형
1. iso 를 root 로 옮겨 mount 합니다.
2. redhet iso 를 mount 한 후 파일 위치 확인
3. 파일 repository 폴더로 복사하기
mkdi /repository
cp -a /run/media/jhha/* /repository/
4. Repo 내용 작성
vi /etc/yum.repos.d/RHEL8.repo
[InstallMedia-BaseOS] name=RHEL 8 - BaseOS metadata_expire=-1 gpgcheck=1 enabled=1 baseurl=file:///repository/RHEL-8-4-0-BaseOS-x86_64/BaseOS/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release [InstallMedia-AppStream] name=RHEL 8 - AppStream metadata_expire=-1 gpgcheck=1 enabled=1 baseurl=file:///repository/RHEL-8-4-0-BaseOS-x86_64/AppStream/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release |
5. 명령어 수행
dnf clean all
[root@localhost yum.repos.d]# dnf clean all 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. 0 파일이 삭제되었습니다 [root@localhost yum.repos.d]# subscription-manager clean 로컬 데이터가 모두 삭제되었습니다 [root@localhost yum.repos.d]# yum grouplist 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. RHEL 8 - BaseOS 210 MB/s | 2.3 MB 00:00 RHEL 8 - AppStream 196 MB/s | 6.8 MB 00:00 사용 가능한 환경 그룹 : 서버 최소 설치 워크스테이션 사용자 정의 운영 체제 가상화 호스트 설치된 환경 그룹 : 서버 - GUI 사용 설치된 그룹 : 컨테이너 관리 헤드리스 관리 사용 가능한 그룹 : 레거시 UNIX 호환성 개발용 툴 .NET 코어 개발 그래픽기반 관리 툴 네트워크 서버 RPM 개발 툴 과학기술 지원 보안 툴 스마트카드 지원 시스템 툴 |
728x90
반응형
'Server > Linux Server' 카테고리의 다른 글
[RHEL] Redhat 8.4 IP 설정 (0) | 2023.09.18 |
---|---|
[Server / Linux ] Linux Quota (0) | 2023.05.02 |
[Server / Linux] Linux 파티션 (0) | 2023.05.02 |
댓글