[1] 首先备份/etc/yum.repos.d/CentOS-Base.repo [2] 进入yum源配置文件所在文件夹 [3] 下载163的yum源配置文件,放入/etc/yum.repos.d/(操作前请做好相应备份) [4] 运行yum makecache生成缓存 国内常见的速度较快的yum ...
分类:
系统相关 时间:
2017-05-17 20:06:03
阅读次数:
296
有时候由于网络等其他原因的限制,不能随时使用yum到网上去获取rpm包,这样我们可以配置本地光盘yum源. 下面简要介绍一下本地光盘yum源的搭建 1.挂载本地iso镜像文件mount /dev/sr0 /media/cdrom 2.修改yum源配置文件vim /etc/yum.repos.d/rh ...
分类:
其他好文 时间:
2017-05-07 00:15:41
阅读次数:
149
yum命令 yum install packagename yum源配置 从网络下载yum源文件,比如,CentOS6-Base.repo,放到目录中/etc/yum.repos.d/CentOS-Base.repo yum clean all #清除以前使用yum的缓存 yum makecache ...
分类:
其他好文 时间:
2017-05-05 00:48:46
阅读次数:
151
一、yum安装FFmpeg 1. 最偷懒的方式就是yum安装了,自动解决依赖。不过CentOS系统默认无FFmpeg源,企业版 Linux 附加软件包EPEL源也不包含,需要手动添加yum源配置/etc/yum.repos.d/dag.repo: [dag] name=Dag RPM Reposit ...
分类:
其他好文 时间:
2017-04-19 12:48:23
阅读次数:
2227
一 配置yum源 配置之前先备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.a ...
分类:
其他好文 时间:
2017-04-13 17:01:25
阅读次数:
154
安装外网的yum步骤cd/etc/yum.repos.d/touchmy.repovi/etc/yum.repos.d/my.repo[base]name=centos6.3baseurl=http://mirrors.163.com/centos/$releasever/os/$basearchgpgecheck=0enable=1gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6保存退出然后yumcleanall(..
分类:
其他好文 时间:
2017-04-06 17:08:29
阅读次数:
176
环境:centos7配置repo文件[root@localhostyum.repos.d]#catbase.repo[server]name=serverbaseurl=file:///openyum/gpgcheck=0将本地yum包放到要创建的本地yum源的路径中tarzxfopenstack.tar.gz-C/openyum/1/tarzxfcinder.tar.gz-C/openyum/2/安装createrepoyum-yinstallcreater..
分类:
其他好文 时间:
2017-04-06 01:44:21
阅读次数:
114
本地yum源配置1.查看光盘挂载情况[root@test~]#mkdir/test[root@test~]#mount/dev/cdrom/test/mount:blockdevice/dev/sr0iswrite-protected,mountingread-only[root@test~]#dfFilesystem1K-blocksUsedAvailableUse%Mountedon/dev/sda31940713633313961508988419%/tmpfs51435272..
分类:
系统相关 时间:
2017-03-23 22:34:35
阅读次数:
231
网易(163)yum源是国内最好的yum源之一 ,无论是速度还是软件版本,都非常的不错,将yum源设置为163yum,可以提升软件包安装和更新的速度,同时避免一些常见软件版本无法找到。具体设置方法如下: 1,进入yum源配置目录cd /etc/yum.repos.d 2,备份系统自带的yum源mv ...
分类:
其他好文 时间:
2017-03-11 10:39:36
阅读次数:
140
1.首先删除redhat原有的yum,因为redhat原本的yum没有注册为redhat用户是用不了的,输入如下命令行:rpm-eyum--nodeps2.下载163的yum安装wgethttp://mirrors.163.com/centos/7.3.1611/os/x86_64/Packages/yum-3.4.3-150.el7.centos.noarch.rpmwgethttp://mirrors.163.com/cento..
分类:
其他好文 时间:
2017-03-07 14:28:14
阅读次数:
738