下载地址:https://www.anaconda.com/products/individual ,需要注册用户
配置安装bzip2 yum -y install bzip2
1、bash Anaconda3-2020.07-Linux-x86_64.sh
2、回车通过
3、配置环境变量
export PATH=/root/anaconda3/bin:$PATH
4 、启动
jupyter-notebook --ip bigdata --allow-root
bigdata是机器的名字
5、修改jupyter目录
生成配置:jupyter notebook --generate-config
根据路径:vi .jupyter/jupyter_notebook_config.py 打开文件
找到如下位置并修改,c.NotebookApp.notebook_dir = ‘/root/jupyterBook‘
原文:https://www.cnblogs.com/wind-man/p/13411096.html