GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deploy-code-server/deploy-vm at main · MuhammadAli-dev/deploy-code-server

Expand file tree

/

deploy-vm

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

deploy-vm

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
launch-code-server-linode.sh
launch-code-server-linode.sh
 
 
launch-code-server.sh
launch-code-server.sh
 
 

README.md

Outline

Deploying code-server on a VM

A simple startup script to run code-server with --link on a VM, designed to run on Ubuntu 20.10.

⚠️ The deploy script referenced 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.

In this repo

  • launch-code-server.sh - Command tested on Ubuntu machines (uses --link)
  • launch-linode.sh - launch-code-server.sh adapted for Linode

Troubleshooting

  • Ensure you have port 80 open on your server's firewall

  • SSH or use the built-in console to connect to your machine

    1. Check the code-server status

      systemctl status code-server@coder
      
      # if not working:
      systemctl restart code-server@coder
    2. Ensure journalctl is capturing logs

      journalctl -u code-server@coder
    3. Ensure the HTTP redirect server is working

      systemctl status coder-cloud-redirect
      
      # systemctl restart coder-cloud-redirect

Other scripts

  • code-server, CloudFlare, and Caddy: Sets up code-server and configures CloudFlare DNS
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.