±â¼ú ÀÚ·á½Ç

°Ô½Ã±Û º¸±â
[Linux] CentOS ÀÌÀü ¹öÀü Yum¼³Á¤ (Valut Repo»ç¿ë)
Date : 2021-02-13
Name : ¼­¹ö¸ó
Hits : 3161

Centos Mirror ¸®½ºÆ®¿¡¼­ ÇÏÀ§ ¹öÀüÀº ´õÀÌ»ó Áö¿ø ÇÏÁö ¾Ê¾Æ Valut Repo »ç¿ëÀ» ±ÇÀåÇÑ´Ù.

6.10 ¹öÀü¿¡¼­ Valut Repo ÁöÁ¤ÇÏ´Â ¹æ¹ý¿¡ ´ëÇؼ­ ¼³¸í ÇÕ´Ï´Ù.

 

- ÇöÀç Centos ¹öÀü È®ÀÎ

[root@localhost ~]# cat /etc/centos-release 
CentOS release 6.10 (Final)

 

- ÇöÀç ÁöÁ¤µÈ Repo Á¤»ó ÀÛµ¿ ¿©ºÎ È®ÀÎ

[root@localhost ~]# yum check-update
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base

 

- ´õÀÌ»ó ÀÛµ¿ÇÏÁö ¾Ê´Â Mirror ÁöÁ¤À¸·Î YumÀÌ ÀÛµ¿ÇÏÁö ¾Ê´Â´Ù.

[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d]# vim CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

 

-  ±âÁ¸ Repo ÆÄÀÏÀ» ¹é¾÷ ÈÄ ½Å±Ô Repo ÆÄÀÏÀ» Valut ¹Ì·¯·Î ÁöÁ¤ÇÑ´Ù.

[root@localhost yum.repos.d]# mv CentOS-Base.repo CentOS-Base.repo.old


[root@localhost yum.repos.d]# vim CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
baseurl=http://vault.centos.org/6.10/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#released updates
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
baseurl=http://vault.centos.org/6.10/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
baseurl=http://vault.centos.org/6.10/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
baseurl=http://vault.centos.org/6.10/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
baseurl=http://mirror.centos.org/centos/6.10/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

 

- ÁöÁ¤µÈ Repo·Î Yum ±â´ÉÀÌ Á¤»ó µ¿ÀÛ ÇÏ´ÂÁö È®ÀÎ ÇÕ´Ï´Ù.

[root@localhost yum.repos.d]# yum clean all
Loaded plugins: fastestmirror, refresh-packagekit, security
Cleaning repos: base extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors

[root@localhost yum.repos.d]# yum repolist
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
base                                                                                   | 3.7 kB     00:00     
base/primary_db                                                                        | 4.7 MB     00:03     
extras                                                                                 | 3.4 kB     00:00     
extras/primary_db                                                                      |  29 kB     00:00     
updates                                                                                | 3.4 kB     00:00     
updates/primary_db                                                                     |  12 MB     00:07     
repo id                                       repo name                                                 status
base                                          CentOS-6 - Base                                           6,713
extras                                        CentOS-6 - Extras                                            47
updates                                       CentOS-6 - Updates                                        1,193
repolist: 7,953


