跳至主要内容

网络方式安装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.

Personalized Google Home

Using your google account, you can create a personalized homepage. You can customize several modules, including various news, gmail, bookmarks. This service is similar to what http://www.netvibes.com/ provides. The drawback is the inconvenience of bookmark module. It doesn't provide grouping while netvibes provide tags to implement this. Wishing google will improve this defect in the near future. Meanwhile, the Live plan of Microsoft is also going on. MS presents several several servicies to counterattack google's counterparts. Virtual Earth (see http://preview.local.live.com ) is a recent service. It provides map service just like google earth, provides a virtual tour better than google. Imaging driving a car in the map and seeing everything real, maybe you can do a virtual europe tour now. Seems interesting. MS also provides a customized home, you can log into www.live.com via your msn accounts. I haven't tried that yet.