当前位置:操作系统 > Unix/Linux >>

如何在硬碟建置Linux系统之指定安装来源(Source)

接下来我们要指定用什麽方式安装, 以下画面就是询问用什麽方

  法来安装, 其实也就是问存放媒体是什麽。 以下五种方法中, NFS

  应该算是轻松愉快的安装方法, 假如读者可以上 Internet网路, 或

  者您区域网路中已经有 NFS server, 且其内存放有 Slackware Linux

  软体, 这就可以用 NFS安装。 以下笔者五种方法全部做介绍, 不过

  读者们选择其中之一叁考即可, 其他跳过去无妨。

  其实这五个安装方法都有其类似之处, 就是无论哪一种方法, 都

  必须在安装之前或过程, 把安装来源 (软碟?硬碟?CD-ROM 或 NFS

  等等) 挂 (Mount) 在安装软体系统 (其实已经是一个阳春 Linux系

  统) 之下的一个目录。 以硬碟来安装来说, 很多朋友的作法是先把

  Linux系统软体存放在同一部电脑的硬碟内 DOS 系统分割区内, 这情

  况的作法, 是把该 DOS 分割区挂上来, 并指定切确路径。 CD-ROM

  安装法也很类似, 但我们必须先拿支援该品牌 CD-ROM 的bootdisk,

  启动後把 CD-ROM drive挂上来成为系统的一部份, 并指定切确路径。

  NFS 也是一样, 不过一些起码网路基本常识要具备, 程序上也类似,

  只不过多了一道网路设定程序, 网路设定成功後, 把远端 NFS server

  所 export 的目录挂上来。

  以上所描述的操作动作, 并不需要透过命令执行, 而是在萤幕画

  面上回答一些问题或者做一些选择即可。 细节的操作请看下面例子。

  软碟安装法

  选择磁片安装的话, 我们必须事先拷贝所有的磁片, 要嘛从CD-ROM

  拷贝下来, 或者从 Internet FTP 档案库, 或者从 BBS或任何地方都

  可以。 确定您要由磁片安装後, 操作上下方向键, 把反白移至选项

  〃2〃, 之後按 键。

  << 画面 4-28 >>

  __________________ SOURCE MEDIA SELECTION ____________________

  ? ?

  ? Where do you plan to install Slackware Linux from? ?

  ? ?

  ? __________________________________________________________ ?

  ?? 1 Install from a hard drive partition ??

  ?? 2 Install from floppy disks ??

  ?? 3 Install via NFS ??

  ?? 4 Install from a pre-mounted directory ??

  ?? 5 Install from CD-ROM ??

  ? __________________________________________________________ ??

  ______________________________________________________________ ?

  ? < OK > ?

  ______________________________________________________________ ?

  接下来步骤是选择磁碟机规格, 其中有四个选项, <在画面 4-29>

  请选择其中之一。

  << 画面 4-29 >>

  ______________________ SELECT FLOPPY DRIVE ______________________

  ? ?

  ? The base Slackware series (A) can be installed from 1.2M ?

  ? or 1.44M media. Most of the other disks will not fit on ?

  ? 1.2M media, but can be downloaded to your hard drive and ?

  ? installed from there later. ?

  ? ?

  ? Which drive do you want to install from? ?

  ? ____________________________________________________________ ??

  ?? /dev/fd0H1440 1.44M drive a: ??

  ?? /dev/fd1H1440 1.44M drive b: ??

  ?? /dev/fd0h1200 1.2M drive a: ??

  ?? /dev/fd1h1200 1.2M drive b: ??

  ? ____________________________________________________________ ??

  ? ?

  ________________________________________________________________ ?

  ? < OK > ?

  ________________________________________________________________

  NFS网路 安装法

  透过 NFS 安装其实没有想像困难, 以下的操作过程, 一开始先

  设定 NFS 网路部份, 我们要指定我们这机机器的 IP, 以及网路上另

  外一部 NFS server的 IP, 接着, 我们指定该 server的档案存放路

  径, 就是这样。

  至於有关於网路的技术部份, 我们在此完全没有解释, 比方以下

  所需要的基本网路资料, 像是本机器的 IP地址? Netmask? Broadcast

  及 Gateway 位址等等资料, 您必须自行询问您所属网路管理单位, 不

  要引用下面资料。 至於网路上公开性的 NFS server, 交大资工提供有这

  服务, 其 NFS server IP 地址是 140.113.235.252 (linux.csie.nctu.edu.tw)

  , 其存放路径是 /Slcakware (请注意大小写)。

  << 画面 4-30 >>

  __________________ SOURCE MEDIA SELECTION ____________________

  ? ?

  ? Where do you plan to install Slackware Linux from? ?

  ? ?

  ? __________________________________________________________ ??

  ?? 1 Install from a hard drive partition ??

  ?? 2 Install from floppy disks ??

  ?? 3 Install via NFS ??

  ?? 4 Install from a pre-mounted directory ??

  ?? 5 Install from CD-ROM ??

  ? __________________________________________________________ ??

  ______________________________________________________________ ?

  ? < OK > ?

  ______________________________________________________________ ?

  以下讯息浏览一下, 之後按 , 开始进行设定 NFS client。

  << 画面 4-31 >>

  ____________________ INSTALLATION THROUGH NFS ____________________?

  ? ?

  ? WARNING! Installing via NFS can be a real time-saver if you're ?

  ? good with TCP/IP, but is a tricky installation choice for the ?

  ? beginner. Some of the things you may have to do to get this ?

  ? option to work include: ?

  ? ?

  ? -- Setting up an /etc/networks file on the bootdisk ?

  ? -- Mandatory: getting the source directory exported from ?

  ? your NFS server ?

  ? -- Starting up 'portmap' ?

  ? ?

  ? Are you sure you want to try to install via NFS? ?

  ? ?

  __________________________________________________________________?

  ? < Yes > < No > ?

  __________________________________________________________________?

  下面画面回答所安装这部机器的 IP 地址。

  << 画面 4-32 >>

  ______________________ ASSIGN IP ADDRESS ______________________?

  ?
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,