安装Jupyter和IPython
pip install ipythonpip install jupyter
IPthon生成密码
ipython
1  | from jupyter_server.auth import passwd  | 
配置Jupyter
jupyter notebook --generate-configvim jupyter_notebook_config.py
1  | c.ServerApp.notebook_dir = '/home/user'  | 
运行Jupyter
nohup jupyter notebook 1>jupyter.log 2>&1 &
本地映射端口
ssh -N -f -L 8887:localhost:8887 user@serverIP
