Rocky-9.2
Rocky 8 버전부터는 2개의 repository를 사용합니다.
BaseOS
– 운영체제의 기반이 되는 기본 기능의 코어 세트를 제공하는 데 사용
AppStream
– 운영 서비스에서 수행 가능한 Application, 런타임 언어 및 데이터베이스 등이 포함
# mkdir /etc/yum.repos.d/repo_backup
# mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/repo_backup/
# dnf repolist
No repositories available
# mount Rocky-9.2-x86_64-dvd.iso /mnt/
# dnf config-manager –add-repo file:///mnt/BaseOS
# ls /etc/yum.repos.d/
mnt_BaseOS.repo repo_backup
# echo “gpgcheck=0” >> /etc/yum.repos.d/mnt_BaseOS.repo
# cat /etc/yum.repos.d/mnt_BaseOS.repo
[mnt_BaseOS]
name=created by dnf config-manager from file:///mnt/BaseOS
baseurl=file:///mnt/BaseOS
enabled=1
gpgcheck=0
name: repo 이름
baseurl: package, repodata 위치
enabled: repo 활성, 비활성 설정
gpgcheck: GPG 서명 사용
※ GPG(GNU Privacy Guard)
– rpm package를 인증하는데 사용하는 암호화 서명
# dnf repolist
repo id repo name
mnt_BaseOS created by dnf config-manager from file:///mnt/BaseOS
# dnf config-manager –add-repo file:///mnt/AppStream
# echo “gpgcheck=0” >> /etc/yum.repos.d/mnt_AppStream.repo
# dnf repolist
repo id repo name
mnt_AppStream created by dnf config-manager from file:///mnt/AppStream
mnt_BaseOS created by dnf config-manager from file:///mnt/BaseOS
# dnf search nfs
# dnf -y install nfs-utils
# rpm -qa | grep nfs-utils
nfs-utils-2.5.4-18.el9.x86_64
1. 개요 본 글은 LVM의 스냅샷(snapshot) 기능으로 복구 지점 생성 → 파일 변경 → 스냅샷 병합(rollback) 과정을 실습합니다. 동일한…
https://youtu.be/ZcxB7akkDKs 1. 개요 두 개의 디스크(/dev/vdb, /dev/vdc)로 LVM을 구성하고, ext4·XFS 파일시스템 생성 → 마운트 → VG/LV 확장 → ext4 축소(오프라인)까지 전체…
https://youtu.be/XYBR1ZFrV9s 1. 개요 parted를 사용해 새 디스크에 GPT 라벨 생성 → 파티션 생성(ext4/XFS) → 포맷/마운트 →…
https://youtu.be/yYV8RQKCFzA 1. 개요 이 문서는 fdisk를 사용해 MBR(DOS) 디스크에 파티션을 생성하고, ext4/XFS 파일시스템을 포맷·마운트, /etc/fstab에 등록했다가, 안전하게 해제·삭제하는 전…
1. 개요 Linux에서 디스크 파티션 스타일은 MBR(Master Boot Record) 와 GPT(GUID Partition Table)에 대해 설명합니다. 2. MBR이란? 디스크…
https://youtu.be/CNd1bJV4wGY 1. 개요 Windows Server를 새로 설치할 때의 설치 과정을 단계별로 정리하였습니다. Windows Server 설치…