- 安装anaconda
- 新建jupyter运行目录与log目录
mkdir jupyter
mkdir jupyter/data
mkdir jupyter/log
- 生成配置文件
jupyter notebook --generate-config
vim ~/.jupyter/jupyter_notebook_config.py
c = get_config()
c.IPKernelApp.pylab = 'inline'
c.NotebookApp.ip = '*'
c.NotebookApp.open_browser = False
c.NotebookApp.port = 60000
- 生成密码
jupyter notebook passwd
- 运行服务
cd jupyter/data
nohup jupyter notebook &>> ../log/jupyter.log &
- 登陆服务
如果不行尝试不要用https
参考文献:
https://blog.csdn.net/SA14023053/article/details/51725580