리눅스 reposync

1 개요[편집]

리눅스 reposync
/usr/bin/reposync
  • yum 저장소를 로컬 디렉토리에 다운로드하는 명령어
reposync --repoid=저장소명
reposync --repoid=저장소명 --download_path=/다운로드/경로

2 실행예시[편집]

[root@zetawiki ~]# yum repolist
... (생략)
repo id     repo name                                                 status
base        CentOS-6 - Base                                            6,696
epel        Extra Packages for Enterprise Linux 6 - x86_64            12,203
... (생략)
varnish-4.1 Varnish Cache 4.1 for Enterprise Linux                        31
repolist: 26,190
[root@zetawiki ~]# reposync --repoid=varnish-4.1
[varnish-4.1: 1     of 31    ] Downloading varnish/varnish-4.1.3-1.el6.x86_64.rpm
varnish-4.1.3-1.el6.x86_64.rpm                       | 396 kB     00:20
[varnish-4.1: 2     of 31    ] Downloading varnish/varnish-4.1.1-2.el6.x86_64.rpm
varnish-4.1.1-2.el6.x86_64.rpm                       | 388 kB     00:15  
[varnish-4.1: 3     of 31    ] Downloading varnish/varnish-4.1.1-1.el6.x86_64.rpm
varnish-4.1.1-1.el6.x86_64.rpm                       | 388 kB     00:01 
... (생략)
[varnish-4.1: 31    of 31    ] Downloading varnish/varnish-libs-devel-4.1.2-1.el6.x86_64.rpm
varnish-libs-devel-4.1.2-1.el6.x86_64.rpm            |  83 kB     00:02
[root@zetawiki ~]# tree varnish-4.1/
varnish-4.1/
├── varnish
│   ├── varnish-4.1.0-1.el6.x86_64.rpm
│   ├── varnish-4.1.1-1.el6.x86_64.rpm
│   ├── varnish-4.1.1-2.el6.x86_64.rpm
│   ├── varnish-4.1.2-1.el6.x86_64.rpm
│   ├── varnish-4.1.3-1.el6.x86_64.rpm
│   ├── varnish-4.1.4-1.el6.x86_64.rpm
│   ├── varnish-debuginfo-4.1.0-1.el6.x86_64.rpm
│   ├── varnish-debuginfo-4.1.1-1.el6.x86_64.rpm
│   ├── varnish-debuginfo-4.1.1-2.el6.x86_64.rpm
│   ├── varnish-debuginfo-4.1.2-1.el6.x86_64.rpm
│   ├── varnish-debuginfo-4.1.3-1.el6.x86_64.rpm
│   ├── varnish-devel-4.1.4-1.el6.x86_64.rpm
│   ├── varnish-docs-4.1.0-1.el6.x86_64.rpm
│   ├── varnish-docs-4.1.1-1.el6.x86_64.rpm
│   ├── varnish-docs-4.1.1-2.el6.x86_64.rpm
│   ├── varnish-docs-4.1.2-1.el6.x86_64.rpm
│   ├── varnish-docs-4.1.3-1.el6.x86_64.rpm
│   ├── varnish-libs-4.1.0-1.el6.x86_64.rpm
│   ├── varnish-libs-4.1.1-1.el6.x86_64.rpm
│   ├── varnish-libs-4.1.1-2.el6.x86_64.rpm
│   ├── varnish-libs-4.1.2-1.el6.x86_64.rpm
│   ├── varnish-libs-4.1.3-1.el6.x86_64.rpm
│   ├── varnish-libs-devel-4.1.0-1.el6.x86_64.rpm
│   ├── varnish-libs-devel-4.1.1-1.el6.x86_64.rpm
│   ├── varnish-libs-devel-4.1.1-2.el6.x86_64.rpm
│   ├── varnish-libs-devel-4.1.2-1.el6.x86_64.rpm
│   └── varnish-libs-devel-4.1.3-1.el6.x86_64.rpm
└── varnish-agent
    ├── varnish-agent-4.1.0-1.el6.x86_64.rpm
    ├── varnish-agent-4.1.1-1.el6.x86_64.rpm
    ├── varnish-agent-debuginfo-4.1.0-1.el6.x86_64.rpm
    └── varnish-agent-debuginfo-4.1.1-1.el6.x86_64.rpm

2 directories, 31 files

3 같이 보기[편집]

4 참고[편집]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}