Site Tools


informatique:linux:nfs

This is an old revision of the document!


Créer un partage NFS

Pense bête, je ne m'en rappelle jamais. Procédure pour Debian et consorts.

Install nfs sur le serveur

apt install nfs-kernel-server -y
mkdir //est/le/partage/nfs
chmod -R 755 //est/le/partage/nfs

Éditer /etc/exports, ou 192.168.1.25 est l'IP du client.

//est/le/partage/nfs 192.168.1.25(rw,sync,no_root_squash)

Faire la commande suivante :

exportfs -r

Sur le client

Créer un point de montage.

Dans /etc/fstab :

192.168.1.10://est/le/partage/nfs /mnt/nfs nfs 0,0
informatique/linux/nfs.1726672337.txt.gz · Last modified: 2024/09/18 15:12 by yahiko