728x90

DNF 7

[RHEL] Rocky 9 to 10 인플레이스 업그레이드 leapp 7관문과 distro-sync 강행

부제: 공식적으로 안 된다는 Rocky 9→10 인플레이스 업그레이드를 끝까지 밀어붙여 성공시킨 기록Rocky Linux는 메이저 버전 인플레이스 업그레이드를 공식 지원하지 않는다. 팀의 답은 한결같다 — "백업하고 새로 설치하세요." AlmaLinux의 ELevate(leapp 기반) 도구도 Rocky 9→10 경로는 아직 없다.그런데 검증용 VM에 백업이 있었다. 그래서 끝까지 가봤다. "공식 불가"가 코드의 어느 지점에서 나오는지, 그리고 그걸 어떻게든 뚫을 수 있는지.뜻밖의 출발점먼저 놀란 것 하나. Rocky 9.8의 AppStream 저장소에 leapp-upgrade-el9toel10 패키지가 실제로 있었다. RHEL의 공식 업그레이드 도구 leapp이, Rocky에도 el9→el10 버전으로..

명령어/Linux 2026.07.17

[RHEL] createrepo_c rpm 디렉토리를 yum 레포로 만들기

부제: rpm 몇 개를 dnf가 아는 레포로 바꾼다createrepo_c /srv/repo # 디렉토리를 레포로 색인createrepo_c --update /srv/repo # 바뀐 것만 갱신createrepo_c -v /srv/repo # 상세 출력Usage: createrepo_c [OPTION?] Program that creates a repomd (xml-based rpm metadata) repository from a set of rpms. -V, --version Show program's version number and exit. -q, --quiet Run quietly. -x, --excludes=PACKAGE_NAME_GLOB ..

명령어/Linux 2026.07.16

[RHEL] yum dnf로 이어지는 옛 패키지 관리자

부제: RHEL 8부터 yum은 dnf를 가리키는 호환 심볼릭 링크yum install nginx # 내부적으로 dnf 실행yum update # dnf upgrade와 동일yum list installed # 설치 목록$ ls -l $(command -v yum)lrwxrwxrwx 1 root root 5 May 19 22:37 /usr/bin/yum -> dnf-3$ yum --version | head -14.14.0과거 RHEL 6·7의 패키지 관리자는 yum이었다. RHEL 8부터 엔진이 dnf로 바뀌었고, yum은 dnf-3를 가리키는 링크로 남았다. 그래서 옛 스크립트나 습관대로 yum을 쳐도 그대로 동작한다. 새로 작성하는 문서·자동화는 dn..

명령어/Linux 2026.07.16

[RHEL] dnf config-manager 저장소 추가·활성화 관리

부제: 저장소를 켜고 끄고 추가하고 설정값을 조회하는 도구dnf config-manager --add-repo URL # 저장소 추가dnf config-manager --set-enabled repo # 저장소 활성화dnf config-manager --set-disabled repo # 저장소 비활성화$ dnf config-manager --dump | head -8===================================== main =====================================[main]allow_vendor_change = 1assumeno = 0assumeyes = 0autocheck_running_kernel = 1bandwidth = 0best = 1dn..

명령어/Linux 2026.07.15
728x90