关于linux中nfs服务器的搭建

来源:互联网 发布:unity3d宣传片 编辑:程序博客网 时间:2024/05/21 02:36

由于开发需要,今天搭建了一个NFS。

本人使用的是fedora14系统,IP 192.168.1.104   gate-way 192.168.1.1 mask 255.255.255.0

nfs 的两个安装包 rpcbind ,nfs-utils

yum install rpcbind

yum install nfs-utils

gedit /etc/exports           

在nfs的配置文件中加入

/*/* *(sync,rw,no_root_squash)

service rpcbind restart

service nfs restart



测试nfs

mount 192.168.1.104:/*/* /mnt/nfs

0 0