wiki:computo:jupyternotebook
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaAmbos lados, revisión siguiente | ||
wiki:computo:jupyternotebook [2022/08/10 15:54] srgualpa | wiki:computo:jupyternotebook [2022/10/04 13:48] (actual) srgualpa [Conexión con Sersic] | ||
---|---|---|---|
Línea 10: | Línea 10: | ||
vi $HOME/ | vi $HOME/ | ||
</ | </ | ||
+ | |||
+ | Configuración de PC fuera de la red interna del IATE con Proxycommand | ||
< | < | ||
Host iate | Host iate | ||
HostName iate.oac.uncor.edu | HostName iate.oac.uncor.edu | ||
- | User @nombre_usuario | + | User tu_usuario |
+ | ForwardAgent yes | ||
+ | |||
+ | Host sersic | ||
+ | HostName sersic | ||
+ | User tu_usuario | ||
+ | ProxyCommand ssh iate -W %h:%p | ||
+ | |||
+ | Host alumnos01 | ||
+ | User tu_usuario | ||
+ | hostname alumnos01.oac.uncor.edu | ||
+ | ForwardAgent yes | ||
+ | |||
+ | Host alumnos02 | ||
+ | User tu_usuario | ||
+ | hostname alumnos02.oac.uncor.edu | ||
ForwardAgent yes | ForwardAgent yes | ||
</ | </ | ||
+ | Configuración de PC fuera de la red interna del IATE con proxyjump | ||
< | < | ||
+ | |||
+ | Host iate | ||
+ | HostName iate.oac.uncor.edu | ||
+ | User tu_usuario | ||
+ | ForwardAgent yes | ||
+ | |||
Host sersic | Host sersic | ||
HostName sersic | HostName sersic | ||
- | User @nombre_usuario | + | User tu_usuario |
- | | + | |
+ | |||
+ | Host alumnos01 | ||
+ | User tu_usuario | ||
+ | hostname alumnos01.oac.uncor.edu | ||
+ | ForwardAgent yes | ||
+ | |||
+ | Host alumnos02 | ||
+ | User tu_usuario | ||
+ | hostname alumnos02.oac.uncor.edu | ||
+ | ForwardAgent yes | ||
</ | </ | ||
- | **2. Desde tu PC. Crear un puente a sersic ** | + | |
+ | |||
+ | Configuración de PC en red interna del IATE | ||
< | < | ||
+ | |||
+ | Host sersic | ||
+ | User tu_usuario | ||
+ | ForwardAgent yes | ||
+ | |||
+ | Host alumnos01 | ||
+ | User tu_usuario | ||
+ | hostname alumnos01.oac.uncor.edu | ||
+ | ForwardAgent yes | ||
+ | |||
+ | Host alumnos02 | ||
+ | User tu_usuario | ||
+ | hostname alumnos02.oac.uncor.edu | ||
+ | ForwardAgent yes | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | **2. Desde tu PC.** | ||
+ | < | ||
+ | Para Sersic | ||
ssh -L 9001: | ssh -L 9001: | ||
+ | |||
+ | Para Mirta3 | ||
+ | ssh -L 9002: | ||
+ | |||
+ | Para alumnos01 | ||
+ | ssh -L 9003: | ||
+ | |||
+ | Para alumnos02 | ||
+ | ssh -L 9004: | ||
</ | </ | ||
- | **3. Desde sersic. Crear la notebook ** | + | |
+ | **3. Desde el servidor. Crear la notebook ** | ||
< | < | ||
+ | para sersic | ||
jupyter notebook --no-browser --ip=sersic --port=9001 | jupyter notebook --no-browser --ip=sersic --port=9001 | ||
+ | |||
+ | para mirta3 | ||
+ | jupyter notebook --no-browser --ip=mirta3 --port=9002 | ||
+ | |||
+ | para alumnos01 | ||
+ | jupyter notebook --no-browser --port=9003 | ||
+ | |||
+ | para alumnos02 | ||
+ | jupyter notebook --no-browser --port=9004 | ||
</ | </ | ||
+ | |||
+ | |||
{{ : | {{ : | ||
Línea 53: | Línea 133: | ||
Desde un navegador pones como dirección [[http:// | Desde un navegador pones como dirección [[http:// | ||
+ | |||
+ | <JS> | ||
+ | var acc = document.getElementsByClassName(" | ||
+ | var i; | ||
+ | |||
+ | for (i = 0; i < acc.length; i++) { | ||
+ | acc[i].addEventListener(" | ||
+ | this.classList.toggle(" | ||
+ | var panel = this.nextElementSibling; | ||
+ | if (panel.style.display === " | ||
+ | panel.style.display = " | ||
+ | } else { | ||
+ | panel.style.display = " | ||
+ | } | ||
+ | }); | ||
+ | } | ||
+ | </JS> | ||
wiki/computo/jupyternotebook.1660146879.txt.gz · Última modificación: 2022/08/10 15:54 por srgualpa