[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
es:howtos:network_services:home_nfs_howto [2019/02/14 15:39 (UTC)] – slackwarespanol | es:howtos:network_services:home_nfs_howto [2019/02/14 15:59 (UTC)] (actual) – slackwarespanol | ||
---|---|---|---|
Línea 1: | Línea 1: | ||
- | <note warning> | ||
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
< | < | ||
Línea 17: | Línea 16: | ||
| | ||
if you set it up incorrectly.</ | if you set it up incorrectly.</ | ||
- | Setting up a secure NFS does require some additional work, but as good security habits start at home, these steps will also be presented. | ||
- | For the purposes of this example: | + | La configuración de un NFS seguro requiere un trabajo adicional, pero como los buenos hábitos de seguridad comienzan en casa, estos pasos también se presentarán. |
- | * the desktop computer will be called DESKTOP and has an IP address 10.1.1.2 | + | Para los propósitos de este ejemplo: |
- | | + | * la computadora de escritorio se llamará DESKTOP y tiene una dirección |
- | | + | * la computadora portátil se llamará |
- | Both computers will be setup to act as NFS servers as well as clients. | + | * o la computadora portátil se llamará LAPTOP-W y tiene una dirección IP 10.1.1.4 mediante una conexión inalámbrica |
+ | |||
+ | Ambas computadoras se configurarán para que actúen como servidores | ||
+ | |||
+ | ===== Configuración de acceso ===== | ||
- | ** - Access settings -** | ||
**/ | **/ | ||
- | On the desktop computer | + | En la computadora de escritorio |
< | < | ||
10.1.1.4 | 10.1.1.4 | ||
- | On the laptop computer | + | En la computadora portátil |
< | < | ||
**/ | **/ | ||
- | On both machines add | + | En ambas máquinas agregue |
< | < | ||
lockd:ALL | lockd:ALL | ||
Línea 48: | Línea 50: | ||
**/ | **/ | ||
- | On the desktop computer add | + | En la computadora de escritorio agregar |
< | < | ||
portmap: 10.1.1.3 , 10.1.1.4 | portmap: 10.1.1.3 , 10.1.1.4 | ||
Línea 56: | Línea 58: | ||
statd: 10.1.1.3 , 10.1.1.4</ | statd: 10.1.1.3 , 10.1.1.4</ | ||
- | On the laptop computer add | + | En la computadora portátil agregar |
< | < | ||
portmap: 10.1.1.2 | portmap: 10.1.1.2 | ||
Línea 63: | Línea 65: | ||
mountd: 10.1.1.2 | mountd: 10.1.1.2 | ||
statd: 10.1.1.2</ | statd: 10.1.1.2</ | ||
- | The syntax in the above examples can be altered, e.g. 10.1.1. | + | |
+ | La sintaxis en los ejemplos anteriores se puede alterar, p. Ej. 10.1.1. | ||
**/ | **/ | ||
- | On the desktop computer add | + | En la computadora de escritorio agregar |
< | < | ||
/ | / | ||
Línea 73: | Línea 76: | ||
/ | / | ||
LAPTOP-W(rw, | LAPTOP-W(rw, | ||
- | On the laptop computer add | + | En la computadora portátil agregar |
< | < | ||
/ | / | ||
- | Comments | + | Comentarios: |
- | * The no_root_squash | + | |
- | | + | * Permitir el acceso a todo el sistema de archivos raíz es muy permisivo. La restricción |
- | | + | * Se requiere la opción Nohide para mostrar el contenido de otras particiones montadas. |
+ | ==== Daemon startup ==== | ||
- | ** - Daemon startup -** | ||
**/ | **/ | ||
- | + | Compruebe que este archivo es ejecutable en ambos equipos | |
- | Check that this file is executable on both computers | + | |
**/ | **/ | ||
- | Check that this file is executable on both computers. (Not strictly necessary as / | + | Compruebe que este archivo es ejecutable en ambos equipos. (No es estrictamente necesario ya que / |
+ | ==== Puertos de enlace | ||
- | ** - Binding ports -** | ||
- | **a) Slackware | + | **a) Versiones de Slackware |
+ | Para usar NFS a través del firewall, siga esta guía citada textualmente. Gracias rworkman! | ||
+ | De http:// | ||
- | To use NFS through the firewall follow this guide that is quoted verbatim. Thanks rworkman! | ||
- | From http:// | ||
< | < | ||
user-specified ports instead of random ports assigned by the portmapper. | user-specified ports instead of random ports assigned by the portmapper. | ||
Línea 237: | Línea 239: | ||
</ | </ | ||
- | **b) Slackware | + | **b)Versión de Slackware |
- | To use NFS through the firewall | + | hora es más fácil usar NFS a través del firewall, |
**/ | **/ | ||
Línea 273: | Línea 275: | ||
#</ | #</ | ||
- | ** - Firewall | + | ==== Configuración de Firewall |
**/ | **/ | ||
- | Here are some example lines to allow NFS | + | Aquí hay algunas líneas de ejemplo para permitir |
< | < | ||
# Accept TCP and UDP on port 111 from local LAN for portmap | # Accept TCP and UDP on port 111 from local LAN for portmap | ||
Línea 307: | Línea 310: | ||
</ | </ | ||
- | The work is done! Everything should now be in place. After rebooting both machines it should now be possible to: | + | ¡El trabajo está hecho! Todo debería estar ahora en su lugar. Después de reiniciar ambas máquinas, ahora debería ser posible: |
- | | + | * monte el sistema de archivos raíz en la computadora de escritorio en el directorio |
< | < | ||
- | * mount the root file system on the laptop computer on the / | + | * monte el sistema de archivos raíz en la computadora portátil en el directorio |
< | < | ||
- | ====== | + | ====== |
* http:// | * http:// | ||
* http:// | * http:// | ||
+ | * Traducido por: [[wiki: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
{{tag> | {{tag> | ||