更新系统很简单,系统->管理->update system搞定。
但是官方的源很慢,可以添加交大的镜像源:
1、安装选择较快镜像插件:su -c'yum install yum-fastestmirror -y'
2、
用 gedit 新建一个文件,并命名为 “sjtu.repo” (不包括引号),文件内容如下:
[sjtu-Fedora]
name=sjtu - Fedora 10 - i386
baseurl=ftp://ftp.sjtu.edu.cn/Fedora/linux/releases/10/Fedora/i386/os/
ftp://openware.byr.edu.cn/pub/mirror/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
[sjtu-Everything]
name=sjtu - Everything 10 - i386
baseurl=ftp://ftp.sjtu.edu.cn/Fedora/linux/releases/10/Everything/i386/os/
ftp://openware.byr.edu.cn/pub/mirror/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
[sjtu-updates]
name=sjtu - Fedora updates
baseurl=ftp://ftp.sjtu.edu.cn/Fedora/linux/updates/10/i386/
ftp://openware.byr.edu.cn/pub/mirror/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
-----------------------------2009-1-31修改--------------------------
InnerSea目前不使用fastestmirror插件了
InnerSea目前只使用byr的源,相应文件如下(/etc/yum.repos.d/byr.repo):
[byr-Fedora]
name=byr - Fedora 10 - i386
baseurl=ftp://openware.byr.edu.cn/pub/mirror/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
[byr-Everything]
name=byr - Everything 10 - i386
baseurl=ftp://openware.byr.edu.cn/pub/mirror/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
[byr-updates]
name=byr - Fedora updates
baseurl=ftp://openware.byr.edu.cn/pub/mirror/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
另外yum makecache需要时间较长,干脆不做了。
推荐安装增量安装包插件,参见http://blog.csdn.net/InnerSea/archive/2009/01/09/3742142.aspx
-----------------------------2009-2-9修改--------------------------
发现byr源有些包有问题,所以添加交大源做镜像(交大源中的Fedora应为fedora,下文已改正)。文件如下:
[byr-Fedora]
name=byr - Fedora 10 - i386
baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/releases/10/Fedora/i386/os/
ftp://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
[byr-Everything]
name=byr - Everything 10 - i386
baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/releases/10/Everything/i386/os/
ftp://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
[byr-updates]
name=byr - Fedora updates
baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/updates/10/i386/
ftp://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