martes, 4 de noviembre de 2008
Configuracion de servidor NFS en Opensuse 11.!
PASOS DE CONFIGURACION PARA SERVIDOR DE NFS.
----------------SERVER-----------------------------------------------
*ifconfig eth0 192.168.1.103 <- servidor
eth0 192.168.1.104 <- clientes
*cd etc
*vi exports
* ->Agregar la direccion en para accesar al server nfs.
/Direc_remoto ipserver(permiso) ipcliente(permisos)
/home/cacheton 192.168.1.103(rw,sync) 192.168.1.104(ro,sync)
*vi host.allow
portmap: 192.168.1.104/255.255.255.0
*vi host.deny
portmap: ALL
*->Se restaura las configuracion de nfs y del portmap
init.d/nfs restart
init.d/portmap restart
*Agregamos los archivos a compartir.
touch archivo.
---------------CLIENTES----------------------------------------------------
*mount 192.168.1.103:/home/cacheton /home/pub <-Montar las carpetas (carpeta remota & carpeta local).
*umount 192.168.1.103:/home/cacheton /home/pub <-Desmontar
*Para editar al /etc/fstab
192.168.1.103:/home/cacheton /home/pub nfs rw, hard,intr, 0 0 (tal vez funcione).
Garcia Felix Cesar Augusto.
4 de noviembre del 2008
----------------SERVER-----------------------------------------------
*ifconfig eth0 192.168.1.103 <- servidor
eth0 192.168.1.104 <- clientes
*cd etc
*vi exports
* ->Agregar la direccion en para accesar al server nfs.
/Direc_remoto ipserver(permiso) ipcliente(permisos)
/home/cacheton 192.168.1.103(rw,sync) 192.168.1.104(ro,sync)
*vi host.allow
portmap: 192.168.1.104/255.255.255.0
*vi host.deny
portmap: ALL
*->Se restaura las configuracion de nfs y del portmap
init.d/nfs restart
init.d/portmap restart
*Agregamos los archivos a compartir.
touch archivo.
---------------CLIENTES----------------------------------------------------
*mount 192.168.1.103:/home/cacheton /home/pub <-Montar las carpetas (carpeta remota & carpeta local).
*umount 192.168.1.103:/home/cacheton /home/pub <-Desmontar
*Para editar al /etc/fstab
192.168.1.103:/home/cacheton /home/pub nfs rw, hard,intr, 0 0 (tal vez funcione).
Garcia Felix Cesar Augusto.
4 de noviembre del 2008
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario