|
|
发表于 2007-7-12 15:31:35
|
显示全部楼层
Post by wingjing
但是kernel-source我通过yast找不到啊。。
gcc已经装过了.. kernel-source 在你的安装文件上面,如果你有光驱也可以先将光戏添加为源。
----------------------------------------------------------------------------
笔记:
***********************************************************************************************************
安装源
从字面上解释就是安装的来源、软件安装的来源。。
软件包括系统软件和应用软件。
安装源
可以是 本机硬盘上的 目录 、 iso 文件
可以是 可移动介质, 光盘 、 U盘 都可以的。
可以是 网络上的。
添加安装源的方法:
运行yast > 安装源 > 指定url >
指定光驱设备
例如: /dev/hdc 和 /dev/hdd 都是光驱设备。 (2006年11月17日 星期五 00时17分15秒)
安装源表达方式:
本地源的添加方法:
光盘驱动器
例:
cd:///?devices=/dev/cdrom
cd:///?devices=/dev/hdc
cd:///?devices=/dev/hdd
直接指定某分区上根目录下的 iso 文件:
例:
iso:///?iso=SLES-10-x86-DVD1.iso&url=hd:/?device=/dev/hda13
[注释]iso:///?iso=SLES-10-x86-DVD1.iso是指定iso文件名。 url=hd:/ 意思是说文件在硬盘根目录下。 ?device=/dev/hda13 是指定分区。
如果是CD版,指定CD1就指定了所有的映像为安装源了;只是在安装过程中会提示需要CD2 CD3 CD4 CD5 ... 如果这些CD版的iso文件在同目录下,只需要在提示中点击 “详细情况” 在安装源中改 文件名的数字。不在同一目录的,就比较麻烦,需要按格式指定路径。
直接指定某分区子目录下的 iso 文件
例:
iso:///?iso=openSUSE-10.2-Beta2-DVD-i386.iso&url=hd:///opensuse/?device=/dev/hda13&filesystem=auto
[注释] iso:///?iso=openSUSE-10.2-Beta2-DVD-i386.iso是指定iso文件名。 url=hd:///opensuse/ 是表示路径在硬盘的 /opensuse/ 目录 。 ?device=/dev/hda13 表示位于/dev/hda13 这个分区上。
例:
iso:///?iso=openSUSE-10.2-GM-DVD-i386.iso&url=hd:///opensuse/openSUSE-10.2-GM-DVD-i386-iso/?device=/dev/hda13&files=auto
指定本地目录:
例:
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
//////////////////////////////////////////////////////////////
方法如下:
//////////////////////////////////////////////////////////////
Libzypp/Media/Url/ISO
From openSUSE
< Libzypp
[edit]
MediaISO
The access handler for media in a ISO image (loopback mount).
* Scheme:
* iso
* Examples:
iso:/?iso=/path/to/CD1.iso
iso:/?iso=CD1.iso&url=dir:/path/to
iso:/?iso=CD1.iso&url=nfs://server/path/to/media
iso:/?iso=CD1.iso&url=hd:/?device=/dev/hda
iso:/subdir?iso=CD1.iso&url=nfs://nfs-server/directory&mnt=/nfs/attach/point&filesystem=iso9660
* Query parameters:
* iso: Mandatory parameter specifying the name of the iso file.
If the url parameter is missed, the iso parameter has to contain an absolute iso file name.
* url: Optional parameter specifying the URL to the directory containing the iso file.
The supported URL schemes are: hd, dir, file, nfs, smb, cifs.
* mnt: Optional parameter specifying the prefered attach point for the source media url.
* filesystem: Optional name of the filesystem used in the iso file. Defaults to "auto".
* Authority: A non-empty authority URL component is not allowed.
* Path name: Mandatory URL component, that specifies a subdirectory inside of the iso file,
where the desired files are located.
******************************************************************************************************************* |
|