How to run Amazon Linux 2023 (AL2023) locally on WSL? Amazon Linux 2023 (AL2023) is the next generation of Amazon Linux for developing and running cloud applications in high-performance and security enhanced execution environment. This rpm-based Linux distribution is optimized for Amazon EC2. Amazon Linux 2023 is not available in the Microsoft Store. 14 Apr 2023 · 7 min read
Fixed: Temporary failure in name resolution in WSL2 DNS resolution not working in WSL2? Getting messages like "Temporary failure in name resolution" or "Temporary failure resolving..."? Issue: abhijit@AwsJunkie:~$ ping www.AwsJunkie.com ping: www.AwsJunkie.com: Temporary failure in name resolution abhijit@AwsJunkie:~$ sudo apt update Err:1 http 12 Apr 2023 · 2 min read
How to install awslocal ( LocalStack AWS CLI) on Ubuntu running on WSL2 (Windows Subsystem for Linux)? If you are already enjoying LocalStack ("A fully functional local cloud stack") for building awesome AWS cloud and serverless applications locally, then awslocal will add extra Saccharin to sweeten your development experience for sure. What is awslocal? awslocal is a wrapper around the AWS CLI to 2 Apr 2023 · 4 min read
How to install LocalStack (AWS cloud service emulator) on WSL2 to develop cloud and serverless apps offline? LocalStack is an AWS cloud service emulator that can be used as a local cloud sandbox for development, prototyping and testing. It is "A fully functional local cloud stack". You can efficiently build AWS cloud and serverless applications locally without connecting to AWS cloud. Therefore, it will he 27 Mar 2023 · 5 min read
How to install Node.js on Ubuntu 22.04 distro running on WSL2 (Windows Subsystem for Linux)? In this post, we'll see how to install Node.js (open-source, cross-platform JavaScript runtime environment) on Ubuntu 22.04 distro running in WSL2 (Windows Subsystem for Linux). Option #1 - Install Node.js with APT package Manager from the Official Repositories NodeJs is already available in defa 26 Mar 2023 · 3 min read
Mountpoint for Amazon S3 -Build & Demo On AWS Pi Day 2023, Amazon announced Mountpoint for Amazon S3, an open-source simple file client for mounting S3 buckets as a local file system. It is optimized for read-heavy workloads that require high throughput and is mainly focused on high-performance access to large data sets. So naturally, it 16 Mar 2023 · 8 min read
Install AWS Command Line Interface (AWS CLI) on Windows Subsystem for Linux (WSL 2) AWS Command Line Interface (AWS CLI) is used to interact with different AWS (Amazon Web Services) product and services in command-line shell. AWS CLI version 2 is the latest one. In this article, we'll see how to download and install AWS CLI on Windows Subsystem for Linux (WSL 2). Video: Update 23 Feb 2023 · 1 min read
Install AWS Serverless Application Model Command Line Interface (AWS SAM CLI) on Windows Subsystem for Linux (WSL 2) AWS SAM command line interface (AWS SAM CLI) tool is must have for building AWS serverless applications. In this post, we'll see how to install latest version of AWS SAM CLI on Windows Subsystem for Linux (WSL 2). Video: Prerequisites: AWS Command Line Interface (AWS CLI 2) is recommended for S 23 Feb 2023 · 2 min read
Fix: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? Issue: sudo service docker start says "Starting Docker: docker" but sudo service docker status shows "Docker is not running" and most docker commands throw following message "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?". abhijit@AwsJunkie:~$ sud 4 Feb 2023 · 3 min read
Install Docker Engine and Docker Compose on Windows Subsystem for Linux (WSL 2) If you already have Docker Desktop installed or want to use docker on both Windows and WSL2, then Docker Desktop is better choice. But I personally prefer to install and run the "most-loved Tool" docker inside Windows Subsystem for Linux (WSL 2). This keeps the development environment isolated and t 3 Feb 2023 · 5 min read
Install JupyterLab or Jupyter Notebook in Windows Subsystem for Linux (WSL2) Web-based interactive development environment JupyterLab (the next generation of Jupyter Notebook ) is very popular in the field of data science and machine learning. Windows Subsystem for Linux (WSL2) is well known for super-fast boot time, less resource consumption and seamless integration of Linu 1 Feb 2023 · 6 min read
Check or Upgrade/Downgrade Windows Subsystem for Linux (WSL) Version This is a short post on how to check or upgrade/downgrade the version of Windows Subsystem for Linux (WSL) running on Windows 10 or Windows 11 host. To check WSL version set to installed Linux distro, execute wsl -l -v or wsl --list --verbose C:\Users\AwsJunkie>wsl --list --verbose NAME 2 Oct 2022 · 1 min read
Setup Proxy for CURL in Ubuntu running on WSL (Windows Subsystem for Linux) If Windows host machine is running behind any proxy (e.g. corporate proxy in office network), then it is required to pass/configure Proxy server and Proxy Authentication for cURL commands. Let's explore multiple ways to do it. CURL option "proxy" and "proxy-user" cURL command has option -x, --pr 11 Sept 2022 · 4 min read
Update WSL2 (Windows Subsystem for Linux) kernel on Windows Windows Build version 20150 has introduced command line options to update WSL2 (Windows Subsystem for Linux) Kernel very conveniently. Let's try that. Run wmic os get BuildNumber in command line to check the build version of your Windows. C:\Users\AwsJunkie>wmic os get BuildNumber BuildNumber 220 11 Sept 2022 · 2 min read
How to Backup and Restore Linux Distro on WSL (Windows Subsystem for Linux)? Nobody can deny the importance of backup & restore process for any environment. Specially, when multi-steps are involved in setup and configuration and we keep modifying the environment with time. Basically, if anything goes wrong for any reason, we don't want to end up wasting time by setting up th 3 Sept 2022 · 4 min read
How to Uninstall or Remove Linux Distro Installed on WSL (Windows Subsystem for Linux)? Uninstallation of redundant or unused Linux Distros on Windows Subsystem for Linux (WSL) is an important activity to reclaim space and maintain hygiene of the system. It is just one command to remove a distro from WSL. Video: * Run the following command in Windows Command Prompt to find the lis 2 Sept 2022 · 1 min read
How to Install Windows Subsystem for Linux (WSL2) on Windows 11? Steps to install Windows Subsystem for Linux (WSL2) on Windows 10 works for Windows 11 too. But Microsoft made it super simple in Windows 11. Just one command that takes minutes to install a Linux distribution (Ubuntu by default). If you are curious about other 3 different options that I mentioned 30 Aug 2022 · 5 min read
How to Install Windows Subsystem for Linux (WSL2) on Windows 10? Windows Subsystem for Linux (WSL) is an awesome feature of Windows 10. No more VMware or Oracle VirtualBox is required to run Linux on Windows. WSL is faster and less resource consuming, zero or less configuration compared to any other traditional Virtual Machines (VM). Installation and setup of Lin 26 Aug 2021 · 8 min read
How to change hostname on Ubuntu running on Windows WSL? If you are running Ubuntu on Windows WSL (Windows Subsystem for Linux) and wondering how to change hostname permanently then follow all steps mentioned below. Once hostname is changed, if you get "unable to resolve host <hostname>: Name or service not known" then follow the step #4 for the fix. V 13 Jul 2021 · 3 min read