suse 11設定nfs

zaizai397發表於2015-01-19

suse:/nfssuse # rpm -qa|grep nfs
yast2-nfs-common-2.17.8-0.2.1
yast2-nfs-client-2.17.17-0.7.71
nfs-client-1.2.3-18.31.1
nfs-doc-1.2.3-18.29.1
limal-nfs-server-1.5.3-0.2.11
limal-nfs-server-perl-1.5.3-0.2.11
nfsidmap-0.25-0.11.29
yast2-nfs-server-2.17.8-0.2.1
nfs-kernel-server-1.2.3-18.29.1這個需要額外安裝,通常安裝系統時沒有安裝

suse:/nfssuse # more /etc/exports同樣也是這個/etc/exports檔案
# See the exports(5) manpage for a description of the syntax of this file.
# This file contains a list of all directories that are to be exported to
# other computers via NFS (Network File System).
# This file used by rpc.nfsd and rpc.mountd. See their manpages for details
# on how make changes in this file effective.

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

suse:~ # service nfsserver status
Checking for kernel based NFS server: running
 mountd                           running
 statd                                running
 nfsd                                 running

suse:~ # showmount -e
Export list for suse:
/nfssuse *

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26003028/viewspace-1406706/,如需轉載,請註明出處,否則將追究法律責任。

相關文章