Fedora 16 倉庫

1、進到目錄:cd /etc/yum.repos.d

2、新增repo文件:sudo vi xxx.repo,寫入下面內容

=============================================

[Fedora-archives.fedoraproject.org]
name=Fedora 16 – x86_64
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/16/Fedora/x86_64/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[Everything-archives.fedoraproject.org]
name=Everything 16 – x86_64
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/16/Everything/x86_64/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[updates-archives.fedoraproject.org]
name=Fedora updates
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/16/x86_64/
enabled=1
gpgcheck=0

==================================

# 或者香港的一個倉庫ftp.cuhk.edu.hk

#--------------------------------------------------

[Fedora-ftp.cuhk.edu.hk]
name=Fedora 16 – x86_64
baseurl=http://ftp.cuhk.edu.hk/pub/Linux/fedora-archive/fedora/linux/releases/16/Fedora/x86_64/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[Everything-ftp.cuhk.edu.hk]
name=Everything 16 – x86_64
baseurl=http://ftp.cuhk.edu.hk/pub/Linux/fedora-archive/fedora/linux/releases/16/Everything/x86_64/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[updates-ftp.cuhk.edu.hk]
name=Fedora updates
baseurl=http://ftp.cuhk.edu.hk/pub/Linux/fedora-archive/fedora/linux/updates/16/x86_64/
enabled=1
gpgcheck=0

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章