informatica:linux:nfs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
informatica:linux:nfs [2013/07/03 11:29] – [Configuracion servidor] javi | informatica:linux:nfs [2013/09/26 18:57] – javi | ||
---|---|---|---|
Line 217: | Line 217: | ||
| /srv/svn | / | | /srv/svn | / | ||
- | En el servidor se instalan los paquetes: | + | 1. Servidor: |
sudo aptitude install nfs-common nfs-kernel-server | sudo aptitude install nfs-common nfs-kernel-server | ||
- | NOTA: en principio | + | 2. Cliente: |
+ | |||
+ | sudo aptitude install nfs-common | ||
+ | |||
+ | NOTA: en principio | ||
==== Configuracion comun (misma en servidor y cliente) ==== | ==== Configuracion comun (misma en servidor y cliente) ==== | ||
Line 285: | Line 290: | ||
==== Configuracion cliente ==== | ==== Configuracion cliente ==== | ||
- | 1. Instalar estos paquetes: | + | 1. Ver los recursos que ofrece el servidor: |
- | + | ||
- | sudo aptitude install nfs-common | + | |
- | + | ||
- | 2. Ver los recursos que ofrece el servidor: | + | |
sudo showmount -e nfs_server.example.com | sudo showmount -e nfs_server.example.com | ||
- | |||
- | Export list for nfs_server.example.com: | ||
- | /srv 10.2.3.0/ | ||
2. Montar el recurso: | 2. Montar el recurso: | ||
- | sudo mount -v -t nfs4 nfs_server.example.com:/ | + | sudo mount -v -t nfs4 nfs_server.example.com:/ |
- | + | ||
- | This will mount nfs_server.example.com:/ | + | |
3. Comprobar permisos: | 3. Comprobar permisos: | ||
- | ls -la /mnt/mount_point_of_nfs | + | ls -la /mnt/nfs |
**NO** deberia pertenecer a nobody: | **NO** deberia pertenecer a nobody: | ||
Line 314: | Line 310: | ||
Y anyadir la siguiente entrada: | Y anyadir la siguiente entrada: | ||
- | | + | |
5. Ahora lo puede montar cualquier usuario: | 5. Ahora lo puede montar cualquier usuario: | ||
- | mount /mnt/mount_point_of_nfs | + | mount /mnt/nfs |
informatica/linux/nfs.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1