installing vs code-server to edit the code remotely
basicly, you can installing by read the doc at https://code-server.dev/ but i made this gist for more easier and simples to reading.
- install
curl -fsSL https://code-server.dev/install.sh | sh
- start
sudo systemctl enable --now code-server@$USER
' - edit the ip, port, and password at
nano ~/.config/code-server/config.yaml
the bind-ip is your vps ip addresses, and the port you can wrote as you fun