Anaconda是基于Python的科学计算环境,Anaconda中自带有Jupyter Notebook
Anaconda3-*-Linux-x86_64.sh
2、安装Anaconda
sudo bash Anaconda3-*-Linux-x86_64.sh
3、配置远程访问(默认只能localhost访问)
3.1生成配置文件
$jupyter notebook --generate-config
3.2生成密码
ipython
In [1]: from notebook.authimport
passwdIn [2]: passwd()Enter password: Verify password: Out[2]:'sha1:ce23d945972f:34769685a7ccd3d08c84a18c63968a41f1140274'
3.3修改默认配置文件
vim ~/.jupyter/jupyter_notebook_config.py
c.NotebookApp.ip='*'c.NotebookApp.password = u'sha:ce...刚才复制的那个密文'c.NotebookApp.open_browser
= Falsec.NotebookApp.port =8888 #随便指定一个端口
4、启动jupyter notebook
jupyter notebook
5、浏览器访问
配置远程访问(方法二):使用ssh隧道:
ssh [email protected] -L 192.168.0.104:4444:127.0.0.1:8888
清华大学镜像地址: