WSL 2 yeva mukati ikozvino inotsigira kernel pane inoda

WSL 2

Icho hachisi chinhu icho sevha iri kuzoshandisa zvakanyanya (zviripo hapana), asi Microsoft yakaburitsa Windows Subsystem yeLinux anenge makore matatu apfuura uye yakazviita nekuti ichokwadi inonakidza kune vamwe vazhinji vashandisi. Iyo Linux subsystem inomhanya paWindows, ichibvumira imwe Linux software kumhanya pane Microsoft's inoshanda sisitimu. Nezuro, kambani inotungamirwa naSatya Nadella yakakanda vhezheni itsva ye WSL 2 iyo inowedzera kunatsiridza kugadzirisa.

Kutanga, iyo itsva vhezheni yeWindows Subsystem yeLinux 2, kubva nguva inongowanikwa kune vari mukati (idzo dzinoshandisa iyo yekuedza shanduro), inotibvumidza isu kushandisa kernel iyo inokodzera zvakanyanya zvatinoda. Kuti uite izvi, ingo enda kune "kernel" sarudzo mu ".wslconfig" faira kutsanangura nzira inoenda kune kernel yatinayo pakombuta yedu uye iyo kernel inozotakurwa muWSL 2 chaiyo muchina painotanga. Kana isu tisingataure chero sarudzo, tinodzokera kunoshandisa default kernel.

WSL 2 inotibvumidza kuti tibatanidze kune maLinux maapplication kuburikidza neiyo localhost

Kuti uenderere mberi, iyo nyowani yekuvakira yeWSL 2 insiders inobvumira kushandisa localhost kubatanidza kuLinux kunyorera kubva paWindows. Mune yekutanga vhezheni isu taida kuwana edu enetiapplication kuburikidza neiri kure IP kero, asi Microsoft yakaziva kuti izvi zvaifanira kuchinja uye vatanga kutora matanho ekutanga kuzviita mushanduro yakaburitswa nezuro, Chikunguru 26.

Yekupedzisira nyowani ficha ine chekuita nekumisikidza: pamberi peiyo wsl.conf faira rakagadziriswa, asi kune dzimwe sarudzo dzinofanirwa kuiswa kune ese kugoverwa. Ese WSL 2 distros anomhanya pamushini mumwechete chaiwo, saka hapana shanduko dzatinoita kune iyo wsl.conf faira rinoshanda kuneese kugoverwa. Kuti uite shanduko dzepasirese, pane iyo .wslconfig faira sarudzo izvo zvatakambotaura pakutanga, asi isu tinofanirwa kuzvigadzira nemaoko mufaira C: \ Users \ OurUsername \,

Pasina kupokana, chiitiko chinonakidza… kune avo vanofarira.

Windows_WSL
Nyaya inoenderana:
Microsoft yatoburitsa WSL2, iyo Windows subsystem yeLinux

Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako