nfs on 17.04

Tom H tomh0665 at gmail.com
Sat Jul 1 12:34:58 UTC 2017


On Thu, Jun 29, 2017 at 5:44 PM, Little Girl <littlergirl at gmail.com> wrote:
> Tom H wrote:
>>
>> I've just had a chance to look at the links that you'd first posted.
>>
>> https://help.ubuntu.com/community/SettingUpNFSHowTo
>>
>> is a mess. All of the "portmap" instances should be changed to
>> "rpcbind" or some should be changed to "portmapper" and others (like
>> "sudo service portmap restart") to "rpcbind".
>
> Shameless plug:
>
> https://mostlylinux.wordpress.com/network/nfshowto/

:)

A much better howto than the official documentation!

A few observations.

1) "sudo apt-get install nfs-kernel-server nfs-common rpcbind":

"sudo apt-get install nfs-kernel-server" is enough because
"nfs-kernel-server" depends on "nfs-common" and "nfs-common" depends
on "rpcbind", so the latter two will be installed with the first
command and because then the latter two will be marked as installed
automatically and be removed or be marked for removal if/when you
remove "nfs-kernel-server".

2)  "sudo dpkg-reconfigure rpcbind":

This doesn't do anything

root at localhost ~ # grep rpcbind /var/cache/debconf/*
root at localhost ~ #

3) "kdesudo ..." and "gksudo ...":

You'll have to keep an eye on future releases because, once they
default on Wayland, this won't be possible - unless Ubuntu sets up the
polkit infrastructure to do so.

4) "sudo /etc/init.d/nfs-kernel-server restart"

"sudo service nfs-kernel-server restart" so as not to inject any
envvars into the nfs server.




More information about the ubuntu-users mailing list