yum 미러 싸이트 업뎃에 대하여 궁금한점 있습니다.

allsoft의 이미지

yum으로 업뎃하기가 넘 느려서,, 미러싸이트 한번 바꿀려고 파일 건드리다가 몇번 피봤습니다. ㅠㅠ

/etc/yum.repos.d 폴더에보면 fedora.repo를 포함한 4개파일이 있습니다.

어떤 파일을 어떻게 수정하면 되는지 좀 알려주세요..
미러싸이트도 몇개 추천 부탁드리구요,ㅠㅠ 카이스트했었는데
자꾸 에러떠서 업뎃도 못하고 있씁니다. 원본 파일도 없어서
yum이 아예 안먹히는 상태에요 ㅠㅠ....

파도의 이미지

백업 해 둔 파일입니다.

"baseurl" 행의 주석 처리된 부분을 지운 후(행 맨 앞에 '#' 삭제) 원하는 미러사이트를 적어넣으세요. 그리고
"mirrorlist" 행을 주석 처리하시고요.

yum-fastestmirror 패키지가 빠른 미러사이트에서 패키지를 받게 해 주는 Plugin 같으니 사용해보세요. 전 사용해 보지 않아서 어떤지 모르겠습니다.

파일 첨부가 안되서 확장자를 강제로 txt로 했는데 잘 올라 갔는지 모르겠네요.-_-;
첨부된 파일의 이름을 yum.repos.d.zip으로 하시면 됩니다.

댓글 첨부 파일: 
첨부파일 크기
Plain text icon yumreposdzip.txt2.05 KB

--------Signature--------
시스니쳐 생각 중..

문태준의 이미지

설명은 centos 기준으로 합니다.

yum-plugin-fastestmirror 패키지는 아래 설명을 한번 보시죠.
미러사이트의 속도를 측정하여 가장 빠른 것을 사용합니다.

The fastest mirror plugin for yum will test multiple mirrors listed for a
repo and rate them by speed, then use them in that order. This adds a
couple seconds at the beginning of the download process, but can greatly
increase your download speed and stability.

yum 프로그램을 업데이트하면 /etc/yum.conf 에서 아래 값이 바뀝니다.
plugins=1

그러면 위에서 설치한 플러그인을 사용하는 것이죠.

별도로 자체 yum 레파지토리를 구축하면 로컬 네트워크를 이용할 수 있는데 이에 대해서는 kldp 위키에서 시스템관리의 yum 주제를 살펴보세요. 제가 정리한것도 있고 yum howtwo 도 있습니다.

---------------------------
문태준
http://tunelinux.pe.kr
http://database.sarang.net

---------------------------
문태준
http://groups.google.co.kr/group/sysadminstudy 시스템어드민 공부모임
http://tunelinux.pe.kr
http://database.sarang.net

allsoft의 이미지

속도 장난 아니게 나오네요 ^^;

==================
불가능은 없다. (Nothing is Impossible,, Possible)

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.