1. 인터넷 연결이 불가능한 Darksite 환경을 위한 Local yum repository 구성 -
# mkdir -p /rhel86media
# mount /dev/cdrom /mnt
# cd /mnt/BaseOS/Packages/
# yum install tar-1.*.rpm
# cd /mnt
# tar cvf - . | (cd /rhel86media/; tar xvf - )
# cd /etc/yum.repos.d/
# vi RedhatOS-Media.repo
[InstallMedia-BaseOS]
name=Redhat84 - BaseOS
metadata_expire=1
gpgcheck=1
enabled=1
baseurl=file:///rhel84media/BaseOS/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[InstallMedia-AppStream]
name=Redhat84 - AppStream
metadata_expire=1
gpgcheck=1
enabled=1
baseurl=file:///rhel84media/AppStream/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
# dnf clean all
# subscription-manager clean
'IT > linux' 카테고리의 다른 글
extending xfs filesystem (xfs 확장) (0) | 2022.06.10 |
---|---|
creating bond devices on CentOS7, Redhat7 (0) | 2022.06.10 |
centos7/redhat7 install media > local yum repository (0) | 2022.06.10 |
centos7/redhat7 fresh install 후 기본 작업 (0) | 2022.06.10 |
SELinux 설정 : semanage (0) | 2022.06.10 |