当前位置:Gxlcms > linux教程 > Linux系统下配置yum.conf的方法

Linux系统下配置yum.conf的方法

时间:2021-07-01 10:21:17 帮助过:5人阅读

  Linux系统下yum.conf文件是用来存储yum配置信息的文件,虽然yum.conf文件通常都比较简洁,却是yum软件管理器的重要组成部分,下面就来介绍一下Linux系统下配置yum.conf的方法。

Linux系统下配置yum.conf的方法

  引用

  cachedir=/var/cache/yum

  debuglevel=2

  logfile=/var/log/yum.log

  pkgpolicy=newest

  distroverpkg=redhat-release

  tolerant=1

  exactarch=1

  retries=1

  [base]

  name=Fedora Core $releasever - $basearch - Base

  baseurl=http://download.atrpms.net/mirrors/fedoracore/$releasever/$basearch/os

  http://rpmfind.net/linux/fedora/cor.。.er/$basearch/os

  http://mirror.clarkson.edu/pub/dist.。.er/$basearch/os

  [updates-released]

  name=Fedora Core $releasever - $basearch - Released Updates

  baseurl=http://download.atrpms.net/mirrors/fedoracore/updates/$releasever/$basearch

  http://redhat.linux.ee/pub/fedora/l.。.sever/$basearch

  http://fr2.rpmfind.net/linux/fedora.。.sever/$basearch

  [Fedora.us]

  name=Fedora.us - $basearch - Extras

  baseurl=http://fedora.linux.duke.edu/fedorax86_64/fedora.us/$releasever/$basearch/RPMS.stable

  [Dag Wieers]

  name=Dag RPM Repository for Fedora Core

  baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag

  [Livna]

  Name=Livna RPM, Fedora Core $releasever - $basearch

  baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.stable

  [freshrpms]

  name=FreshRPMs

  baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/

  http://ftp.us2.freshrpms.net/linux/。。.arch/freshrpms/

人气教程排行