Member-only story

Installing VSCode Server for on go Coding within Linux

Mobile | Travel | AWS

βš— Kevin Summersill πŸ”‹
2 min readOct 30, 2020
Image Credit: Tech Daily.

Ever needed to code but you could not because the program out there is just not VS Code. Well,’ you're in luck! I recently had to work on a project where I needed tools on Linux but the VS Code was set up on a Windows Machine. This became very old quickly. So what do you need to get started?

  • One EC2 Instance with Ubuntu

Yeap that's it! Login to the EC2 via SSH and now let's get to work.

  1. Make the directory
mkdir -p ~/.local/lib ~/.local/bin

2. Download the latest release from Github.

curl -fL https://github.com/cdr/code-server/releases/download/v3.6.1/code-server-3.6.1-linux-amd64.tar.gz | tar -C ~/.local/lib -xz

3. Move the binary to the ~/.local/lib

mv ~/.local/lib/code-server-3.6.1-linux-amd64 ~/.local/lib/code-server-3.6.1

4. Setup a Symbolic Link for the Code Server

ln -s ~/.local/lib/code-server-3.6.1/bin/code-server ~/.local/bin/code-server

5. Setup paths

PATH="~/.local/bin:$PATH"

6. So technically we want our code-server to run as a service. That way when we log out of our…

--

--

βš— Kevin Summersill πŸ”‹
βš— Kevin Summersill πŸ”‹

Written by βš— Kevin Summersill πŸ”‹

Enterprise Solution Architect | Certified K8s Administrator/Developer βš“ | SAFe SPC | Cert Terraform | AWS Solutions Architect | Dev*Ops/GitOps Engineer πŸ”₯

No responses yet