| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | 31 |
Tags
- Paper
- Python
- Database
- Converting
- pytorch
- evaluation
- Mac
- PostgreSQL
- ubuntu
- docker
- list
- TORCH
- Linux
- git
- Package
- 책갈피
- GitLab
- numpy
- judge
- Laravel
- AI
- DB
- LLM
- file
- Container
- KAKAO
- pandas
- format
- Flask
- Windows
Archives
- Today
- Total
Daily Develope
[Linux] CentOS repository 설정 본문
의의
- 가까운 지역의 repository 저장소 사용 (속도)
- local/폐쇄망의 repository 저장소 사용 (보안)
절차
repo. 저장소 주소 확인 (아래 예시에서는 카카오 repo. 저장소 활용)
repo. 설정파일 수정 (vi /etc/yum.repo.d/CentOS-Base.repo)
[base]
name=CentOS-$releasever - Base
baseurl=http://mirror.kakao.com/centos/$releasever/os/$basearch/
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=http://mirror.kakao.com/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=http://mirror.kakao.com/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
# gpgkey를 사용할 필요가 없거나 key 경로가 올바르지 않은 경우, gpgcheck=0 으로 수정
- 설정 적용
# 기존 repo 정보 삭제
yum clean all
# yum repo. 패키지 목록 업데이트
yum repolist'OS > Linux' 카테고리의 다른 글
| [Ubuntu] 사용자 관리 (0) | 2025.12.02 |
|---|---|
| [Linux] UFW 설정 및 사용법 (0) | 2024.09.25 |
| [Linux] Ubuntu DNS Nameserver 설정 (0) | 2024.04.30 |
| [Linux] openssl 수동 업데이트 / 설치 (0) | 2024.04.30 |
| [Linux] 패키지 저장소 정리 (0) | 2023.09.05 |
Comments