Instalación De Nfs4 Server En Ubuntu
Creación del servidor nfs4
user@hwdnode:~$ sudo apt-get install nfs-kernel-server firehol portsentry
user@hwdnode:~$ sudo emacs/etc/default/nfs-kernel-server
# Number of servers to start up
RPCNFSDCOUNT=8
# Runtime priority of server (see nice(1))
RPCNFSDPRIORITY=0
# Options for rpc.mountd.
# If you have a port-based firewall, you mightwant to set up
# a fixed port here using the --port option. For more information,
# see rpc.mountd(8) or http://wiki.debian.org/?SecuringNFS
RPCMOUNTDOPTS=--manage-gids
# Do you want to startthe svcgssd daemon? It is only required for Kerberos
# exports. Valid alternatives are "yes" and "no"; the default is "no".
NEED_SVCGSSD=no
# Options for rpc.svcgssd.
RPCSVCGSSDOPTS=user@hwdnode:~$ sudo emacs /etc/default/nfs-common
# If you do not set values for the NEED_ options, they will be attempted
# autodetected; this should be sufficient for most people. Validalternatives
# for the NEED_ options are "yes" and "no".
# Do you want to start the statd daemon? It is not needed for NFSv4.
NEED_STATD=
# Options for rpc.statd.
# Should rpc.statd listen on aspecific port? This is especially useful
# when you have a port-based firewall. To use a fixed port, set this
# this variable to a statd argument like: "--port 4000 --outgoing-port 4001".
# Formore information, see rpc.statd(8) or http://wiki.debian.org/?SecuringNFS
STATDOPTS=
# Do you want to start the idmapd daemon? It is only needed for NFSv4.
NEED_IDMAPD=yes
# Do you want tostart the gssd daemon? It is required for Kerberos mounts.
NEED_GSSD=no
user@hwdnode:~$ sudo mkdir /srv/blobstorage
user@hwdnode:~$ sudo emacs /etc/exports
/srv/aaa.bbb.ccc.ddd.eee/27(ro,fsid=0,no_subtree_check,async)
/srv/blobstorage aaa.bbb.ccc.ddd.eee/27(ro,async,nohide,insecure,async,no_subtree_check)
user@hwdnode:~$ sudo service portmap restart
user@hwdnode:~$ sudo service...
Regístrate para leer el documento completo.