当前位置:网站首页>配置Jupyter远程服务器
配置Jupyter远程服务器
2022-07-28 11:22:00 【红烧code】
配置 J u p y t e r Jupyter Jupyter远程服务器
1. 生成 J u p y t e r N o t e b o o k / L a b Jupyter Notebook/Lab JupyterNotebook/Lab配置文件
这里以 N o t e b o o k Notebook Notebook为例:
jupyter notebook --generate-config
输出:
/root/.jupyter/jupyter_notebook_config.py
2. 修改 J u p y t e r Jupyter Jupyter默认配置
首先生成密码的哈希值,使用 P y t h o n Python Python运行:
from notebook.auth import passwd
passwd()
打开上述 j u p y t e r _ n o t e b o o k _ c o n f i g . p y jupyter\_notebook\_config.py jupyter_notebook_config.py文件,在文件尾追加:
c.NotebookApp.allow_remote_access = True
c.NotebookApp.allow_root = True
c.NotebookApp.ip = '0.0.0.0'
c.NotebookApp.password = 'password hash value' # 自己刚刚生成的密码哈希值
c.NotebookApp.open_browser = False
3. 挂在后台运行
nohup jupyter notebook --allow-root &
4. 访问成功

边栏推荐
- Traversal and copy of files in jar package
- 2022.07.11 summer training personal qualifying (VI)
- Know the optical fiber interface and supporting optical fiber cable of can optical fiber converter in fire alarm networking
- 2022.07.07 summer training personal qualifying (II)
- Lua对table进行深拷贝
- R language ggplot2 visualization: use the ggdotplot function of ggpubr package to visualize dot plot, set the add parameter, add violin graph to the dot plot, and add the vertical line of mean standar
- IDEA复制模块
- An idea plug-in helps you transform dto, VO, Bo, Po, do gracefully
- Loongarch Godson architecture document collection
- Unity 一键替换场景中的物体
猜你喜欢

Today's sleep quality record 74 points

Full resolution of the use of go native plug-ins

Interpretable ml of Li Hongyi's machine learning model

Techniques for visualizing large time series.

Distributed system (III) construction of distributed transaction service

China business CDP white paper | love Analysis Report

Modify the running container port mapping

The principle and use of the wrap file of tolua

Redis安装

Unity one key replacement of objects in the scene
随机推荐
Interfaces and abstract classes
ES6 knowledge points supplement
Detailed explanation of boost official website search engine project
2022.07.08 summer training personal qualifying (III)
LyScript 获取上一条与下一条指令
2022.07.06 summer training personal qualifying (I)
Docker runs MySQL service
R language ggplot2 visualization: use the ggdotplot function of ggpubr package to visualize the grouped dot plot, set the palette parameter, and set the color of data points in different grouped dot p
强缓存、协商缓存具体过程
Specific process of strong cache and negotiation cache
Alexnet - paper analysis and reproduction
DNS series (III): how to avoid DNS spoofing
2022.07.10 summer training personal qualifying (V)
Simple selection sort and heap sort
使用百度飞桨 EasyDL 完成垃圾分类
玩转诗词-领略古诗文之美
R language uses dplyr package group_ By function and summarize function calculate the mean value of all covariates involved in the analysis based on grouped variables (difference in means of covariate
游戏流程与底层实现 逐步完成
Test platform (V) knowledge points supplement
移动端人脸风格化技术的应用