Mudanças entre as edições de "NFS"

De MochilaWiki
Ir para navegaçãoIr para pesquisar
Linha 21: Linha 21:
 
== no cliente ==
 
== no cliente ==
 
<source lang="bash">
 
<source lang="bash">
 +
apt-get install nfs-kernel-server nfs-common portmap
 
mkdir /home/backup
 
mkdir /home/backup
 
sudo mount 192.168.1.32:/home1/backup /home/backup
 
sudo mount 192.168.1.32:/home1/backup /home/backup
Linha 26: Linha 27:
  
 
== referencias ==
 
== referencias ==
* http://www.ghacks.net/2010/03/01/share-ubuntu-folders-with-nfs/
+
* http://www.techienote.com/2010/10/file-sharing-in-ubuntu-with-nfs.html
* http://ubuntuforums.org/showthread.php?t=249889
 
* http://www.ubuntugeek.com/nfs-server-and-client-configuration-in-ubuntu.html
 
* http://www.ubuntucampinas.org/?p=94
 
* https://help.ubuntu.com/community/SettingUpNFSHowTo
 

Edição das 19h09min de 17 de agosto de 2012

no servidor

apt-get install nfs-kernel-server
mkdir -p /home1/backup
chmod 777 /home1/backup

acrescente em /etc/exports

/home1/backup 192.168.1.0/24(rw,no_root_squash,async,no_subtree_check)

reiniciar o servidor

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

exportar configuração

exportfs -a

no cliente

apt-get install nfs-kernel-server nfs-common portmap
mkdir /home/backup
sudo mount 192.168.1.32:/home1/backup /home/backup

referencias