跳至主要内容

网络方式安装Fedora Core 5

令人奇怪的是FC5仍未支持NTFS,还是要去www.linux-ntfs.org下载一个模块。
因为没有盘,也没有刻录机,却正好有两台机,尝试用网络方式安装。
以前刻了一张FC4的安装启动盘,但是不能用于FC5,包的安排不一样了,从FTP的log可以看出来。不想花钱只能多费事,先在目标机上装上一个最小的linux系统,然后将FC5中pxeboot内的vmlinuz和initrd.img拷到/boot下,修改grub.conf,重新引导系统,用新加的核便可以启动安装过程,安装选择FTP方式,设置好本机IP信息,再设置FTP服务器地址,安装程序便会去FTP上下包了。FTP服务器用的是FileZilla server,很不错的FTP软件,第一次用,感觉非常简洁,速度也很快,不像以前用的那个什么来着,操作又麻烦,速度又慢。FC5的包要全部先解出来,否则一旦找不到包了,安装就会停止,然后只能reboot,然而bootloader还没写,之前的系统就白装了,又得来一次。
FC5的安装程序从FTP上取包是连接一次,取一个,再断开,感觉这样效率很低,很多包才几k,几十k,连接的开销占了不少,还且在与FTP的连接上可能还不太完善,有时会连上了半天没反应,然后超时被服务器断开,安装程序也不重试,处于一种假死状态,总之,有盘是最好啦。

----

关于FC5 Package Manager的问题

The problem with the system was the Add/Remove program (Pirut) in Fedora Core 5. It connects to the internet for adding any package or updating it. In my country the internet connectivity is a costly affair. So to make Pirut use the local packages in my CDs, I created a directory /var/yum/Fedora/RPMS and copied all the rpms in the CD nos. 1,2,3,4 and 5 to the folder /var/yum/Fedora/RPMS and the repodata folder in 1st disk to /var/yum/ folder.

Then I edited the file named fedora-core.repo in /etc/yum.repo.d/ and inserted few lines like

[Fedora-Core-5-local-install]
name=Fedora Core $releasever - $basearch
baseurl=file:///var/yum
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

and changed all the other enabled=1 to enabled=0 in this file and all the files with *.repo in /etc/yum.repos.d/ and then I have been able to install packages using Add/Remove Software (Pirut) ever since.

Please note :- Don't forget to copy repodata folder in FC 5 disk 1 or you would be seeing repomd.xml error.


出自http://arindamlahiri.blogspot.com/

也可以另建一个后缀为repo的文件,加入新条目,屏蔽其它所有的条目(enable=0)

评论

此博客中的热门博文

反转剧

这两天明显感到天气转冷,呱呱的家里也已经下起了大雪,南京则是阴冷潮湿,让人没有了出行的欲望。没想到躲在被子里看反转剧也成了度过寒冬的一剂良药。在PPLive越来越让人失望的时候,PPStream横空出世,虽然广告仍是少不了的主题,但从视频质量和播放连续性上来说都超过PPLive,实为居家必备之良品(由此可见,新事物一定会战胜旧事物......)。韩国的反转剧最近似乎比较流行,称之为反转剧就在于其结果总是让人出乎意料,不合常理,其间又不乏各种搞怪搞笑的镜头,各种当红帅哥美女也一定让DDMM们爱不释手,20~30分钟一集的剧情一改韩剧拖沓的风貌,想看就看,容易切入。 反转剧,今天你看了吗?

from cpp to java

when i start to study java with a cpp background, i find it is very difficult to convert my mind. i always think how some features in cpp was implemented in java, this give me a little reject to java language. though java is born from c, i think they still have different applicable domains, so try to study both is good for me, and java is a pure OO language, i believe it will give me a better understanding on OOD.

低谷

近段时间,小猪的身体不好,连续好几个周末游走于各个医院,两人的心情也坏到了极点。现在的小猪已俨然成为一个药罐子,不再提当年之勇。这个周末又发起烧来,像一滩烂泥似地躺在床上,真是祸不单行。 而我呢,由于前任离职的缘故,现在出奇地忙,每天就像打仗似地,压得人喘不过气来,工作与家庭,真有些夹缝中求生存的感觉,两头都要兼顾,我想这一次我们是真的走到一个低谷了吧。 希望这一切都会过去,一切都能圆满地解决。