專業丈量施工設計窗簾窗飾,包含各種窗簾布 捲簾等,高質感窗簾,樣式齊 | 優質油漆工程,各式油漆粉刷專業負責價格合理 免費估價,公道滿意 |
[教學]fedora6 Yum更新 站台遷移設定教學 |
房東:小蛙 發表時間:2014-02-25 |
請確定系統中已安裝了PHP的套件 [root@linux ~]# rpm -qa |grep php php-gd-5.1.6-3.4.fc6 php-pdo-5.1.6-3.4.fc6 php-bcmath-5.1.6-3.4.fc6 php-devel-5.1.6-3.4.fc6 php-common-5.1.6-3.4.fc6 php-5.1.6-3.4.fc6 php-Smarty-2.6.13-1.fc6 php-ldap-5.1.6-3.4.fc6 php-xml-5.1.6-3.4.fc6 php-cli-5.1.6-3.4.fc6 修改yum設定 /etc/yum.repos.d/fedora-core.repo /etc/yum.repos.d/fedora-updates.repo /etc/yum.repos.d/fedora-extras.repo ============================================== /etc/yum.repos.d/fedora-core.repo [core] name=Fedora Core $releasever - $basearch #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/ baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/os/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY [core-debuginfo] name=Fedora Core $releasever - $basearch - Debug #barchives.fedoraproject.orgaseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/ baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/debug/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-debug-$releasever&arch=$basearch enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY [core-source] name=Fedora Core $releasever - Source #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/ baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/source/SRPMS/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-source-$releasever&arch=$basearch enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY ============================================== /etc/yum.repos.d/fedora-updates.repo [updates] name=Fedora Core $releasever - $basearch - Updates #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/ baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/$releasever/$basearch/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc$releasever&arch=$basearch enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora [updates-debuginfo] name=Fedora Core $releasever - $basearch - Updates - Debug #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/debug/ baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/$releasever/$basearch/debug mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-fc$releasever&arch=$basearch enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora [updates-source] name=Fedora Core $releasever - Updates Source #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/SRPMS/ baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/$releasever/SRPMS/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-fc$releasever&arch=$basearch enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora ============================================== /etc/yum.repos.d/fedora-extras.repo [extras] name=Fedora Extras $releasever - $basearch #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/ baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/extras/$releasever/$basearch/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-$releasever&arch=$basearch enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras gpgcheck=1 [extras-debuginfo] name=Fedora Extras $releasever - $basearch - Debug #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/debug/ baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/extras/$releasever/$basearch/debug/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-debug-$releasever&arch=$basearch enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras gpgcheck=1 [extras-source] name=Fedora Extras $releasever - Source #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/SRPMS/ baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/extras/$releasever/SRPMS/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-source-$releasever&arch=$basearch enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras gpgcheck=1 |
|
優潔清潔公司 夏季清潔讓您煥然一新,專業清潔團隊,寶貝家具不受損,輕鬆擁有乾淨居家,守護您的健康環境 DRAPERY窗簾設計 捲簾、窗簾布、窗簾布多種款式,免費丈量,挑戰市場超低價,為家輕鬆增添新意 TECHNIQUE冷氣空調規劃 冷氣界的達人,多重售後服務保障,專業熱忱技術,多戶家庭一致推薦 |
1 樓住戶:jeff 發表時間:2015-06-21 |
yum更新套件安裝來源 YUM - Yellowdog Updater Modified YUM 官方網站:http://linux.duke.edu/projects/yum/ 修改設定檔: cd /etc/yum.repos.d/ cp fedora-core.repo fedora-core.repo.bak vi fedora-core.repo [core] name=Fedora Core $releasever - $basearch baseurl=ftp://apt.nc.hcc.edu.tw/pub/fedora/linux/core/$releasever/$basearch/os/ #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/ #mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY cp fedora-updates.repo fedora-updates.repo.bak vi fedora-updates.repo [updates] name=Fedora Core $releasever - $basearch - Updates baseurl=ftp://apt.nc.hcc.edu.tw/pub/fedora/linux/core/updates/$releasever/$basearch/ #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/ #mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora cp fedora-extras.repo fedora-extras.repo.bak vi fedora-extras.repo [extras] name=Fedora Extras $releasever - $basearch baseurl=ftp://apt.nc.hcc.edu.tw/pub/fedora/linux/extras/$releasever/$basearch/ #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releas子ever/$basearch/ #mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras gpgcheck=1 更新:yum -y update 注意:若上面指令無法正常執行的話, 1. 仔細檢查上面三個設定檔有沒有錯誤 2. 執行「lftp apt.nc.hcc.edu.tw」,測試 ftp 連線是否正常 3. 下「yum clean all」指令,清掉 yum 在「/var/cache/yum」內的暫存檔案 4. 再次執行「yum -y update」 |
2 樓住戶:jeff 發表時間:2015-06-21 |
yum 下載 http://rpm.pbone.net/index.php3?stat=3&search=yum&srodzaj=3 |
姓名: | |||
佈告內容: | |||
其他選項: | |||
|