【linux】yum源配置檔案(服務端)
/etc/yum.conf檔案
- [main]
- cachedir=/var/cache/yum/$basearch/$releasever
- keepcache=0
- debuglevel=2
- logfile=/var/log/yum.log
- exactarch=1
- retries=6
- obsoletes=1
- gpgcheck=0
- plugins=1
- installonly_limit=5
- bugtracker_url=
- p?category=yum
- distroverpkg=centos-release
- # This is the default, if you make this bigger yum won't see if the metadata
- # is newer on the remote and so you'll "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 don't keep old packages around. If you don't like this checking
- # interupting your command line usage, it's much better to have something
- # manually check the metadata once an hour (yum-updatesd will do this).
- # metadata_expire=90m
- # PUT YOUR REPOS HERE OR IN separate files named file.repo
- # in /etc/yum.repos.d
/etc/yum.repos.d/yum.repo檔案
- # CentOS-Base.repo
- #
- # The mirror system uses the connecting IP address of the client and the
- # update status of each mirror to pick mirrors that are updated to and
- # geographically close to the client. You should use this for CentOS updates
- # unless you are manually picking other mirrors.
- #
- # If the mirrorlist= does not work for you, as a fall back you can try the
- # remarked out baseurl= line instead.
- #
- #
- [base]
- name=CentOS-$releasever - Base - 163.com
- baseurl=
- #mirrorlist=
- gpgcheck=1
- gpgkey=
- #released updates
- [updates]
- name=CentOS-$releasever - Updates - 163.com
- baseurl=
- #mirrorlist=
- gpgcheck=1
- gpgkey=
- #additional packages that may be useful
- [extras]
- name=CentOS-$releasever - Extras - 163.com
- baseurl=
- #mirrorlist=
- gpgcheck=1
- gpgkey=
- #additional packages that extend functionality of existing packages
- [centosplus]
- name=CentOS-$releasever - Plus - 163.com
- baseurl=
- #mirrorlist=
- gpgcheck=1
- enabled=0
- gpgkey=
- #contrib - packages by Centos Users
- [contrib]
- name=CentOS-$releasever - Contrib - 163.com
- baseurl=
- #mirrorlist=
- gpgcheck=1
- enabled=0
- gpgkey=
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31442725/viewspace-2135533/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- springcloud服務端配置檔案SpringGCCloud服務端
- linux 配置yum 源Linux
- CentOS使用iso映象檔案配置本地yum源CentOS
- linux yum源配置方法Linux
- Linux 本地yum源配置Linux
- Linux端配置tomcat服務LinuxTomcat
- Linux yum源配置以及yum命令講解Linux
- Linux 網路yum源配置Linux
- Linux下配置本地yum源Linux
- Linux cifs檔案服務Linux
- Linux系統配置本地yum源Linux
- linux配置本地ISO的yum源Linux
- 配置yum源
- [Linux7] HA Package Yum源配置LinuxPackage
- CentOS 配置yum源CentOS
- RHEL 使用CenOS的yum源repo檔案
- Centos-Stream 配置本地yum源和配置阿里雲yum源CentOS阿里
- 服務端常見服務安裝及配置服務端
- 網路配置yum源
- 簡單的C++檔案伺服器--Linux C++客戶端從服務端獲取檔案C++伺服器Linux客戶端服務端
- 服務端指南 | 檔案許可權管理剖析服務端
- ftpget 從Windows FTP服務端獲取檔案FTPWindows服務端
- 轉:檔案的斷點下載服務端斷點服務端
- linux配置yumLinux
- Linux 配置YUMLinux
- YUM源伺服器搭建與客戶端配置使用伺服器客戶端
- linux配置本地yum源 centos7.9為例LinuxCentOS
- Linux學習-通過光碟配置本地yum源Linux
- Linkerd Service Mesh 服務配置檔案規範
- Linux網路服務之部署YUM倉庫Linux
- 搭建本地yum源,使用安裝光碟的rpm作為yum源的檔案
- 後端配置檔案後端
- Linux yum 本地源Linux
- linux yum 源部署Linux
- HTTP檔案服務HTTP
- yum本地源及網路源配置
- Centos系統配置yum源CentOS
- CentOS6.9配置yum源CentOS