2017-05-05 23 views

答えて

2

はい可能です。次の手順に従ってください:

  • あなたに近いミラーを見つけるには、http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=osを探してください。
  • 6.9を6.8に置き換えます。たとえば、URLはhttp://mirrors.gigenet.com/centos/6.8/os/x86_64/のようになります。
  • yumリポジトリファイルを/etc/yum.repos.dに作成します。ファイル名をUser-Stepped.repoとしましょう。ファイルの

  • 内容は次のようになります。

    ~]# cat /etc/yum.repos.d/User-Stepped.repo 
    [User_Stepped] 
    name=A stepped repo - CentOS 6.8 
    baseurl=http://mirrors.gigenet.com/centos/6.8/os/x86_64/ 
    gpgcheck=1 
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 
    
  • あなたが使用されるように--enablerepoに同じ名前を使用しCentOS 6.8

    ~]# yum clean all 
    ~]# yum --disablerepo='*' --enablerepo=User_Stepped update 
    

に更新するには、次のコマンドを実行しますUser-Stepped.repoファイルの角括弧の中に入力します。

関連する問題