티스토리 뷰
mount -o loop /dev/sr0 /mnt
mkdir /iso
cp -a /mnt/. /iso/
cd /etc/yum.repos.d
mkdir repobak
mv *.repo repobak
vi local.repo
[ISO_AppStream]
name=Rocky8.9_AppStream
baseurl=file:///iso/AppStream/
enabled=1
gpgcheck=0
[ISO_BaseOS]
name=Rocky8.9_BaseOS
baseurl=file:///iso/BaseOS/
enabled=1
gpgcheck=0
dnf makecache
'리눅스' 카테고리의 다른 글
| RHEL Linux 의 네트워크 세팅에 대한 흐름 정리. (0) | 2025.05.05 |
|---|---|
| Ubuntu Linux NAS 마운트 하는방법 (0) | 2024.11.27 |
| Linux Server 본딩(bonding) 하는법 - [Ubuntu 계열]. (0) | 2024.03.27 |
| Ubuntu 22.04 Ethernet connected가 보이지 않는 경우 (0) | 2024.03.27 |
| Linux[centOS,Redhat] local YUM Repository 에서 패키지 불러오기. (0) | 2024.03.15 |
댓글