root@hcss-ecs-279f:~# jupyter lab password
Enter password:
Verify password:
[JupyterPasswordApp] Wrote hashed password to /root/.jupyter/jupyter_server_config.json
然后就可以使用jupyter lab来运行服务。
1
2
3
4
5
6
7
8
9
root@hcss-ecs-279f:~# jupyter lab
... ...
[I 2025-04-10 10:41:35.533 ServerApp] jupyterlab | extension was successfully loaded.
[I 2025-04-10 10:41:35.536 ServerApp] notebook | extension was successfully loaded.
[I 2025-04-10 10:41:35.537 ServerApp] Serving notebooks from local directory: /root
[I 2025-04-10 10:41:35.537 ServerApp] Jupyter Server 2.15.0 is running at:
[I 2025-04-10 10:41:35.537 ServerApp] http://hcss-ecs-279f:9876/lab
[I 2025-04-10 10:41:35.537 ServerApp] http://127.0.0.1:9876/lab
... ...