考试网 >> IT认证 >> Linux >> Linux指导 >> FedoraCore5安装后的快速配置

FedoraCore5安装后的快速配置

发布时间:2006-06-28 10:21     点击:
分页:上一页  1 [2] 3 4 5  下一页

/dev/hda10 /mnt/hda10 ntfs defaults 0 0

保存即可。以后开机后就可自动挂载好你的分区了。注意以上的内容要根据你的分区状况灵活变通哦。

如你想现在就挂载,输入命令

mount -a

即可。现在你可以去看看能不能访问你的windows分区了。

4 不要置下载好的ISO文件不用,将其加入Yum源,方便以后快速安装Core仓库中的包。

方法:

a 假设你下载的ISO文件存于/dev/hda6分区中,且你已挂载好了分区,现你的/dev/hda6分区已经

挂载到/mnt/hda6目录上,假设此时你的/mnt/hda6中的 iso文件如下:

/mnt/hda6/FC-5-i386-disc1.iso

/mnt/hda6/FC-5-i386-disc2.iso

/mnt/hda6/FC-5-i386-disc3.iso

/mnt/hda6/FC-5-i386-disc4.iso

/mnt/hda6/FC-5-i386-disc5.iso

然后在目录/mnt下创建目录iso1,iso2,iso3,iso4,iso5。可使用如下命令完成:

mkdir -p /mnt/iso1 /mnt/iso2 /mnt/iso3 /mnt/iso4 /mnt/iso5

b 现在将我们的iso文件挂载到上面几个目录上,为方便以后的操作,使用很简单的shell程序来完成这个操作

使用gedit输入以下内容:

mount -o loop /mnt/hda6/FC-5-i386-disc1.iso /mnt/iso1

mount -o loop /mnt/hda6/FC-5-i386-disc2.iso /mnt/iso2

mount -o loop /mnt/hda6/FC-5-i386-disc3.iso /mnt/iso3

mount -o loop /mnt/hda6/FC-5-i386-disc4.iso /mnt/iso4

mount -o loop /mnt/hda6/FC-5-i386-disc5.iso /mnt/iso5

于文件名mount_iso存入目录/mnt,然后用命令chmod a+x /mnt/mount_iso使其成为可执行文件。

为方便以后卸载iso文件,在gedit输入以下内容:

umount /mnt/hda6/FC-5-i386-disc1.iso /mnt/iso1

umount /mnt/hda6/FC-5-i386-disc2.iso /mnt/iso2

umount /mnt/hda6/FC-5-i386-disc3.iso /mnt/iso3

umount /mnt/hda6/FC-5-i386-disc4.iso /mnt/iso4

umount /mnt/hda6/FC-5-i386-disc5.iso /mnt/iso5

于文件名umount_iso存入目录/mnt,然后用命令chmod a+x /mnt/umount_iso使其成为可执行文件。

现在输入命令/mnt/mount_iso就可以挂载你的iso文件。你可到/mnt/iso1目录内看看是否已经有你想要的内容了。
分页:上一页  1 [2] 3 4 5  下一页
版权申明:未经书面授权请勿转载本站信息!!作品版权归所属媒体与作者所有!!
发表评论: 匿名发表 用户名: 查看评论
您将承担一切因您的行为、言论而直接或间接导致的民事或刑事法律责任
留言板管理人员有权保留或删除其管辖留言中的任意内容
本站提醒:不要进行人身攻击。谢谢配合。
在本站搜索相关信息
2003-2005 Ksw123.com All Rights Reserved. - TOP
Copyright © 2006 Ksw123.com. All rights reserved.中国考题网 版权所有