这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
|
jupyter-notebook_远程访问 [2020/03/22 22:26] admin |
jupyter-notebook_远程访问 [2022/05/22 20:38] (当前版本) admin [2. 生成配置文件] |
||
|---|---|---|---|
| 行 1: | 行 1: | ||
| + | ====== jupyter-notebook/jupyter-lab远程访问 ====== | ||
| + | |||
| ====== 1. 登陆远程服务器 ====== | ====== 1. 登陆远程服务器 ====== | ||
| ====== 2. 生成配置文件 ====== | ====== 2. 生成配置文件 ====== | ||
| - | $jupyter notebook --generate-config | + | <code> |
| - | + | jupyter-notebook --generate-config | |
| + | </code> | ||
| ====== 3. 生成密码 ====== | ====== 3. 生成密码 ====== | ||
| 行 21: | 行 24: | ||
| ====== 4. 修改默认配置文件 ====== | ====== 4. 修改默认配置文件 ====== | ||
| - | $vim ~/.jupyter/jupyter_notebook_config.py | + | ''$vim ~/.jupyter/jupyter_notebook_config.py'' |
| 进行如下修改: | 进行如下修改: | ||
| 行 32: | 行 35: | ||
| ====== 5. 启动jupyter notebook: ====== | ====== 5. 启动jupyter notebook: ====== | ||
| - | $jupyter notebook | + | ''$jupyter notebook'' |