nfs 文件共享 服务

需要rpc服务:

[root@xujiaxuan ftp]# service rpcbind start
[root@xujiaxuan ftp]# chkconfig rpcbind on  设置开机自动启动
开启nfs服务:

[root@xujiaxuan ftp]# service nfs start
[root@xujiaxuan ftp]# chkconfig nfs on

fail screenshot:

# yum install gnome-utils -y

Alt键+PrintScreen 截图为当前窗口

修改:vi /etc/exports 

/a      10.16.173.93(sync)
更新: exportfs -r
查看: exportfs -v

然后再客户端,或其它机子上面:

挂载:

mount -t nfs 10.16.173.93:/a /mnt/  也可以按照上次的文件方式来进行每次启动时自动挂载。

 如果没此时无法同时在服务器与客户端都可以读写文件,则可以使用root用户在服务器chmod 777 文件名

 

 

 

 

posted @ 2013-06-18 22:49  xjx_user  阅读(449)  评论(0编辑  收藏  举报