Linux系列—centos7 更新yum源
来源:互联网 发布:学校网络舆情应急预案 编辑:程序博客网 时间:2024/05/16 08:41
直接打开 163 源网站:http://mirrors.163.com/.help/centos.html
按照使用说明,先备份一下源(使用下面的命令重命名原来的源,如果有错误,再改回来):
[root@peipei3514 ~]# mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bar
转到源目录,按照自己的版本下载源,我是CentOS 7,使用命令:
[root@peipei3514 ~]# cd /etc/yum.repos.d/[root@peipei3514 yum.repos.d]# wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
运行以下命令生成缓存:
[root@peipei3514 yum.repos.d]# yum clean all[root@peipei3514 yum.repos.d]# yum makecache
阅读全文
0 0
- Linux系列—centos7 更新yum源
- centos7更新yum源
- CentOS7更新yum源
- CentOS7更新yum源
- Centos7配置更新国内yum源
- CentOS7更改yum源与更新系统
- Centos7更新阿里云yum源
- centos7.x yum更新为网易源
- RedHat Enterprise Linux 5系列更新Yum源
- linux yum源更新
- 关于Centos7的yum更新
- centos7 lnmp YUM更新php
- Oracle Linux更新Yum源
- linux系统更新yum源
- Linux-006 CentOS7 配置yum源
- CentOS7.2更改yum源与更新系统
- CentOS7.2更改yum源与更新系统
- Linux(Centos7)yum安装Nginx
- 正则化方法 (二)
- Springboot Enable开头注解解释说明
- ubuntu16.04.2安装完后重启报错[sda] Assuming drive cache: write through
- linux零环境安装apache
- Java的Spi机制研究
- Linux系列—centos7 更新yum源
- UART接口与COM口的区别
- 公众号门店分类联动,微信门店管理,改变分类后,下级分类自动变化
- A. Chess For Three
- java web之路 jsp page对象 pageContext对象
- Jupyter运行时出现下面的错误:Unexpected error while saving file: arma/Untitled.ipynb [Errno 13] Permission deni
- &传参
- Spring工作原理
- 分布式事物 TCC模式见解