windows:linux
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| windows:linux [2019/02/11 13:04] – created slack | windows:linux [2021/08/13 12:16] (current) – [WSL 2] slack | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== WSL 2 ====== | ||
| + | |||
| + | As of 13.8.21, WSL 2 is also available, with a currently more complicated install: https:// | ||
| + | |||
| + | WSL 2 uses a virtual machine in order to run the actual Linux kernel, this is meant to improve performance across the board. | ||
| + | |||
| + | Resolve issues: as of Aug 2021 the WSL machine can connect to external IPs but not resolve names. | ||
| + | |||
| + | Check out / | ||
| + | |||
| + | But that may not help. This did: https:// | ||
| + | |||
| + | Install Windows Terminal from the Windows Store. | ||
| + | ====== WSL 1 ====== | ||
| + | |||
| [[https:// | [[https:// | ||
| + | |||
| + | * Control Panel > Programs and Features > Turn Windows Features On Or Off | ||
| + | * Enable " | ||
| + | * Restart | ||
| + | * Microsoft store > search for " | ||
| + | * Launch from the start menu | ||
| + | * [[stretch: | ||
| + | * Fix [[https:// | ||
| + | |||
| + | |||
| + | The directory ''/ | ||
| + | |||
| + | Fortunately, | ||
| + | |||
| + | So to work around it, you can create a directory, such as '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | and export the '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | You can also put this line into your '' | ||
| + | |||
| + | |||
| + | ====== Samba ====== | ||
| + | |||
| + | You can't automatically access Windows network drives, even if they are mapped to a letter (20.6.20). | ||
| + | |||
| + | ''/ | ||
| + | |||
| + | \\alan\huge | ||
| + | |||
| + | This ought to automount when WSL is fired up, but something[TM] needs to start it if you want to run '' | ||
| + | |||
| + | ====== cron ====== | ||
| + | |||
| + | Add to the end of ''/ | ||
| + | |||
| + | %sudo | ||
| + | |||
| + | Roughly, follow https:// | ||
| + | |||
| + | Next, type shell: | ||
| + | |||
| + | Create a shortcut to wsl.exe and edit the properties as following: | ||
| + | |||
| + | C: | ||
windows/linux.1549890251.txt.gz · Last modified: 2019/11/07 17:58 (external edit)