informatica:linux:nfs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
informatica:linux:nfs [2013/07/03 11:25] – [Instalacion] javi | informatica:linux:nfs [2013/07/03 11:33] – [Configuracion cliente] 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 | ||
+ | 2. Cliente: | ||
+ | |||
+ | sudo aptitude install nfs-common | ||
+ | | ||
NOTA: en principio winbind **NO** hace falta | NOTA: en principio winbind **NO** hace falta | ||
- | ==== Configuracion servidor ==== | + | |
+ | ==== Configuracion | ||
1. Configurar los siguientes archivos: | 1. Configurar los siguientes archivos: | ||
Line 266: | Line 271: | ||
**IMPORTANTE**: | **IMPORTANTE**: | ||
+ | |||
+ | ==== Configuracion servidor ==== | ||
+ | |||
+ | 0. Realizar los pasos anteriores | ||
+ | |||
+ | 1. Configurar los siguientes archivos: | ||
**/ | **/ | ||
- | /srv | + | /srv |
2. Se reinicia el servicio: | 2. Se reinicia el servicio: | ||
Line 279: | 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 308: | 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