阿里云部署自建jupyter notebook

该博客介绍了如何在阿里云环境中部署并配置Jupyter Notebook。首先通过pip3安装ipython和jupyter notebook,然后生成配置文件,并设置密码。接着,配置内网IP、密码、端口和允许根用户访问,更新防火墙规则开启8888端口。最后,启动jupyter notebook后,通过阿里云外网IP访问服务。
摘要由CSDN通过智能技术生成

阿里云部署自建jupyter notebook

  1. 安装jupyter notebook
pip3 install ipython  jupyter notebook
  1. 生成配置文件
jupyter notebook --generate-config
  1. 配置密码
jupyter notebook password

生成文件jupyter_notebook_config.josn,内有密码sha值
4. 修改配置文件

c.NotebookApp.ip = '内网IP' #阿里云内网IP
c.NotebookApp.password = u'密码sha值'
c.NotebookApp.open_browser = False
c.NotebookApp.port = 8888
c.NotebookApp.allow_root = True 
  1. 添加规则
    安全——防火墙——添加TCP 8888端口
  2. 启动
jupyter notebook
  1. 最后
    输入阿里云外网IP:8888即进入
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值