[root@NFS ~]# rpcinfo -p (查看一下RPC注册的端口号)
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100011 1 udp 879 rquotad
100011 2 udp 879 rquotad
100011 1 tcp 882 rquotad
100011 2 tcp 882 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100021 1 udp 14392 nlockmgr
100021 3 udp 14392 nlockmgr
100021 4 udp 14392 nlockmgr
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 tcp 7455 nlockmgr
100021 3 tcp 7455 nlockmgr
100021 4 tcp 7455 nlockmgr
100005 1 udp 914 mountd
100005 1 tcp 917 mountd
100005 2 udp 914 mountd
100005 2 tcp 917 mountd
100005 3 udp 914 mountd
100005 3 tcp 917 mountd
[root@NFS ~]# mkdir /share (新建一个目录用于NFS共享)
[root@NFS ~]# cd / (回到根目录)
[root@NFS /]# ll (查看一下)
total 166
drwxr-xr-x 2 root root 4096 Mar 23 20:52 bin
drwxr-xr-x 4 root root 1024 Mar 23 18:18 boot
drwxr-xr-x 12 root root 4220 May 27 19:42 dev
drwxr-xr-x 84 root root 4096 May 27 20:15 etc
drwxr-xr-x 3 root root 4096 Mar 23 22:26 home
drwxr-xr-x 11 root root 4096 Mar 23 20:52 lib
drwxr-xr-x 7 root root 12288 Mar 23 20:52 lib64
drwx------ 2 root root 16384 Mar 23 18:14 lost+found
drwxr-xr-x 2 root root 4096 Jan 27 2010 media
drwxr-xr-x 2 root root 4096 Mar 31 2010 misc
drwxr-xr-x 2 root root 4096 Jan 27 2010 mnt
drwxr-xr-x 2 root root 4096 Jan 27 2010 opt
dr-xr-xr-x 79 root root 0 May 27 19:41 proc
drwxr-x--- 2 root root 4096 Mar 23 22:24 root
drwxr-xr-x 2 root root 12288 Mar 23 20:52 sbin
drwxr-xr-x 2 root root 4096 Mar 23 18:14 selinux
drwxr-xr-x 2 root root 4096 May 27 20:16 share
drwxr-xr-x 2 root root 4096 Jan 27 2010 srv
drwxr-xr-x 11 root root 0 May 27 19:41 sys
drwxrwxrwt 3 root root 4096 May 27 19:42 tmp
drwxr-xr-x 15 root root 4096 Mar 23 18:16 usr
drwxr-xr-x 20 root root 4096 Mar 23 18:17 var