Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 1.66 KB

linode.md

File metadata and controls

24 lines (14 loc) · 1.66 KB

deploying code-server on Linode

⚠️ The deploy script referenced in this guide uses the code-server --link service which is now deprecated. If this solution does not work for you, we recommend following our guide to use LetsEncrypt with Caddy to securely connect to code-server on your VM.

Linode is a developer-friendly platform with cloud servers. Here is the easiest way to launch code-server on Linode.

  1. Log in to Linode and go to the "StackScripts" section in the sidebar

    Linode StackScripts
  2. Navigate to "Community Scripts" and use bencdr/code-server or create your own based on launch-code-server-linode.sh.

  3. Give your server a label and deploy with Ubuntu 20.10 and any size. Once your server starts, you can simply navigate to the IP address and get forwarded to a secure version of code-server, which will be proxied behind your GitHub account. For information on how this works, see code-server --link.

    Linode launch code-server
  4. Optional: To change the URL in the address bar from linode-[xxxx] to something more descriptive, you just need to change your hostname and restart code-server:

    sudo hostnamectl set-hostname bens-devbox
    sudo systemctl restart code-server@coder

See our troubleshooting guide if you are unable to connect after some time.