Admin관리자   |    Posting포스트   |    LogOut로그아웃
:+:하늘을닮은호수:+: | Trac | 블로그   |    위치로그   |    태그로그   |    방명록


:+:하늘을 닮은 호수:+:
http://sunsson.iptime.org
Category
전체 (944)
[Standard] (58)
[OS] (116)
[Develope] (74)
[IT Trend] (347)
[Music] (93)
[삶의 질] (255)
Tag List
trac   3GPP   IPTV   svn   2MB   c99   PSS   RTP   VoIP   H.263   네 멋대로 해라   양동근   이나영   손예진   memory_leak   팔봉산   FLV   ffmpeg   cdn   grep   이명박   aio   beryl   awk   iLBC   강태우   gnuplot   avc   AutoConf   끝이아니길  
«   2008/08   »
          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            
yum.repo.d 설정
Category : [OS]/Linux
Date : 2008/07/03 15:05
yum.repo.d 설정 (FC7)

/etc/yum.conf
원래 들어있는 파일은 4개다.

-rw-r--r-- 1 root root 1541 2007-05-25 05:58 fedora-development.repo
-rw-r--r-- 1 root root 1084 2007-05-25 05:58 fedora-updates-testing.repo
-rw-r--r-- 1 root root 1062 2008-07-03 14:33 fedora-updates.repo
-rw-r--r-- 1 root root 1152 2008-07-03 14:33 fedora.repo


여기에서 인스톨에 fedora.repo, 업데이트에 fedora-updates.repo를 쓴다. 일단 요것만 고쳐보자.

<원본 fedora.repo>
name=Fedora Core $releasever - $basearch - Base한글
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora


baseurl에 주석 처리가 되어있으니 결국 mirrorlist 행이 관건인 셈이다. $releasever는 자기 페도라 버전에 따라 현재까지 1~5로 나타난다. 그럼 주소에 나와 있는 fedora-core-4 파일을 열어보자.
http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-7&arch=i386
# repo = fedora-7 arch = i386 country = KR country = RU country = JP country = HK country = PK country = CN country = CY country = TW country = TR country = TH 



http://ftp.kaist.ac.kr/pub/fedora/linux/releases/7/Everything/i386/os http://allotter.yandex.net/fedora/linux/releases/7/Everything/i386/os http://ftp.cse.yzu.edu.tw/pub/Linux/Fedora/releases/7/Everything/i386/os http://fedora.candishosting.com.cn/pub/fedora/linux/releases/7/Everything/i386/os http://dispenser.yandex.net/fedora/linux/releases/7/Everything/i386/os http://fedora.mirrors.firstnetcom.com/fedora/releases/7/Everything/i386/os http://seeder.yandex.net/fedora/linux/releases/7/Everything/i386/os http://ftp.isu.edu.tw/pub/Linux/Fedora/linux/releases/7/Everything/i386/os http://spreader.yandex.net/fedora/linux/releases/7/Everything/i386/os http://ftp.itu.edu.tr/Mirror/Fedora/linux/releases/7/Everything/i386/os http://ftp.twaren.net/Linux/Fedora/linux/releases/7/Everything/i386/os http://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora/linux/releases/7/Everything/i386/os http://mirrors.cytanet.com.cy/linux/fedora/linux/releases/7/Everything/i386/os http://opensource.nchc.org.tw/fedora/linux/releases/7/Everything/i386/os







가능한 미러가 나와있다. 여기에 추가하고 싶은 미러 사이트를 하나 추가한다.


<custom-BASE>
# repo = fedora-7 arch = i386 country = KR country = RU country = JP country = HK country = PK country = CN country = CY country = TW country = TR country = TH 
http://...
http://ftp.kaist.ac.kr/pub/fedora/linux/releases/7/Everything/i386/os http://allotter.yandex.net/fedora/linux/releases/7/Everything/i386/os http://ftp.cse.yzu.edu.tw/pub/Linux/Fedora/releases/7/Everything/i386/os http://fedora.candishosting.com.cn/pub/fedora/linux/releases/7/Everything/i386/os http://dispenser.yandex.net/fedora/linux/releases/7/Everything/i386/os http://fedora.mirrors.firstnetcom.com/fedora/releases/7/Everything/i386/os http://seeder.yandex.net/fedora/linux/releases/7/Everything/i386/os http://ftp.isu.edu.tw/pub/Linux/Fedora/linux/releases/7/Everything/i386/os http://spreader.yandex.net/fedora/linux/releases/7/Everything/i386/os http://ftp.itu.edu.tr/Mirror/Fedora/linux/releases/7/Everything/i386/os http://ftp.twaren.net/Linux/Fedora/linux/releases/7/Everything/i386/os http://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora/linux/releases/7/Everything/i386/os http://mirrors.cytanet.com.cy/linux/fedora/linux/releases/7/Everything/i386/os http://opensource.nchc.org.tw/fedora/linux/releases/7/Everything/i386/os


<custom-UPDATES>
http://...
http://ftp.kaist.ac.kr/pub/fedora/linux/releases/7/Everything/i386/os http://allotter.yandex.net/fedora/linux/releases/7/Everything/i386/os http://ftp.cse.yzu.edu.tw/pub/Linux/Fedora/releases/7/Everything/i386/os http://fedora.candishosting.com.cn/pub/fedora/linux/releases/7/Everything/i386/os http://dispenser.yandex.net/fedora/linux/releases/7/Everything/i386/os http://fedora.mirrors.firstnetcom.com/fedora/releases/7/Everything/i386/os http://seeder.yandex.net/fedora/linux/releases/7/Everything/i386/os http://ftp.isu.edu.tw/pub/Linux/Fedora/linux/releases/7/Everything/i386/os http://spreader.yandex.net/fedora/linux/releases/7/Everything/i386/os http://ftp.itu.edu.tr/Mirror/Fedora/linux/releases/7/Everything/i386/os http://ftp.twaren.net/Linux/Fedora/linux/releases/7/Everything/i386/os http://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora/linux/releases/7/Everything/i386/os http://mirrors.cytanet.com.cy/linux/fedora/linux/releases/7/Everything/i386/os http://opensource.nchc.org.tw/fedora/linux/releases/7/Everything/i386/os

그럼 fedora.repo, fedora-updates.repo 기존의 mirrorlist를 주석처리하고, 새로운 주소로 설정하자.
gpgcheck도 꺼놓으면 성가시지 않다.

<고친 fedora.repo>
mirrorlist=file:///etc/yum.repos.d/custom-base
gpgcheck=0


<고친 fedora-updates.repo>
mirrorlist=file:///etc/yum.repos.d/custom-updates


다시 실행할 서비스 없이 다음에 yum 실행할 때 바로 적용된다.
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)
2008/07/03 15:05 2008/07/03 15:05

블로그코리아에 블UP하기
Top
트랙백 주소 : http://sunsson.iptime.org/tc/trackback/934
[로그인][오픈아이디란?]
    
◀ 이전 페이지  |  1 |  ... 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |  ... 944 |  다음 페이지 ▶
Creative Commons License
블로그 내에 모든 저작물은 크리에이티브 커먼즈코리아 저작자표시 - 비영리 - 변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
website stats 믹시 블로그코리아에 블UP하기

Google

블로그 검색
최근 덧글
펼치기
최근 트랙백
펼치기
Today :
140
Yesterday :
198
Total :
62478
Powered by :
Textcube
ver :
1.6.3 : Tenuto
skin by :