您的位置:首页 > 其它

如何搭建服务器的远程jupyter notebook

2019-02-17 11:02 387 查看

参考网站
https://blog.csdn.net/ARPOSPF/article/details/80236197
第一步 生成配置文件
jupyter notebook --generate-config

第二步 生成密码
ipython3
输入如下内容
from notebook.auth import passwd
passwd()
记住刚刚生成的密码

第三步 修改配置文件
c.NotebookApp.ip = ‘*’
c.NotebookApp.notebook_dir=’/mnt/4T/shj/jupyter’
c.NotebookApp.open_browser=False c.NotebookApp.password=u’sha1:a25f81cec217:163eec9663bbbfa14294e94bf475919a8489d1cf’
c.NotebookApp.port=9000
c.NotebookApp.allow_remote_access = True

第四步 启动jupyter notebook
jupyter notebook --port 9000

第五步 输入服务器的名字,然后加入端口号
http://10.21.237.111:9000

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: