一 jupyter作用
很多文件都是采用jupyter方式,运行程序语句可以直接看到结果,方便作者理解。
据说支持40种编程语言,但是比较广泛的是python
二 服务器配置
1 安装
如果已经配置anaconda,可以使用
conda install ipykernel
也可以直接
pip install ipykernel
2 服务器远程使用
生成配置文件
jupyter notebook --generate-config
会显示
Writing default config to: /root/.jupyter/jupyter_notebook_config.py
该文件后面会用到
设置密码
jupyter notebook password
3 设置远程访问
编辑配置文件jupyter_notebook_config.py ;该文件上面命令出现过
在c = get_config() #noqa
后添加