Fedora 8上yum源安装与优化


说明:刚装好Fedora 8 server后需要把DNS配置好。

#vi /etc/resolv.conf //默认没有,需要自己建立。输入 nameserver 192.168.1.1,保存退出。

#service network restart //重启网络(可能不是必须)

1.如果自己建立.repo文件,把/etc/yum.repos.d/的文件mv到另一个地方

2.建立新的repo文件,填入yum源等信息保存退出;

3.yum makecache

让yum更快,Fedora 8自带的yum源网速比较慢,手动添加两个源

1.livna的yum源

rpm -ivh http://rpm.livna.org/livna-release-8.rpm

2.freshrpms的yum源

rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/8/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm

3。安装yum-plugin-fastestmirror(自动挑选快的镜像站)

yum install yum-fastestmirror yum-presto

确定/etc/yum.conf的plugins=1

4. 安装yumex,yum的图形工具

yum install yumex

相关内容