[root@localhost yum.repos.d]# yum install gimp
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package gimp.x86_64 2:2.6.9-9.el6 will be installed
--> Processing Dependency: gimp-libs(x86-64) = 2:2.6.9-9.el6 for package: 2:gimp-2.6.9-9.el6.x86_64
--> Processing Dependency: libwmflite-0.2.so.7()(64bit) for package: 2:gimp-2.6.9-9.el6.x86_64
--> Processing Dependency: libwmf-0.2.so.7()(64bit) for package: 2:gimp-2.6.9-9.el6.x86_64
--> Processing Dependency: libgimpwidgets-2.0.so.0()(64bit) for package: 2:gimp-2.6.9-9.el6.x86_64
--> Processing Dependency: libgimpui-2.0.so.0()(64bit) for package: 2:gimp-2.6.9-9.el6.x86_64
--> Processing Dependency: libgimpthumb-2.0.so.0()(64bit) for package: 2:gimp-2.6.9-9.el6.x86_64
--> Processing Dependency: libgimpmodule-2.0.so.0()(64bit) for package: 2:gimp-2.6.9-9.el6.x86_64
--> Processing Dependency: libgimpmath-2.0.so.0()(64bit) for package: 2:gimp-2.6.9-9.el6.x86_64
--> Processing Dependency: libgimpconfig-2.0.so.0()(64bit) for package: 2:gimp-2.6.9-9.el6.x86_64
--> Processing Dependency: libgimpcolor-2.0.so.0()(64bit) for package: 2:gimp-2.6.9-9.el6.x86_64
--> Processing Dependency: libgimpbase-2.0.so.0()(64bit) for package: 2:gimp-2.6.9-9.el6.x86_64
--> Processing Dependency: libgimp-2.0.so.0()(64bit) for package: 2:gimp-2.6.9-9.el6.x86_64
--> Processing Dependency: libgegl-0.1.so.0()(64bit) for package: 2:gimp-2.6.9-9.el6.x86_64
--> Processing Dependency: libbabl-0.1.so.0()(64bit) for package: 2:gimp-2.6.9-9.el6.x86_64
--> Processing Dependency: libXpm.so.4()(64bit) for package: 2:gimp-2.6.9-9.el6.x86_64
--> Running transaction check
---> Package babl.x86_64 0:0.1.2-4.el6 will be installed
---> Package gegl.x86_64 0:0.1.2-6.el6 will be installed
--> Processing Dependency: dcraw for package: gegl-0.1.2-6.el6.x86_64
--> Processing Dependency: libspiro.so.0()(64bit) for package: gegl-0.1.2-6.el6.x86_64
--> Processing Dependency: libImath.so.6()(64bit) for package: gegl-0.1.2-6.el6.x86_64
--> Processing Dependency: libIlmThread.so.6()(64bit) for package: gegl-0.1.2-6.el6.x86_64
--> Processing Dependency: libIlmImf.so.6()(64bit) for package: gegl-0.1.2-6.el6.x86_64
--> Processing Dependency: libIex.so.6()(64bit) for package: gegl-0.1.2-6.el6.x86_64
--> Processing Dependency: libHalf.so.6()(64bit) for package: gegl-0.1.2-6.el6.x86_64
---> Package gimp-libs.x86_64 2:2.6.9-9.el6 will be installed
---> Package libXpm.x86_64 0:3.5.10-2.el6 will be installed
---> Package libwmf.x86_64 0:0.2.8.4-25.el6_7 will be installed
---> Package libwmf-lite.x86_64 0:0.2.8.4-25.el6_7 will be installed
--> Running transaction check
---> Package OpenEXR-libs.x86_64 0:1.6.1-8.1.el6 will be installed
---> Package dcraw.x86_64 0:8.96-1.1.el6 will be installed
---> Package ilmbase.x86_64 0:1.0.1-6.1.el6 will be installed
---> Package libspiro.x86_64 0:20071029-3.1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================
 Package                     Arch                  Version                          Repository           Size
==============================================================================================================
Installing:
 gimp                        x86_64                2:2.6.9-9.el6                    base                 12 M
Installing for dependencies:
 OpenEXR-libs                x86_64                1.6.1-8.1.el6                    base                197 k
 babl                        x86_64                0.1.2-4.el6                      base                 83 k
 dcraw                       x86_64                8.96-1.1.el6                     base                208 k
 gegl                        x86_64                0.1.2-6.el6                      base                413 k
 gimp-libs                   x86_64                2:2.6.9-9.el6                    base                519 k
 ilmbase                     x86_64                1.0.1-6.1.el6                    base                 72 k
 libXpm                      x86_64                3.5.10-2.el6                     base                 51 k
 libspiro                    x86_64                20071029-3.1.el6                 base                 21 k
 libwmf                      x86_64                0.2.8.4-25.el6_7                 base                132 k
 libwmf-lite                 x86_64                0.2.8.4-25.el6_7                 base                 51 k

Transaction Summary
==============================================================================================================
Install      11 Package(s)

Total download size: 14 M
Installed size: 52 M
Is this ok [y/N]: 

 

 

HPE, ·¹³ë¹öµ¨ ¼­¹ö¿öÅ©½ºÅ×À̼DZâ¾÷¿ë ³ëÆ®ºÏ µî IT Á¦Ç°Àº ¼­¹ö¸ó¿¡¼­ °ßÀû¹Þ¾Æº¸¼¼¿ä~

Á¦Ç°¿¡ ´ëÇÑ »ó´ãÀ» Èñ¸ÁÇϽøé02-2026-5062 or sales@servermon.co.kr·Î ¹®ÀÇ ÁÖ¼¼¿ä.

¼­¹ö¸ó¿¡¼­ ¿î¿µÇϴ IT ¼îÇθôÀ» ±¸°æÇϽ÷Á¸éÇÏ´ÜÀÇ ·Î°í¸¦ Ŭ¸¯ÇØÁÖ¼¼¿ä.

ÄÚ¸àÆ® ¾²±â
ÄÚ¸àÆ® ¾²±â
°Ô½Ã±Û ¸ñ·Ï
Content
Name
Date
Hits
2021-02-13
3161

ºñ¹Ð¹øÈ£ È®ÀÎ ´Ý±â