[root@kfd1149 Install]# uname -a
Linux kfd1149.cafe24.com 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@kfd1149 Install]# cat /etc/redhat-release
CentOS release 6.5 (Final)
[root@kfd1149 Install]# yum -y install lrzsz
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Excluding mirror: data.nicehosting.co.kr
* base: centos.tt.co.kr
Excluding mirror: data.nicehosting.co.kr
* extras: centos.tt.co.kr
* rpmforge: ftp.neowiz.com
Excluding mirror: data.nicehosting.co.kr
* updates: centos.tt.co.kr
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 1.9 MB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package lrzsz.x86_64 0:0.12.20-27.1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===========================================================================================================
Package Arch Version Repository Size
===========================================================================================================
Installing:
lrzsz x86_64 0.12.20-27.1.el6 base 71 k
Transaction Summary
===========================================================================================================
Install 1 Package(s)
Total download size: 71 k
Installed size: 159 k
Downloading Packages:
lrzsz-0.12.20-27.1.el6.x86_64.rpm | 71 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : lrzsz-0.12.20-27.1.el6.x86_64 1/1
Verifying : lrzsz-0.12.20-27.1.el6.x86_64 1/1
Installed:
lrzsz.x86_64 0:0.12.20-27.1.el6
Complete!
[root@kfd1149 Install]#
** 업데이트 에러발생시
[root@dev-linux08 119.iws.kr]# yum -y install lrzsz
Loaded plugins: fastestmirror, security
Setting up Install Process
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
* 최근 CentOS 6 버전 업데이트 지원이 종료되면서 yum update 등 명령어 사용 시 오류가 발생하고 있다.
* 해결 방법 : 각 OS Bit에 맞춰 3줄씩 명령어 입력 후 yum update 하면 정상 동작 완료 / 업데이트 사이트 주소 변경.
32Bit
echo "https://vault.centos.org/6.10/os/i386/" > /var/cache/yum/i386/6/base/mirrorlist.txt
echo "http://vault.centos.org/6.10/extras/i386/" > /var/cache/yum/i386/6/extras/mirrorlist.txt
echo "http://vault.centos.org/6.10/updates/i386/" > /var/cache/yum/i386/6/updates/mirrorlist.txt
64Bit
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
'+::System:: > Linux' 카테고리의 다른 글
아파치 동시접속자수 확인 / 주기적 실행(watch) / netstat, watch (0) | 2017.02.17 |
---|---|
CentOS 의 VSFTPD 접속시 500 OOPS: cannot change directory:/root 에러. (0) | 2016.08.18 |
서버에서 sftp 서브시스템을 거부함 / subsystem request for sftp failed, subsystem not found / sftp접속 불가. (0) | 2014.02.24 |
Linux rz, sz yum으로 간단 설치 / ZMODEM (0) | 2013.05.15 |
iptables로 80포트 리다이렉트(nat) 하기 / tomcat(톰켓) 8080포트를 80포트로 서비스 하기 (0) | 2013.05.13 |