1.Start nfs kernel support
File systems --->
[*] Network File Systems --->
<*> NFS server support
[*] NFS server support for NFS version 3
[*] NFS server support for the NFSv3 ACL protocol extension
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
2.Install need lib
yum install nfs-utils-lib-devel.x86_64
or
wger http://www.monkey.org/~provos/libevent-2.0.10-stable.tar.gz
tar zxf libevent-2.0.10-stable.tar.gz
./configure
make && make install
3.Install NFS-utils
wget http://downloads.sourceforge.net/project/nfs/nfs-utils/1.2.3/nfs-utils-1.2.3.tar.bz2
tar zxf nfs-utils-1.2.3.tar.bz2
./configure --disable-tirpc --disable-gss
make && make install
4.mount nfs filesystem
mount -t rpc_pipefs sunpc /var/lib/nfs/rpc_pipefs
mount -t nfsd nfsd /proc/fs/nfsd
5.Start nfs
service nfs start
If no error display on console, represent you success
Reference:
http://www.arm9home.net/simple/index.php?t1543.html
沒有留言:
張貼留言