码迷,mamicode.com
首页 > 系统相关 > 详细

【Linux下安装配置Jupyter】 񧽽

时间:2019-08-18 15:44:13      阅读:93      评论:0      收藏:0      [点我收藏+]

标签:conf   rate   服务   amp   shel   port   blog   tps   服务器   

原文: http://blog.gqylpy.com/gqy/319

"> shell > """ 第一步 安装 """ > pip3 install -i https://pypi.douban.com/simple jupyter > > > """ 第二步 生成配置文件 """ > jupyter notebook --generate-config --allow-root > # 配置文件生成在:~/.jupyter/jupyter_notebook_config.py > > > """ 第三步 生成密码 """ > jupyter notebook password > > > """ 第四部 修改配置文件 """ > # 设置监听地址,一般改为当前主机的ip > sed -ie "s/#c.NotebookApp.ip = ‘localhost‘/c.NotebookApp.ip = ‘0.0.0.0‘/g" ~/.jupyter/jupyter_notebook_config.py > # 设置监听端口 > sed -ie ‘s/#c.NotebookApp.port = 8888/c.NotebookApp.port = 8000/g‘ ~/.jupyter/jupyter_notebook_config.py > # 禁用自动打开浏览器 > sed -ie ‘s/#c.NotebookApp.open_browser = True/c.NotebookApp.open_browser = False/g‘ ~/.jupyter/jupyter_notebook_config.py > > > """ 第五步 启动朱皮特 """ > jupyter notebook --allow-root & > > > """ 第六步 访问 """ > # 在访问前,先看看你的防火墙规则 > # 此时打开浏览器,输入 Jupyter服务器的ip:8000 > # 进入登陆页面后,输入刚刚生成的密码即可 >
"

原文: http://blog.gqylpy.com/gqy/319

【Linux下安装配置Jupyter】 񧽽

标签:conf   rate   服务   amp   shel   port   blog   tps   服务器   

原文地址:https://www.cnblogs.com/gqy02/p/11372293.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!