完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
|
|
相关推荐
1个回答
|
|
|
1、服务器安装JupyterLab
这里推荐直接安装Anaconda,安装好后可以通过命令jupyter lab打开测试一下。 2、生成配置文件 $jupyter notebook --generate-config 生成密码 此处的密码可由自己随意设定 保存好 返回的sha1字符串$ pythonPython 3.7.3 (default, Mar 27 2019, 22:11:17)[GCC 7.3.0] :: Anaconda, Inc. on linuxType "help", "copyright", "credits" or "license" for more information.>>> from notebook.auth import passwd>>> passwd()Enter password:Verify password:'sha1:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'4. 修改默认配置文件 $vim ~/.jupyter/jupyter_notebook_config.py' # 将ip设置为*,意味允许任何IP访问c.NotebookApp.ip = ‘*‘# 这里的密码就是上边我们生成的那一串c.NotebookApp.password = ‘sha1:f704b702aea2:01e2bd991f9c7208ba177b46f4d10b6907810927‘ # 服务器上并没有浏览器可以供Jupyter打开 c.NotebookApp.open_browser = False # 监听端口设置为8888或其他自己喜欢的端口 c.NotebookApp.port = 8888# 允许远程访问 c.NotebookApp.allow_remote_access = Truec.NotebookApp.notebook_dir = '默认打开目录'5.后台运行: nohup jupyter notebook --allow-root > jupyter.log 2>&1 & 关闭: ps -ef | grep jupyter kill -9 ID #FormatImgID_0# |
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
2339 浏览 0 评论
Arduino Uno l两轮自平衡机器人 电机驱动无输出求解
3959 浏览 3 评论
TT电机,Arduino Uno,L298N 5AD ,MPU6050最简自平衡机器人资料
1464 浏览 0 评论
4100 浏览 0 评论
5099 浏览 0 评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 15:59 , Processed in 0.682503 second(s), Total 71, Slave 54 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1865