1、安装
pip3 install jupyterlab
2、生成配置文件
jupyter lab --generate-config
3、编辑配置文件
vim /home/(这里放你的账号)/.jupyter/jupyter_lab_config.py
4、在文件中加入下面的代码
c.ServerApp.ip = '*'
c.ServerApp.allow_remote_access = True
c.ServerApp.port = 8888
5、运行jupyter lab
jupyter lab
6、在本地浏览器中访问上面的路径(把ip换为远程ip)即可