Category: 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 Install Windows Subsystem for Linux (WSL)

    Want to run Linux directly on your Windows machine? Windows Subsystem for Linux (WSL) makes it easy! This guide provides a quick demo on how to get WSL enabled with a Linux distribution installed within minutes. We’ll cover the simplest methods to install WSL by using the <wsl…

    Read More


  • How To Change From WSL2 to WSL1

    This is a post on how to change a Windows Subsystem for Linux (WSL) Distribution from running on Version 2 to Version 1. Windows Subsystem for Linux (WSL) supports two versions:> WSL2: The latest version with full Linux kernel support, offering better compatibility and performance. > WSL1: The…

    Read More


  • How to Install Postgres on Ubuntu 20.04

    This post is a short note on how to install Postgres on Ubuntu 20.04. I’m doing this in WSL, however this shouldn’t make any difference if you’re on the same Ubuntu version. First, lets update our local packages by running the following apt command – This Postgres installation…

    Read More


  • 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. First of all, you will need to be authenticated to your AWS Account and have AWS CLI installed. I cover…

    Read More


  • 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). Topics Covered: 1. Updating Local Packages2. Installing AWS CLI on Ubuntu3. Checking Installed AWS CLI Version4. Configuring AWS Profile5. Running AWS CLI Commands 1. Updating Local Packages To start,…

    Read More


  • 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 WSL on your computer. All WSL Linux distributions are available for download in the Microsoft Store. This is the easiest way to install…

    Read More


  • How to Uninstall a Linux Distro in WSL

    If you need to remove a Linux distribution in WSL (Windows Subsystem for Linux), it’s easy to do using the wsl –unregister command. Unregistering a distro will permanently delete all data, settings, and installed software associated with it. Make sure you back up any important files before proceeding.…

    Read More


  • How to Set Default WSL Distribution

    This guide contains a demo on how to set the default Windows Subsystem for Linux (WSL) distribution on a Windows computer. This is particularly useful if you have multiple WSL distributions installed and need to manage various Linux environments on Windows. Contents:> Check Installed WSL Distros. > Set…

    Read More


  • 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 provides a simple and easy way for us to list all users in your AWS Account, helping administrators monitor and manage access effectively. This guide…

    Read More