Home 如何开启jupyter的远程服务
Post
Cancel

如何开启jupyter的远程服务

本文介绍如何开放jupyter的远程功能。

设置jupyter notebook密码:

1
jupyter notebook password

可以看到如下输出:

1
2
3
Enter password: 
Verify password: 
[NotebookPasswordApp] Wrote hashed password to /home/yyddl/.jupyter/jupyter_notebook_config.json

修改配置文件

执行:

1
2
3
4
5
6
cat ~/.jupyter/jupyter_notebook_config.json
#上面的命令会输出经过hash的密码,下面的步骤会用到。

jupyter notebook --generate-config

vim ~/.jupyter/jupyter_notebook_config.py

修改:

1
2
3
4
5
6
## The IP address the notebook server will listen on.
c.NotebookApp.ip = '0.0.0.0'

#  The string should be of the form type:salt:hashed-password.
c.NotebookApp.password = 'sha1:3573e878e007:ebebac2259023ba.....'

到这里就完成了基本的配置了。

之后通过:

1
jupyter notebook

打开浏览器界面,输入密码即可编码了~

This post is licensed under CC BY 4.0 by the author.
Contents

如何添加新的pub key到远程服务器

3.RNN模型