Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente | |||
informatique:linux:cfp:nfs-network-file-system:installer-nfs-raspbian-os-10 [2023/02/09 19:10] – ↷ Page déplacée de informatique:linux:nfs-network-file-system:installer-nfs-raspbian-os-10 à informatique:linux:cfp:nfs-network-file-system:installer-nfs-raspbian-os-10 Cédric ABONNEL | informatique:linux:cfp:nfs-network-file-system:installer-nfs-raspbian-os-10 [2023/02/09 19:19] (Version actuelle) – ↷ Liens modifiés en raison d'un déplacement. | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== Installer NFS Raspbian OS 10 ====== | ||
+ | Sous **Raspbian 10**, il faut installer le paquet suivant pour monter et exporter les partages NFS : | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt update | ||
+ | sudo apt install nfs-kernel-server | ||
+ | </ | ||
+ | |||
+ | {{informatique: | ||
+ | |||
+ | -- | ||
+ | |||
+ | Pour apporter des modification dans le démon **NFS**, il est nécessaire de modifier le fichier ''/ | ||
+ | |||
+ | < | ||
+ | # 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 might want to set up | ||
+ | # a fixed port here using the --port option. For more information, | ||
+ | # see rpc.mountd(8) or http:// | ||
+ | # To disable NFSv4 on the server, specify ' | ||
+ | RPCMOUNTDOPTS=" | ||
+ | |||
+ | # Do you want to start the svcgssd daemon? It is only required for Kerberos | ||
+ | # exports. Valid alternatives are " | ||
+ | NEED_SVCGSSD="" | ||
+ | |||
+ | # Options for rpc.svcgssd. | ||
+ | RPCSVCGSSDOPTS="" | ||
+ | </ | ||
+ | |||
+ | -- | ||
+ | |||
+ | Pour apporter des modification dans le paramétrage global de **NFS**, il est nécessaire de modifier le fichier ''/ | ||
+ | |||
+ | < | ||
+ | # If you do not set values for the NEED_ options, they will be attempted | ||
+ | # autodetected; | ||
+ | # for the NEED_ options are " | ||
+ | |||
+ | # Do you want to start the statd daemon? It is not needed for NFSv4. | ||
+ | NEED_STATD= | ||
+ | |||
+ | # Options for rpc.statd. | ||
+ | # | ||
+ | # when you have a port-based firewall. To use a fixed port, set this | ||
+ | # this variable to a statd argument like: " | ||
+ | # For more information, | ||
+ | STATDOPTS= | ||
+ | |||
+ | # Do you want to start the idmapd daemon? It is only needed for NFSv4. | ||
+ | NEED_IDMAPD= | ||
+ | |||
+ | # Do you want to start the gssd daemon? It is required for Kerberos mounts. | ||
+ | NEED_GSSD= | ||
+ | </ |