“ 目录RHCA - 6 软件仓库 - 33 _etc_yum.conf ”yum默认配置文件[rootwuzuniao ~]# ll /etc/yum.conf #查看配置文件权限-rw-r--r--. 1 root root 813 Apr 15 2014 /etc/yum.conf[rootwuzuniao ~]# cat /etc/yum.conf #查看配置文件默认内容[main] #主区域cachedir/var/cache/yum/$basearch/$releasever #缓存路径keepcache0 #安装软件包后是否保留下载的软件包0为不保留debuglevel2 #调试级别logfile/var/log/yum.log #安装软件过程日志exactarch1 #从仓库中获取的版本和要求的版本必须严格匹配obsoletes1 #gpgcheck1 #是否检查软件包来源plugins1 #是否启用插件installonly_limit3 #更新软件包后保留的旧版本数量# This is the default, if you make this bigger yum wont see if the metadata# is newer on the remote and so youll gain the bandwidth of not having to# download the new metadata and pay for it by yum not having correct# information.# It is esp. important, to have correct metadata, for distributions like# Fedora which dont keep old packages around. If you dont like this checking# interupting your command line usage, its much better to have something# manually check the metadata once an hour (yum-updatesd will do this).# metadata_expire90m# PUT YOUR REPOS HERE OR IN separate files named file.repo# in /etc/yum.repos.d #仓库配置文件目录[rootwuzuniao ~]#