首先确保你的系统是centos5或者centos6   先备份你系统自带的repo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 切换为root用户 cd /etc/yum.repos.d/ 如果你是centos5用户就用 wget http://mirrors.163.com/.help/CentOS5-Base-163.repo 如果是centos6用户就使用 wget http:/…
Mono软件Ubuntu系统国内镜像源.Mono国内镜像源 http://download.githall.cn/repo 替换为国内源(非官方)有利于加快mono的安装速度,一般情况下,完成mono的安装需要2个小时左右(视网速而定),使用Mono国内镜像源(非官方)http://download.githall.cn/repo 以后,在十分钟内就可以完成Mono的安装,大大加快了安装速度. 1.授权注册repo源 Ubuntu 18.04 (i386, amd64, armhf, arm64…
进入yum源配置目录 [root@localhost yum.repos.d]# cd /etc/yum.repos.d/ 备份系统yum源,用于日后恢复. [root@localhost yum.repos.d]# mv CentOS-Base.repo CentOS-Base.repo.bak 下载163yum源repo文件: [root@localhost yum.repos.d]# wget http://mirrors.163.com/.help/CentOS-Base-163.rep…
这个可能和Redis没有直接的关系... 是我在yum install的时候发现centos的yum实在是太慢,上网查了下.网易163有个yum镜像,为了让CentOS6使用速度更快的YUM更新源,可以选择163(网易)的更新源. 切换也很简单,具体步骤如下: 1.下载repo文件 wget http://mirrors.163.com/.help/CentOS6-Base-163.repo 2.备份并替换系统的repo文件 cd /etc/yum.repos.d/mv CentOS-Base.…
前言: 在使用Linux操作系统的时候,难免会下载各种安装包,而Linux使用的下载源服务器属于国外,下载速度相对国内会慢很多,像日常使用的阿里云和腾讯云等国内服务器厂商,镜像源都默认为自己相关的镜像源,所以在使用时下载应用的速度很快.本篇举例更换为清华镜像源. 国内各大镜像源网站: 阿里云镜像开源镜像站(已经更换地址)阿里云镜像开源社区镜像站(新地址)网易开源镜像站清华大学开源镜像站中科大开源镜像站 镜像源更换为清华源: 清华源地址:https://mirror.tuna.tsinghua.e…
国内网络原因,经常无法访问一些技术网站,pypi.python.org就是其中一个.所以,使用pip给Python安装软件时,经常出现错误.like this: File "/usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/response.py", line 267, in read raise ReadTimeoutError(self._pool, None, 'Read timed ou…
一.问题场景 使用virtualbox创建的centos 7版本的linux虚拟机,使用ping mirrors.aliyun.com有返回,但是wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo报超时. 二.网卡配置(wifi模式) 虚拟机需要关机 1.配置网卡1,使虚拟机可以访问互联网 2.配置网卡2,使虚拟机可以与本机建立通信,并且可以访问局域网(wifi模式设置为桥接网卡) 三.结论…
1. 备份原来的yum源 cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak 2.设置aliyun的yum源 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 3.添加EPEL源 EPEL(http://fedoraproject.org/wiki/EPEL)是由 Fedora…
----阿里云镜像源 1.备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2.下载新的CentOS-Base.repo 到/etc/yum.repos.d/ CentOS 5 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo 或者 curl -o /etc/yu…
国内yum源的安装(163,阿里云,epel) ----阿里云镜像源 1.备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2.下载新的CentOS-Base.repo 到/etc/yum.repos.d/ CentOS 5 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5…