华为云服务器配置jupyterlab

参考:https://support.huaweicloud.com/ecs_faq/zh-cn_topic_0167429326.html#ZH-CN_TOPIC_0167429326__zh-cn_topic_0167240183_section26656224106
我先开启了安全组规则8888
甚至全部放通,
还是不能访问。
我打算生成并修改一下配置文件

jupyter notebook --generate-config
vi ~/.jupyter/jupyter_notebook_config.py

华为云服务器配置jupyterlab_第1张图片

c.NotebookApp.ip='*'  # 允许任何ip访问
c.NotebookApp.open_browser = False  # 开始时是否自动开启浏览器
# 允许远程访问 
c.NotebookApp.allow_remote_access = True

华为云服务器配置jupyterlab_第2张图片
终于成功了。
这下子就可以在这里方便地修改代码,操控文件了。

你可能感兴趣的:(昇腾,服务器,华为云,运维)