1.pip3 install --upgrade jupyter --user --proxy=http://10.88.0.44:701189
2.jupyter notebook --generate-config --allow-root
在操作用户根目录下生成.jupyter,进入目录.jupyter
3.cd /home/user/.jupyter
mkdir procs
vi jupyter_notebook_config.py
c.NotebookApp.ip = '10.88.1.88' # 设置监听地址
c.NotebookApp.port = 8800 # 设置监听端口
c.NotebookApp.open_browser = False # 禁用自动打开浏览器
c.NotebookApp.notebook_dir = '/home/user/.jupyter/procs'
4 设置密码
jupyter notebook password
5.启动
jupyter notebook --allow-root &