lunedì 27 settembre 2010

Debian - Attivazione NFS

Da "man fs":
nfs is the network file system used to access disks located on remote computers

Install:
apt-get install nfs-kernel-server
Configure:
/etc/exports
/home/davide 192.168.0.0/255.255.255.0(rw,sync,no_subtree_check)
/etc/hosts.allow
portmap: 192.168.0.0/255.255.255.0
/etc/hosts.deny
portmap: ALL

Reload:
/etc/init.d/nfs-kernel-server restart

Per non dover digitare sul client l'indirizzo di questo computer quando monto la directory nfs, e visto che ho un server "dhcp" :), ho sistemato anche il file "/etc/dhcp3/dhclient.conf" modificando la riga3
#send host-name "non_mi_ricordo_cosa_c'era_scritto";
in
send host-name "metal";

Ho chiamato il pc "metal", sto` identificando i miei pc con i vari generi musicali :P

Nessun commento:

Posta un commento