赞
踩
[root@centos ~]# yum install lrzsz:fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfileYumRepo 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/i386/6/base/mirrorlist.txterror:Cannot find a valid baseurl for repo: base
则从以下步骤开始)
输入命令mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup备份系统旧配置文件。
输入命令sed -i 's#http#https#g'/etc/yum.repos.d/CentOS-Base.repo把http替换https。
输入命令 yum clean all和yum makecache清除缓存。
输入命令yum -y install lrzsz下载rz(注意:如果未报错:)
上传Hadoop安装包到Linux服务器上。
输入命令 ll -a 查看。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。