CentOS 6.8配置yum源为阿里云软件源

1、备份

cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d//CentOS-Base.repo.ori

2、下载新的CentOS-Base.repo 到/etc/yum.repos.d/

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo

3、清理

yum clean all

4、更新缓存

yum makecache

weinxin
我的微信
一个码农、工程狮、集能量和智慧于一身的、DIY高手、小伙伴er很多的、80后奶爸。
Igor
  • 版权声明: 发表于 2019-12-2310:25:38
  • 转载注明:http://blog.tsingmac.com/prolions/servertech/linux/2296/
新手建站指引 Web服务器

新手建站指引

新手建站指南! 1 服务器及域名 阿里云域名 推荐购买阿里云域名 阿里云服务器 非常推荐的使用的服务器,本站一直在用阿里云 华为云域名 华为云域名供应商 华为云服务器 华为公司旗下服务器 腾讯云域名 ...
win10通过SSH传输文件到Ubuntu Linux

win10通过SSH传输文件到Ubuntu

首先,在Ubuntu下安装SSH服务器 $ sudo apt install openssh-server -y 装好之后,就自动启动了SSH服务,然后查找Ubuntu主机IP $ ifconfig ...
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: