Class
- Tip&Tech
[¼¹ö¿î¿µ] CentOS6 yum ÇØ°á ¹æ¹ý... | |||||
±Û¾´ÀÌ | Loser¢âÀ̽½¾ð´Ï | ³¯ Â¥ | 20-12-11 17:46 | Á¶ ȸ | 5796 |
---|---|---|---|---|---|
°£ÆíURL |
https://phpschool.com/link/tipntech/82600
|
||||
¿À´Ã ¼¹ö ¾÷µ¥ÀÌÆ® Çغ¸·Á°í ÇÏ´Ï ÀÌ»óÇÏ°Ô ¾ÈµÇ´õ±º¿ä.
ã¾Æº¸´Ï 2020³â 11¿ù 30ÀÏÀÚ·Î yum À» ´õÀÌ»ó Áö¿øÇÏÁö ¾Ê³×¿ä. ¤Ì¤Ì ¹öÀü ¾÷Çϱ⠱ÍÂúÀºµ¥... yum clean all ÇϽǶ§¸¶´Ù ÀÛ¾÷ÇØ Áà¾ß ÇÕ´Ï´Ù. [ ¡å Âü°í Source ] echo "https://vault.centos.org/6.10/os/x86_64/" > /var/cache/yum/x86_64/6/base/mirrorlist.txt echo "http://vault.centos.org/6.10/extras/x86_64/" > /var/cache/yum/x86_64/6/extras/mirrorlist.txt echo "http://vault.centos.org/6.10/updates/x86_64/" > /var/cache/yum/x86_64/6/updates/mirrorlist.txt echo "http://vault.centos.org/6.10/sclo/x86_64/rh/" > /var/cache/yum/x86_64/6/centos-sclo-rh/mirrorlist.txt echo "http://vault.centos.org/6.10/sclo/x86_64/sclo/" > /var/cache/yum/x86_64/6/centos-sclo-sclo/mirrorlist.txt |
|||||
|
Àüü´ñ±Û¼ö 4
-
±èÁ¤±Õ 20-12-26 18:46
¼Ò½ºº¸±â
-
/etc/yum.repos.d/CentOS-Base.repo ¿¡¼ ¼öÁ¤ÇØ ÁÖ½Ã¸é µË´Ï´Ù. yum clean all ÇÒ ¶§ ¸¶´Ù ÀÛ¾÷ÇØÁÙ ÇÊ¿ä ¾ø½À´Ï´Ù.
[base]
name=CentOS-6.10 - Base
baseurl=http://vault.centos.org/centos/6.10/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#released updates
[updates]
name=CentOS-6.10 - Updates
baseurl=http://vault.centos.org/centos/6.10/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
¿Í °°ÀÌ mirrorlist ¸¦ baseurl ·Î ¼³Á¤ÇØ ÁÖ½Ã¸é µË´Ï´Ù. -
Gero 21-01-07 15:45
¼Ò½ºº¸±â
-
¾È³çÇϼ¼¿ä
yum clean all ÈÄ
/etc/yum.repos.d/CentOS-Base.repo ÆÄÀÏ ¾Æ·¡¿Í °°ÀÌ ¼öÁ¤ÇÏ¿´´Âµ¥,
yum »ç¿ëÀÌ ¾ÈµÇ´Âµ¥, ¹«¾ùÀÌ ¹®Á¦Àϱî¿ä?
cenos 6.7¹öÀü ÀÔ´Ï´Ù
[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/
baseurl=https://vault.centos.org/6.7/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&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
baseurl=https://vault.centos.org/6.7/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
----[¿À·ù¸Þ½ÃÁö]------
[root@RECRUITapp ~]# yum list php
Loaded plugins: fastestmirror, security
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
http://download.fedoraproject.org/pub/epel/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Pl ease verify its path and try again
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again -
±èÁ¤±Õ 21-01-08 15:58
¼Ò½ºº¸±â
-
/etc/yum.repo.d ¿¡¼ epel °ü·Ã repo °¡ ÀÖÀ» °Ì´Ï´Ù. epel 6 µµ EOL µÇ¸é¼ archive ·Î À̵¿µÈ ¸ð¾çÀ̳׿ä.
https://archives.fedoraproject.org/pub/archive/epel/
¿¡¼ ã¾Æ¼ Àû´çÈ÷ baseurl À» ³Ö¾î ÁÖ¼¼¿ä. ¾Æ´Ï¸é epel repo ¸¦ disable ½ÃÅ°½Ã¸é µË´Ï´Ù.
1 2 3 4 5 6 7 8 9 10