NFS 方式安装ThizLinux

由 t608 在 08-15-2004 23:50 发表:

NFS 方式安装ThizLinux

提供nfs安装服务器端

ThizLinux7.0的安装盘共有两张(disk1,disk2)主要目录树结构为:

http://blog.csdn.net/t608/archive/2004/08/15/75633.aspx

在/下建立一个install目录,按照Thizlinux的安装盘目录结构, 分别复制disk1、disk2的具体内容至/install下的相应目录,目录结 构如下:

http://blog.csdn.net/t608/archive/2004/08/15/75633.aspx

编辑/etc/exports文件将/install目录共享。

启动portmap服务:service portmap start[restart]。

启动nfs服务:service nfs start[restart]。至此,提供nfs安装的server配置完毕,接下来开始配置client(假设服务器ip:192.168.0.1,客户ip:192.168.0.5):

Client配置

本例以本地硬盘作为开机引导(正常情况应该使用引导盘引导机器后,选择nfs image安装方式):

1.启动portmap服务:service portmap start[restart].

2.启动nfs服务:service nfs start[restart].

3.挂载/install目录:mount -t nfs IP:/install /mnt/sys

4.在/boot目录下新建net_install目录

5.拷贝/mnt/sys/images/bootnet.img 至/mnt

6.挂载bootnet.img文件:

mount -o loop /mnt/bootnet.img /mnt/img

7.cp /mnt/img/* /boot/net_install/

8.vi /boot/net_install/syslinux.cfg

参考该文件的内容

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus