我按照ubuntu的wiki里面服务指南里面的NFS安装顺序进行安装却出现下列问题:
安装顺序:
4.6.1. 安装
* 在终端提示符后键入以下命令安装 NFS 服务器:
sudo apt-get install nfs-kernel-server
4.6.2. 配置
* 您可以配置要输出的目录,您可以在 /etc/exports 文件中添加该目录。例如:
/ubuntu *(ro,sync,no_root_squash)
/home *(rw,sync,no_root_squash)
您可以用主机名来代替 *。尽量指定主机名以便使那些不想其访问的系统访问 NFS 挂载的资源。 您可以在终端提示符后运行以下命令来启动 NFS 服务器:
sudo /etc/init.d/nfs-kernel-server start
问题:当我进行到第2步时救出现了问题:我在文件夹里找到了 /etc/exports文件,当望里面写时(写着两个
/ubuntu *(ro,sync,no_root_squash) 和/home *(rw,sync,no_root_squash)),根本些不进去,它是只读的文件;然后略过这步,执行:
sudo /etc/init.d/nfs-kernel-server start
终端显示:
micheal@ubuntu:~$ sudo /etc/init.d/nfs-kernel-server start
Password:
* Not starting NFS kernel daemon: No exports.
micheal@ubuntu:~$
安装NFS出现问题了!!求助高手!!!帮帮我阿!!!!
-
- 帖子: 13
- 注册时间: 2006-09-28 13:05
-
- 帖子: 9
- 注册时间: 2006-10-11 11:53
Re: 安装NFS出现问题了!!求助高手!!!帮帮我阿!!!!
micheal 写了:我按照ubuntu的wiki里面服务指南里面的NFS安装顺序进行安装却出现下列问题:
安装顺序:
4.6.1. 安装
* 在终端提示符后键入以下命令安装 NFS 服务器:
sudo apt-get install nfs-kernel-server
4.6.2. 配置
* 您可以配置要输出的目录,您可以在 /etc/exports 文件中添加该目录。例如:
/ubuntu *(ro,sync,no_root_squash)
/home *(rw,sync,no_root_squash)
您可以用主机名来代替 *。尽量指定主机名以便使那些不想其访问的系统访问 NFS 挂载的资源。 您可以在终端提示符后运行以下命令来启动 NFS 服务器:
sudo /etc/init.d/nfs-kernel-server start
问题:当我进行到第2步时救出现了问题:我在文件夹里找到了 /etc/exports文件,当望里面写时(写着两个
/ubuntu *(ro,sync,no_root_squash) 和/home *(rw,sync,no_root_squash)),根本些不进去,它是只读的文件;然后略过这步,执行:
sudo /etc/init.d/nfs-kernel-server start
终端显示:
micheal@ubuntu:~$ sudo /etc/init.d/nfs-kernel-server start
Password:
* Not starting NFS kernel daemon: No exports.
micheal@ubuntu:~$
我的QQ:29837437,我已经跟你发了邀请,期待共同进步
-
- 帖子: 4
- 注册时间: 2006-10-29 17:58