码迷,mamicode.com
首页 > 系统相关 > 详细

Linux6.x 更换国内比较快的yum源-通用版

时间:2019-06-19 20:28:00      阅读:241      评论:0      收藏:0      [点我收藏+]

标签:cdh   border   span   hive   centos   back   open   centos6   cdh5   



----------更换国内比较快的yum源-----------
----------163---------
cd /etc/yum.repos.d
mv CentOS-Base.repo CentOS-Base.repo.backup
wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
mv CentOS6-Base-163.repo CentOS-Base.repo

//rm -rf cloudera-cdh5.repo
//wget http://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/cloudera-cdh5.repo



---------Peer cert cannot be verified or peer cert invalid错误---
vi /etc/yum.conf
---------yum.conf 增加参数 -------
sslverify=false
-------------------------------------
yum check-update

 yum -y install openssh-clients     #最小版centos安装ssh



Linux6.x 更换国内比较快的yum源-通用版

标签:cdh   border   span   hive   centos   back   open   centos6   cdh5   

原文地址:https://www.cnblogs.com/Raodi/p/11053321.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!