<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>wsl on IT Quicktasks</title><link>https://quicktasks.ismael.casimpan.com/tags/wsl/</link><description>Recent content in wsl on IT Quicktasks</description><generator>Hugo -- gohugo.io</generator><copyright>Copyright © 2018–2022, Ismael Casimpan Jr.; All Rights Reserved</copyright><lastBuildDate>Tue, 24 May 2022 23:17:11 +0800</lastBuildDate><atom:link href="https://quicktasks.ismael.casimpan.com/tags/wsl/index.xml" rel="self" type="application/rss+xml"/><item><title>Change Default WSL2 User</title><link>https://quicktasks.ismael.casimpan.com/post/change-default-wsl2-user/</link><pubDate>Tue, 24 May 2022 23:17:11 +0800</pubDate><guid>https://quicktasks.ismael.casimpan.com/post/change-default-wsl2-user/</guid><description>
In WSL2 Console, create /etc/wsl.conf with this contents:
1[user] 2default=username Then in powershell (administrator):
1wsl --shutdown Reopen terminal and make sure default user is now changed.
Reference: https://superuser.com/questions/1566022/how-to-set-default-user-for-manually-installed-wsl-distro</description></item><item><title>Browse WSL Path in Windows Explorer</title><link>https://quicktasks.ismael.casimpan.com/post/browse-wsl-path-in-windows-explorer/</link><pubDate>Thu, 03 Mar 2022 23:17:11 +0800</pubDate><guid>https://quicktasks.ismael.casimpan.com/post/browse-wsl-path-in-windows-explorer/</guid><description>
Open Windows explorer and type this in address bar
1\\wsl$ See details in this article</description></item><item><title>NodeJS Install in WSL</title><link>https://quicktasks.ismael.casimpan.com/post/nodejs-install-in-wsl/</link><pubDate>Sun, 13 Feb 2022 23:17:11 +0800</pubDate><guid>https://quicktasks.ismael.casimpan.com/post/nodejs-install-in-wsl/</guid><description>
NodeJS 14+ is needed in WSL. Usual installation via apt in Ubuntu doesn't work. This one works so far:
1curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - 2sudo apt-get install -y nodejs</description></item><item><title>Reboot Linux under WSL</title><link>https://quicktasks.ismael.casimpan.com/post/reboot-linux-in-wsl/</link><pubDate>Sun, 06 Feb 2022 23:17:11 +0800</pubDate><guid>https://quicktasks.ismael.casimpan.com/post/reboot-linux-in-wsl/</guid><description>
Linux systemcmd or init way of rebooting will not work in a Windows Subsystem for Linux or wsl-run Linux. You need to use the Powershell command below:
1wsl --shutdown For other methods, see this article.</description></item></channel></rss>