Mudanças entre as edições de "NFS"
De MochilaWiki
Ir para navegaçãoIr para pesquisarLinha 25: | Linha 25: | ||
sudo mount 192.168.1.32:/home1/backup /srv/backup | sudo mount 192.168.1.32:/home1/backup /srv/backup | ||
</source> | </source> | ||
+ | |||
+ | 192.168.1.32:/home1/backup /srv/backup/ nfs defaults 0 0 | ||
== referencias == | == referencias == | ||
* http://www.techienote.com/2010/10/file-sharing-in-ubuntu-with-nfs.html | * http://www.techienote.com/2010/10/file-sharing-in-ubuntu-with-nfs.html |
Edição das 19h42min 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 /srv/backup
sudo mount 192.168.1.32:/home1/backup /srv/backup
192.168.1.32:/home1/backup /srv/backup/ nfs defaults 0 0