yum repository 썸네일형 리스트형 [draft] CentOS 7의 EOL 문제로 인해 발생하는 패키지 설치 오류를 해결하는 방법 CentOS 7의 EOL 문제로 인해 발생하는 패키지 설치 오류를 해결하는 방법CentOS 7의 기본 저장소가 EOL(End of Life) 상태가 되면서 더 이상 업데이트나 패키지 설치가 제대로 되지 않을 수 있습니다. 이를 해결하기 위해 카카오, 네이버 미러 저장소 또는 CentOS Vault 저장소를 사용할 수 있으며 EPEL(Extra Packages for Enterprise Linux) 저장소를 추가하면 추가 패키지를 설치할 수 있습니다.1. 기존 저장소 파일 백업기존 저장소 설정을 백업해 두는 것이 좋습니다.sudo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup더보기---cat /etc/yum.rep.. 더보기 CentOS Yum Repository 서버를 구축하는 방법 CentOS Yum Repository 서버를 구축하는 방법 CentOS Yum Repository 서버를 구축하는 것은 패키지 관리와 시스템 업데이트를 위해 중요한 작업입니다. 웹 서버 설치 (Apache HTTPD 예시) Yum Repository를 호스팅하기 위해 웹 서버를 설치합니다. 아파치 웹 서버를 설치하는 방법은 다음과 같습니다. repository 구축을 위한 필수 패키지 다운로드 createrepo 설치 yum install -y createrepo yum-utils Yum Repository 디렉터리 구조 설계 cd /app/repo_root/reop $ tree -L 5 . └── repo ├── centos │ ├── 7 -> 7.9.2009 │ ├── 7.9.2009 │ │ ├──.. 더보기 [draft] CentOS 7에서 기본 저장소를 변경하는 방법 CentOS 7에서 기본 저장소를 변경하는 방법(yum repository)기본 저장소CentOS-Base.repo(/etc/yum.repos.d/CentOS-Base.repo)cat /etc/yum.repos.d/CentOS-Base.repo# CentOS-Base.repo## The mirror system uses the connecting IP address of the client and the# update status of each mirror to pick mirrors that are updated to and# geographically close to the client. You should use this for CentOS updates# unless you are manuall.. 더보기 [draft] CentOS 7에서 yum 저장소를 변경하는 방법 CentOS 7에서 yum 저장소(repository)를 변경하는 방법테스트 환경운영체제 버전 정보$ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core)1. 기존 저장소 확인현재 활성화된 저장소 목록과 상태를 확인할 수 있습니다.yum repolist2. 원하는 저장소 찾기변경하려는 새로운 저장소를 찾아야 합니다. CentOS 기본 저장소 이외의 저장소를 사용하려면 해당 저장소의 URL을 알아야 합니다.3. 기존 저장소 비활성화저장소를 변경하려면 먼저 현재 사용 중인 저장소를 비활성화해야 합니다. 저장소의 설정 파일을 편집하여 enabled=0으로 설정하면 됩니다.예를 들어, /etc/yum.repos.d/CentOS-Base.repo 파일을 편집.. 더보기 CentOS 8에서 Yum Repository 서버를 구축하는 방법 CentOS 8에서 Yum Repository 서버를 구축하는 방법 테스트 환경 $ cat /etc/redhat-release CentOS Linux release 8.4.2105 Repository 서버 구축 epel 패키지 설치 yum install -y epel-release createrepo 패키지 설치 yum install -y yum-utils createrepo 웹 서버(apache) 패키지 설치 yum install -y httpd mod_ssl 리포지토리 디렉터리 만들기(yum 저장소) mkdir -p /apps/repo_root/repo mkdir -p /apps/repo_root/repo/centos/7/{extras,isos,os,updates} mkdir -p /apps/repo.. 더보기 이전 1 다음