Installation
root@Machine:/$ sudo apt update && sudo apt install nfs-kernel-server
Configuration
On doit avoir au préalable un disque monté dans le dossier /mnt/nfs/partage
Dans le fichier export ajouter la ligne suivante puis redémarrer le service.
root@Machine:/$ sudo nano /etc/exports /mnt/nfs/partage *(rw,no_root_squash) <Fichier à partager> <qui peut accéder> (<PARAMS>) root@Machine:/$ sudo service nfs restart
Utiliser le partage
root@Machine:/$ sudo mount <ip-server>:<chemin-du-rep> /mnt