在CentOS 7系统中安装jupyter notebook

安装anaconda,在官网下载好anaconda,现在清华镜像已经停用

anaconda官网:https://www.anaconda.com/distribution/#download-section

启动安装程序:

在CentOS 7系统中安装jupyter notebook

在CentOS 7系统中安装jupyter notebook

路径保持不变:

在CentOS 7系统中安装jupyter notebook

 

安装好后修改/etc/profile文件

在CentOS 7系统中安装jupyter notebook

在CentOS 7系统中安装jupyter notebook

 

下载jupyter notebook

在CentOS 7系统中安装jupyter notebook

生成一个配置文件:

jupyter notebook --generate-config

修改配置文件:

在CentOS 7系统中安装jupyter notebook

注意:一定要加上最后一行,完全按照官方文件会报错,加上最后一行后可以正常打开。而且我方便自己使用所以没有设置密码和token。

如果不加最后一行报错如下:

在CentOS 7系统中安装jupyter notebook

 

修改默认工作目录:

在CentOS 7系统中安装jupyter notebook

本机IP是:192.168.100.10

启动后可以正常访问

在CentOS 7系统中安装jupyter notebook

在CentOS 7系统中安装jupyter notebook