티스토리 뷰
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
'리눅스' 카테고리의 다른 글
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 |
[Linux]ssh, vnc, UTM방화벽 (0) | 2023.04.12 |
댓글