• 给 Fedora 10 添加上交大源


    源贴地址:http://pengjiayou.com/blog/sjtu-repository-for-fedora-10

    即使安装了 yum-fastmirror 插件,Fedora 10 的更新速度还是不理想吗?那么请添加国内上海交通大学 Fedora 软件仓库吧!尤其适合教育网用户。

    用 gedit 新建一个文件,并命名为 “sjtu.repo” (不包括引号),文件内容如下:

    [Fedora-ftp.sjtu.edu.cn]
    name=Fedora 10 - i386
    baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/10/Fedora/i386/os/
    enabled=1
    gpgcheck=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
    [Everything-ftp.sjtu.edu.cn]
    name=Everything 10 - i386
    baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/10/Everything/i386/os/
    enabled=1
    gpgcheck=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
    [updates-ftp.sjtu.edu.cn]
    name=Fedora updates
    baseurl=http://ftp.sjtu.edu.cn/fedora/linux/updates/10/i386/
    enabled=1
    gpgcheck=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

    搞定后,cd 到你保存 sjtu.repo 的目录下,并将其 cp 到 /etc/yum.repos.d/ 目录下并重建 yum 缓存即可。

    sudo cp sjtu.repo /etc/yum.repos.d
    yum makecache

    Enjoy!

  • 相关阅读:
    编译原理 实例
    lex yacc flex bison
    图解tensorflow 源码分析
    PostgreSQL 179个场景 案例集锦
    github view source
    Java 微服务实践
    Linux kernel AIO
    Lex与Yacc学习
    OpenResty 通过 Lua 扩展 NGINX 实现的可伸缩的 Web 平台
    nginx Architecture
  • 原文地址:https://www.cnblogs.com/beta2013/p/3377371.html
Copyright © 2020-2023  润新知