| r6 vs r7 | ||
|---|---|---|
| ... | ... | |
| 43 | 43 | 해당 경우 resolv.conf에서 nameserver 삭제 후 재 접속 하면 해결 가능합니다. |
| 44 | 44 | |
| 45 | 45 | === repo 변경 === |
| 46 | CentOS 7의 공식 repository는 EOS/EOL 되어 서비스가 불가능한 상황임으로, |
|
| 47 | 따라서 사내 등 공인망 환경에서는 repo를 사용 가능한 다른 곳으로 설정해야합니다. |
|
| 48 | 48 | |
| 49 | * YUM 리포지토리 설정 파일 열기 |
|
| 50 | {{{[root@testServer ~]# vi /etc/yum.repos.d/CentOS-Base.repo |
|
| 51 | }}} |
|
| 52 | *리포지토리 설정 값 수정하기(아래 내용을 복사){{{ |
|
| 53 | [base] |
|
| 54 | name=CentOS-$releasever - Base |
|
| 55 | #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra |
|
| 56 | baseurl=http://vault.centos.org/7.9.2009/os/$basearch/ |
|
| 57 | gpgcheck=1 |
|
| 58 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 |
|
| 59 | ||
| 60 | [updates] |
|
| 61 | name=CentOS-$releasever - Updates |
|
| 62 | #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra |
|
| 63 | baseurl=http://vault.centos.org/7.9.2009/updates/$basearch/ |
|
| 64 | gpgcheck=1 |
|
| 65 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 |
|
| 66 | ||
| 67 | [extras] |
|
| 68 | name=CentOS-$releasever - Extras |
|
| 69 | #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra |
|
| 70 | baseurl=http://vault.centos.org/7.9.2009/extras/$basearch/ |
|
| 71 | gpgcheck=1 |
|
| 72 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 |
|
| 73 | ||
| 74 | [centosplus] |
|
| 75 | name=CentOS-$releasever - Plus |
|
| 76 | #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra |
|
| 77 | baseurl=http://vault.centos.org/7.9.2009/centosplus/$basearch/ |
|
| 78 | gpgcheck=1 |
|
| 79 | enabled=0 |
|
| 80 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 |
|
| 81 | }}} |
|
| 82 | *변경사항 적용{{{ [root@testServer ~]# yum install epel-release |
|
| 83 | }}} |
|
| 84 | 84 | === hostname 설정 === |
| 85 | 85 | |
| 86 | 86 | === 부팅 시 런레벨 설정 === |
| ... | ... |