How to Install Ubuntu 23.04 on WSL
At this moment, WSL doesn’t support Ubuntu 23.04 officially. So, we need to install it manually. Below is a quick snapshot about the manual process.
38 articles
At this moment, WSL doesn’t support Ubuntu 23.04 officially. So, we need to install it manually. Below is a quick snapshot about the manual process.
By default, WSL doesn’t support CentOS 9 Stream. We must install it manually. To get the list of supported distributions on Windows Subsystem for Linux, run:
In this post, we will demonstrate how to SSH into Bash and WSL2 on Windows from an external machine.
Running multiple instances of the same Linux distribution on Windows Subsystem for Linux (WSL) is possible and can be quite useful for testing, development, or isolating different environments.
The default UNIX user is the user account that appears signed in when you open the appropriate Linux console. By default, it opens with the user name that you’ve specified during the initial setup of the feature.
In some cases, you want to completely uninstall the WSL Windows Subsystem for Linux in Windows 10/11. There’re two ways to it:
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.
To access a WSL distribution from a remote computer via SSH, you need to install the OpenSSH server in your WSL, decide on an SSH port number, and edit the sshd_config file to specify the port and listening address. Then, obtain the WSL IP address using ‘ifconfig’, start the SSH service within WSL, and set up port forwarding from Windows using ‘netsh’. Finally, open the necessary port in the Windows Firewall to allow incoming connections.
When you delete files or free up space in your WSL distribution, the virtual disk doesn’t automatically shrink. To reclaim this unused space, you need to compact the virtual disk (VHDX) file.
In some cases, you want to configure or limit the memory (RAM) for a WSL instance. By default, WSL will take 50% of the host memory. You can check how much memory and swap space are allocated to WSL using the free command from within a WSL distribution: