Linux & WSL
Linux & Windows Subsystem for Linux (WSL) Blog which includes useful guides and troubleshooting tips, written by an experienced Microsoft SQL Server DBA, Peter Whyte.
-
How to Manage S3 Buckets with AWS CLI
This is a post on how to help manage S3 Buckets with AWS CLI, and to help explain some local Operating System (OS) considerations when running such commands.
-
Git Clone “Could not resolve hostname github.com” in WSL
git clone fails in WSL with "Could not resolve hostname github.com: Temporary failure in name resolution". WSL has lost DNS. The quick resolv.conf fix, and the wsl.conf change that makes it stick.
-
How to Install & Configure AWS CLI on Ubuntu
This guide will walk you through the steps to install and configure AWS CLI version 1 on Ubuntu (20.04).
-
How to Install Ubuntu 20.04 on WSL
This guide shows how to install Ubuntu 20.04 on WSL (Windows Subsystem for Linux). Before installing a WSL Linux distribution you should have already enabled…
-
How to Uninstall a Linux Distro in WSL (wsl –unregister)
Run wsl -l -v to get the distro name, then wsl –unregister . It deletes the distro and all its files for good, so back up first. How to check it is gone and reinstall.
-
AWS CLI: List All Users in Account
Managing AWS IAM (Identity and Access Management) users is essential for maintaining security and proper control over your AWS environment. The AWS CLI…
-
Change Git Remote URL from HTTPS to SSH (git remote set-url)
Run git remote set-url origin git@github.com:USER/REPO.git, then git remote -v to confirm. Where to find the SSH URL on GitHub, GitLab or Bitbucket, and how to test it.
-
Setting up SSH Keys in WSL
Setting up SSH keys on Windows is generally done via OpenSSL or Putty. We can set this up and have quick authentication to places like GitHub or Bitbucket…
-
Create a Link Between Local Windows Files and WSL
Creating a link between local Windows files and WSL (Windows Subsystem for Linux) is a useful way to share files between the two environments.