這是本文件的舊版!


NFS

edit /etc/exports

/usr/home/public 140.116.82.0/24 140.116.245.0/24 140.116.246.0/24 -maproot=root
/usr/home/private -ro 140.116.82.0/24 140.116.245.0/24 140.116.246.0/24 -maproot=root

if exports is edited, use service mountd reload to reload

service config

add following to rc.conf

rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_flags="-r"

start service

start nfs server

service nfsd start