| 论坛注册| 加入收藏 | 设为首页| RSS
Google
您当前的位置:首页 > Linux频道 > Linux入门与提高 > 安装与配置

Fedora Core 6 配置

时间:2006-12-11 12:31:30  来源:Linux联盟收集  作者:
高中时接触了RedHat 9,当时的感觉就是没法和windows比,太丑了,当然那时候什么都不懂,只能从外表上面来说说了。VZqLinux联盟
VZqLinux联盟
而对于现在的FedoraCore6,可以说已经完成了从丑小鸭到白天鹅的转变,无论在用户界面还是稳定性都可以说是超过了任何一款已经发行的windows,个人认为包括尚未出世的Windows Vista。VZqLinux联盟
VZqLinux联盟
但是由于我的大部分时间都是在实验室,所以访问国外站点慢如蜗牛,另外出校都得设置代理,很是麻烦,所以很郁闷。VZqLinux联盟
VZqLinux联盟
下面的是FC6下面配置YUM的方法:VZqLinux联盟
首先使用代理服务器:VZqLinux联盟
在/etc/yum.conf最后添加这么一条语句“proxy=用户名:密码@proxy服务器地址:端口”,然后设置使用国内的livna和freshrpms镜像,可以先把/etc/yum.repos.d/目录下面的东西先备份起来然后直接删除,然后新建下面两个文件:VZqLinux联盟
首先是上海交大的镜像,文件名为fedara-sjt或者随便,VZqLinux联盟
[base-sjtu]VZqLinux联盟
name=Fedora Core $releasever - $basearch - BaseVZqLinux联盟
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/core/$releasever/$basearch/os/VZqLinux联盟
enabled=1VZqLinux联盟
gpgcheck=1VZqLinux联盟
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedoraVZqLinux联盟
[extras-sjtu]VZqLinux联盟
name=Fedora Extras $releasever - $basearchVZqLinux联盟
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/extras/$releasever/$basearch/VZqLinux联盟
enabled=0VZqLinux联盟
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extrasVZqLinux联盟
gpgcheck=1VZqLinux联盟
[updates-sjtu]VZqLinux联盟
name=Fedora Core $releasever - $basearch - Released UpdatesVZqLinux联盟
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/core/updates/$releasever/$basearch/VZqLinux联盟
enabled=1VZqLinux联盟
gpgcheck=1VZqLinux联盟
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedoraVZqLinux联盟
VZqLinux联盟
然后是清华的镜像,文件名为fedara-ts或者随便,VZqLinux联盟
[base-ts]VZqLinux联盟
name=Fedora Core $releasever - $basearch - BaseVZqLinux联盟
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/VZqLinux联盟
enabled=0VZqLinux联盟
gpgcheck=1VZqLinux联盟
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedoraVZqLinux联盟
VZqLinux联盟
[extras-ts]VZqLinux联盟
name=Fedora Extras $releasever - $basearchVZqLinux联盟
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/VZqLinux联盟
enabled=1VZqLinux联盟
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extrasVZqLinux联盟
gpgcheck=1VZqLinux联盟
VZqLinux联盟
[updates-ts]VZqLinux联盟
name=Fedora Core $releasever - $basearch - Released UpdatesVZqLinux联盟
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/VZqLinux联盟
enabled=1VZqLinux联盟
gpgcheck=1VZqLinux联盟
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedoraVZqLinux联盟
VZqLinux联盟
[freshrpms-ayo]VZqLinux联盟
name=Fedora Core $releasever - $basearch - FreshrpmsVZqLinux联盟
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/ayo.freshrpms.net/pub/freshrpms/ayo/fedora/linux/$releasever/$basearch/freshrpms/VZqLinux联盟
gpgcheck=0VZqLinux联盟
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpmsVZqLinux联盟
enabled=1VZqLinux联盟
VZqLinux联盟
[livna]VZqLinux联盟
name=Fedora Core $releasever - $basearch - livnaVZqLinux联盟
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/livna/fedora/$releasever/$basearch/VZqLinux联盟
enabled=1VZqLinux联盟
gpgcheck=0VZqLinux联盟
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpmsVZqLinux联盟
VZqLinux联盟
然后试一下“yum list available”如果可以就成功了,如果不行,试一下设置环境变量export http_proxy="用户名:密码@proxy服务器地址:端口"。其中的双引号必不可少。VZqLinux联盟
VZqLinux联盟
接下来么就随便啦,想装什么就装什么啦。VZqLinux联盟
VZqLinux联盟
VZqLinux联盟
VZqLinux联盟

Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1413837VZqLinux联盟

来顶一下
近回首页
返回首页
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表
相关文章
    无相关信息
栏目更新
栏目热门