Windows下NFS服务器设置
软件需求:SFU
文件要求:passwd ,group 这两个文件为用户自己的密码和组文件。
示例:passwd内容
root:x:0:0:root:/root:/bin/sh
group内容
root:x:0:
安装
将passwd和group两个文件直接复制到本地C:\盘
运行SFU35BETA_EN.exe,这是一个自解压文件,指定一个目录,释放压缩的文件。
在释放目录中,运行SfuSetup.msi,出现Micorsoft Windows Services for UNIX Setup wizard窗口。
点击Next,出现Customer Information窗口。
点击Next,出现License and Support Information窗口,选中“I accept the agreement”。
点击Next,出现Installation Options窗口。
选择Custom Installation,点击Next,出现Selecting Components窗口。
点击Utilities目录项,选择Entire feature will not be available,该项的图标变为一个棕色的叉号。
对“Interix GNU components”“Remote Connectivity”使用相同的选择。
点击NFS目录项,选择Entire Feature (including all subfeature if any) will be installed on local hard drive,该项的图标变为一个白色背景的驱动器。
对“Authentication tools for NFS”使用相同的选择, 选择Entire Feature (including all subfeature if any) will be installed on local hard drive。
最终只有“Authentication tools for NFS”和“NFS”两项是完全安装,其他各项都不安装。
点击Next,出现User Name Mapping窗口,选中Password and group files。
点击Next,在Password file path and name下的空白栏中输入C:\passwd,在Group file path and name下的空白栏中输入C:\group。
点击Next,出现Installationg Location窗口,选择安装位置。
点击Next,开始安装(约21MB)。最后选择Finish,结束安装。如提示重启,则重启。 (以上安装过程比较简单,引用网络上文章。)
注:与卡巴斯基互联网套装6.0有冲突,需安装之前关闭卡巴斯基。 共享Windows主机目录
不需重启,对要共享的目录,右键点击出现下拉菜单,选择“属性”,出现目录属性窗口。如图:

