## https://github.com/coder/code-server/releases curl -fOL sudo dpkg -i code-server_4.3.0_amd64.deb sudo systemctl enable --now code-server@root # Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
1 2
vim ~/.config/code-server/config.yaml
启动
1 2 3 4 5 6 7 8 9 10 11 12 13
# 类似jupyter notebook code-server
(base) [zengjunjie@gpu009 ~]$ (base) [zengjunjie@gpu009 ~]$ code-server [2023-08-18T02:26:50.960Z] info code-server 4.14.1 5c199629305a0b935b4388b7db549f77eae82b5a [2023-08-18T02:26:50.961Z] info Using user-data-dir ~/.local/share/code-server [2023-08-18T02:26:50.975Z] info Using config file ~/.config/code-server/config.yaml [2023-08-18T02:26:50.975Z] info HTTP server listening on http://0.0.0.0:8081/ [2023-08-18T02:26:50.975Z] info - Authentication is enabled [2023-08-18T02:26:50.975Z] info - Using password from ~/.config/code-server/config.yaml [2023-08-18T02:26:50.975Z] info - Not serving HTTPS