Sida loo hubiyo nidaamka-hoosaadka Windows ee nooca Linux (WSL) gudaha Windows
Waxaad haysataa nidaamka Windows(Windows Subsystem) -ka ee Linux ( WSL ) oo ku shaqeeya Windows 11 ama Windows 10 si aad u tijaabiso qaar ka mid ah amarrada bash-ka, iyo laga yaabee socodsiinta qaar ka mid ah barnaamijyada Linux ugu fiican(best Linux apps) . Aad bay uga sahlan tahay adeegsiga boot-ka laba-geesoodka ah si loo helo labada nidaam ee hawlgalka.
Waxyaalaha qaarkood waxay ku shaqeeyaan oo kaliya noocyo gaar ah oo WSL ah , mana hubtid midka aad haysato. Marka, waxaan ku tusi doonaa sida loo hubiyo nooca WSL -ka labadaba Windows 11 iyo Windows 10 , iyo dhowr farsamooyin kale.
Waa maxay Farqiga u dhexeeya Noocyada WSL(Difference Between WSL Versions) ?
Waxaa jira laba nooc oo kaliya oo WSL ah ; WSL 1 iyo WSL 2 . Farqiga aasaasiga ah ayaa ah in WSL 2 uu leeyahay (WSL 2)kernel Linux(Linux kernel) buuxa halka WSL 1 aanu lahayn. Ka fikir WSL 1 sida WSL lite. Haddii aad tahay isticmaale Linux ka go'an ama aad dhab ka tahay barashada Linux , isticmaal WSL 2 . Waxay u shaqeysaa sidii mashiin tafatiran oo dhameystiran oo leh dhammaan shaqeynta ay keento mala-awaalka. WSL 2 waxay kordhin doontaa waxqabadka nidaamka faylalka waxayna taageertaa waafaqid wicitaanka nidaamka buuxa.
WSL 2 waxa laga heli karaa oo keliya Windows 11 ama Windows 10 , Version 1903 Build 19362 ama ka cusub. Haddii aad ku jirto Windows 10 oo aad dib u cusbooneysiisay, waad fiicantahay. Haddii aadan hubin, waxaan haynaa maqaal kaa caawinaya inaad ogaato nooca Windows ee(what version of Windows) aad haysato. Noocyadii hore ee Windows 10 waxay kaliya la jaan qaadayaan WSL 1(WSL 1) .
Sida loo hubiyo nooca WSL(WSL Version) ee Windows
Haddii aad ku rakibto WSL gudaha PowerShell ama khadka taliska adoo isticmaalaya wsl.exe –install Command, waxaad haysataa nooca caadiga ah ee WSL . Taas macnaheedu waa inaad haysatid Ubuntu 20.04 LTS Linux distro iyo nooca WSL 2 .
Ka soo qaad(Suppose) inaadan hubin inaad samaysay WSL -ka caadiga ah , ama aad ku dartay dhowr qaybin Linux oo kala duwan oo aad rabto inaad ogaato nooca ay yihiin. Xaaladdaas, taasi way fududahay in la hubiyo sidoo kale.
- Fur Command Prompt ama Powershell oo socodsii amarka wsl -list -verbose ama wsl -l -v .
- Soosaarku wuxuu muujinayaa magaca distro inuu yahay MAGAC(NAME) , ha ahaado mid ku socda ama ku istaagayo hoosta STATE , iyo nooca WSL ee hoos yimaada VERSION . U fiirso astaanta. WSL distro oo leh calaamada calaamaduhu waa distro-ga caadiga ah adiga .
Taas macnaheedu waa haddii aad maamusho WSL adigoon u sheegin distro si aad u isticmaasho, waxay ku socon doontaa asalka. Isku day si aad u aragto khadka taliska ee distro ee caadiga ah ( CLI ).
Sideen u Beddelayaa Nooca WSL?
Aynu ka beddelno openSUSE-42 WSL 1 una beddelno WSL 2(WSL 2) . Habka la mid ah wuxuu u shaqeeyaa si uu u beddelo distro kasta WSL 2 ilaa WSL 1 .
- Fur Command Prompt ama PowerShell oo socodsii amarka soo socda: wsl –set-version [name] [lambarka nooca wsl](wsl –set-version [name] [wsl version number]) halkaas oo magacu yahay magaca distro iyo lambarka nooca wsl waa nooca aad rabto. Xaaladdan oo kale, waa wsl -set-version openSUSE-42 2 .
Waxay tusi doontaa Beddelka(Conversion) fariinta socota, tani waxay qaadan kartaa daqiiqado yar… Marka la rakibo qalab cusub, waxay qaadan kartaa ugu yaraan 20 ilbiriqsi. Waxa la sameeyaa marka aad hesho fariinta, Beddelka(Conversion) ayaa dhamaystiran.
- Si aad u hubiso inaad si sax ah u dejisay nooca WSL , socodsii wsl –list –verbose ama wsl -l -v mar labaad.
Sideen u hubin karaa WSL khaladaadka ama (WSL Defaults)cusboonaysiinta u(Update) dambaysa ?
Kahor intaadan fiirin inaad bedesho nooca WSL ee caadiga ah ama Linux distro, waa inaad hubisaa waxa ay yihiin khaladaadka hadda jira. Tani waxay sidoo kale ku tusi doontaa markii ugu dambeysay ee WSL la cusboonaysiiyay.
- Fur Command Prompt ama PowerShell oo socodsii amarka soo socda: wsl –status .
Waxaad arki doontaa khaladaadka, markii ugu dambeysay ee WSL la cusboonaysiiyay, iyo sidoo kale nooca kernel-ka.
Sideen u cusbooneysiiyaa WSL?
Waxaad hubisay wakhtiga cusboonaysiinta ee ugu dambeysay ee WSL oo ay ahayd muddo. Waxaad jeclaan lahayd inaad cusboonaysiiso si aad u hubiso inaad haysato noocii ugu dambeeyay.
- Fur Command Prompt ama PowerShell maamule ahaan. Tan samee adiga oo helaya Command Prompt ama PowerShell ee menu-ka Start , ka dib midig-guji oo dooro Maamul ahaan Orod(Run) .
- Ku socodsii amarka wsl-update . Haddii uu jiro cusboonaysiin la heli karo, way soo dejin doontaa oo rakibi doontaa.
- Marka cusboonaysiinta dhammaato, waxaad arki kartaa nooca kernel-ka la cusboonaysiiyay markan. Hadda socodsii amarka wsl -shutdown si isbeddelku u dhaqan galo.
Sideen Ku Heli Karaa Cusbooneysiin Toos ah WSL ?
Ma(Did) eegtay heerkaaga WSL oo ma aragtay fariinta akhrinaysa, “… Cusboonaysiinta tooska ah ma dhici karto sababtoo ah habaynta nidaamkaaga”? Waa kan sida loo saxo taas.
- Fur Settings Windows(Windows Settings) oo tag Windows Update ka dibna xulashooyinka sare .(Advanced)
- Daar Hel(Receive) cusboonaysiinta alaabta kale ee Microsoft . Hadda waxaad had iyo jeer heli doontaa nuqulkii ugu dambeeyay.
Sideen u Beddelayaa Nooca Hore ee WSL(Default WSL Version) ?
Waxaa laga yaabaa inaad rabto inaad haysato WSL 1 oo keliya rakibayaasha (WSL 1)Linux distro mustaqbalka . Taasi si degdeg ah ayey isu beddeshay. Tan waxa kale oo loo isticmaali karaa in lagu dejiyo WSL 2 sida caadiga ah.
- Fur Command Prompt ama PowerShell oo socodsii amarka soo socda: wsl -set-default-version [lambarka nooca wsl](wsl –set-default-version [wsl version number]) halkaasoo lambarka nooca wsl uu yahay nooca aad rabto. Tusaalahan, waa wsl –set-default-version 1 . Waxaad arki doontaa hawlgalka oo si guul leh u dhammaaday marka la dhammeeyo.
- Ku socodsii amarka wsl-status si aad u xaqiijiso in nooca WSL -ka ee caadiga ahaa uu isbedelay.
Sideen u bedeli karaa Linux Distro(Default Linux Distro) -ga caadiga ah ?
Waxaa laga yaabaa inaad rabto inaad maamusho Linux distro ka duwan Ubuntu marka aad furto menu-ka bilawga Windows(Windows Start) oo dooro WSL . Taasi waa ok, way fududahay in la beddelo.
- Fur Command Prompt ama PowerShell oo socodsii amarka wsl –set-default [name] , halkaas oo magacu yahay magaca distro sida ku cad amarka liiska. Tusaalahan, aan u bedelno kali-linux.
- Kaliya waxay qaadataa ilbidhiqsi si uu isbeddelku u dhaco iyo amarku inuu mar kale muujiyo. Isticmaal wsl -liiska -verbose(wsl –list –verbose) ama wsl -l -v amarka si aad u xaqiijiso in distro-ga caadiga ahi isbedelay.
Hadda markaad WSL ka waddo menu-ka Start , waxay fureysaa Kali Linux .
Wax badan ka baro amarrada WSL
Si aad u aragto dokumentiyada caawinta ku dhisan ee WSL , isticmaal amarka wsl –help .
Sidoo kale, hubi maqaalladayada ku saabsan rakibidda WSL iyo isticmaalka bash Windows 11(using bash on Windows 11) . Marlabaad(Come) soo noqo waxaana hubaal ah inaan kuu hayno maqaallo badan oo WSL la xidhiidha.
Related posts
Ku dhis LineageOS Windows 10 adoo isticmaalaya Windows Subsystem ee Linux
Sida loo rakibo Windows Subsystem-ka Linux ee Windows 11
Sideen ku heli karaa nidaamka-hoosaadka Windows ee Linux?
Sida loo rakibo Windows Subsystem-ka Linux gudaha Windows 11
Hagaaji nidaamka-hoosaadka Windows-ka ee khaladaadka Linux, dhibaatooyinka iyo arrimaha
Fiidiyowga iyo Muusiga ugu soo qulquli Console-kaaga Xbox Windows 10
Sida loo beddelo warqadda Drive-ka gudaha Windows
Uninstall iyo reinstall IE gudaha Windows 7
Isku dar labada qaybood ee Windows 7/8/10
Sida loo galo Qaybaha Linux ee Windows
Sida loo Pixelate sawirka Windows iyo Mac
Ka hel erayga sirta ah ee WiFi gudaha Windows 10 Adigoo isticmaalaya CMD
Sida loo Uninstall BlueStacks on Windows iyo Mac
U qoondee Waraaqaha Drive- Folders gudaha Daaqadaha
Sida loo qoro ama loogu sawiro PDF File gudaha Mac iyo Windows
Sida loo furo Faylka JAR ee Daaqadaha
Ka samee Warbixinta Caafimaadka Nidaamka Windows 7 si aad u hubiso khaladaadka
Sida loo damiyo Furaha Daaqadaha
Dib-u-eegis Buugaag - Hagaha sida-Geek-ga loo barto ee Windows 8
Sida Loo Yareeyo Isticmaalka Sare ee Windows Explorer ee Isticmaalka CPU