Sida loo Isticmaalo Maamulaha Xidhmada Windows si loo rakibo Barnaamijyada Windows

Ku rakibida abka gacanta ee Windows waxay noqon kartaa waqti-qaadasho waxayna leedahay dhowr tillaabo, oo ay ku jiraan raadinta noocii ugu dambeeyay ee abka ama barnaamijka, soo dejinta faylka rakibaha, saxiixida heshiisyada, riixida Xiga(Next) si aad u hesho tillaabo ku xigta, iyo gacanta ka qaadista xayaysiisyada qalabyada ama xidhmooyinka aadan rabin. Qaar baa xitaa u baahan isticmaaleyaasha inay xidhaan abka kale ee socda inta lagu jiro rakibidda.

Maqaalkan, waxaan ku tusi doonaa sida loo isticmaalo maamulaha xirmada Windows si aad ugu rakibto apps iyo barnaamijyada adoo isticmaalaya amarka degdega ah.

Maareeyaha Xidhmada Chocolatey(Chocolatey Package Manager)(Chocolatey Package Manager)

Maamulayaasha xirmada Windows(Windows) waa ururinta agabka awood u siinaya isticmaaleyaasha inay si toos ah u rakibaan, qaabeeyaan, iyo cusboonaysiiyaan abka iyo barnaamijyada.

Chocolatey waa maamule xirmo Windows ammaan ah oo fudud . Adigoo isticmaalaya dhowr kood oo kood ah, waxaad ku rakibi kartaa apps iyo barnaamijyada sidoo kale waxaad maamuli kartaa oo aad la socon kartaa wixii ku soo kordha.

Waa bilaash iyo il furan oo loogu talagalay isticmaalka shakhsi ahaaneed iyo ganacsiga. Isticmaalayaasha u baahan shaqeyn horumarsan, Chocolatey waxay siisaa casriyeyn heersare ah.

Ku rakib Chocolatey(Install Chocolatey)

  • Daaqadda amarka ayaa ka soo bixi doonta daaqada sida sawirka hoose.

  • Ku qor code-kan soo socda isla markiiba amarka oo ku dhufo Gelida(Enter) .
@”%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe” -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command “iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1'))“ && SET “PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin”

Inta lagu jiro habka rakibidda, waxaad arki doontaa wax badan oo qoraal ah oo ku wareegaya daaqada amarka.

Ku rakib Apps Adigoo isticmaalaya Maamulaha Xidhmada Windows Chocolatey(Install Apps Using the Chocolatey Windows Package Manager)

Si aad apps-ka ugu rakibto, ku billow adigoo furaya dukumeenti qoraal ah miiskaaga si aad u samayso liiska abka aad rabto inaad ku rakibto. Marka xigta, ka biraawsarkaaga shabakadda, u gudub buugga abka Chocolately, Xirmooyinka la ilaaliyo ee Bulshada(Community Maintained Packages) .

App kasta oo aad rabto inaad ku rakibto, ku qor amarka soo socda faylkaaga qoraalka:

choco ku rakib [magaca xirmada] -fy(choco install [name of package] -fy)

Wixii [name of pack] u isticmaal magaca sida uu uga muuqdo buugga abka. Tusaale ahaan, haddii aad rabto inaad rakibto Mozilla Firefox , isticmaal furaha soo socda:

choco rakib Firefox(choco install firefox)

Qaybta -fy ee amarku waa magac u sheegaya Chocolatey inuu doorto haa(yes ) marka wax kasta oo degdeg ahi soo baxaan inta lagu jiro rakibidda. Tani waxay gacan ka geysaneysaa in hab-socodka si otomaatig ah loo sameeyo oo laga dhigo sida ugu fudud ee suurtogalka ah.

App kasta oo aad rabto inaad ku rakibto waa inuu ku yaal khad gaar ah faylkaaga qoraalka. Xariiq kastaa waa inuu isku mid ahaadaa marka laga reebo magaca abka.

Ka dib marka aad liis garayso dhammaan apps-ka aad rabto in aad ku darto, waxaad isticmaali kartaa hal xariiq si aad u wada rakibto isku mar adiga oo isticmaalaya koodka soo socda ee tusaalaha sare:

choco install firefox -fy.install install firefox -fy.adobereader -fy.install 7zip.install -fy.install notepadplusplus -fy.install skype – fy

Keydi foornada qoraalka oo xidh. Waa inay lahaataa kordhin .txt. Haddii aysan taasi dhicin, waxaad u baahan doontaa inaad awood u siiso kordhinta magaca Faylka ee File Explorer(File Explorer) adoo raacaya tillaabooyinka hoose:

Daar Fidinta Faylka(Enable File Extensions)

  • Fur File Explorer adigoo gujinaya astaanta faylka ee ku yaal xagga hoose ee shaashaddaada.

  • Guji View t ab xagga sare oo sax sanduuqa calaamadaynta ee ku xiga kordhinta magaca faylka(File name extensions) si aad awood ugu yeelato.

  • Marka aad kaydin karto faylkaaga qoraalka kordhinta .txt , ku beddel .bat(.bat) kordhinta. Midig ku dhufo faylkaaga cusub ee .bat oo dooro Orod sida Maamule(Run as Administrator) .

  • Ficilkan ayaa kicin doona Chocolatey inuu bilaabo oo rakibo dhammaan abkaaga. Kaydi faylkaaga .bat si aad mustaqbalka u tixraacdo ama u isticmaasho.

Ku rakib Wax walba Adigoo isticmaalaya Hal Line(Install Everything Using One Line)

Waxa kale oo suurtogal ah in lagu rakibo dhammaan abkaaga iyo maareeyaha xirmada Windows Chocolatey(Chocolatey Windows) isla mar ahaantaana hal fayl oo .bat ah. 

  • Fur faylka .bat ee aad abuurtay oo ku dar ka dib amarka rakibaadda Chocolatey sida soo socota:(Chocolatey)

@”%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe” -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command “iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1′))“ && SET “PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin”

choco rakib Firefox -fy(choco install firefox -fy)

choco rakib rakib Firefox -fy(choco install install firefox -fy)

choco rakib adobereader -fy(choco install adobereader -fy)

choco ku rakib 7zip.install -fy(choco install 7zip.install -fy)

choco rakib notepadplusplus -fy(choco install notepadplusplus -fy)

choco ku rakib skype – fy(choco install skype – fy)

Amarka kore waxaa ku jira duub kelmado si ay u sahlanaato in la akhriyo. Si kastaba ha ahaatee, marka aad socodsiiso amarka, waa in uu ahaado hal xariiq sida aad hoos ku arki karto:

@”%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe” -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command “iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1'))“ && SET “PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin” choco install firefox -fy.choco install install firefox -fy.choco install adobereader -fy.choco install 7zip.install -fy.choco install notepadplusplus -fy.choco install skype - fy

Keydi faylkaaga si aad mar labaad u isticmaasho marka aad u baahato inaad ku rakibto dhammaan abka aad jeceshahay iyo Chocolatey isku mar.

Adeegso Chocolatey(Use Chocolatey) si aad ugu rakibto abkaaga iyo barnaamijyadaga amarka degdegga ah. Waxa ay haysaa xog-ururin weyn oo ku saabsan xidhmooyin Windows ah oo mara habka dib u eegista adag( rigorous review process) .

Waa qalab si toos ah u maamula tillaabooyinka waqtiga-qaadka badan ee helitaanka iyo rakibidda barnaamijyada iyo apps-ka. Isticmaalayaasha ayaa si fudud u dooranaya waxay rabaan inay rakibaan, Chocolateyna(Chocolatey) waxay soo dejisan doontaa noocii ugu dambeeyay adiga oo aan u baahnayn wax talo ah adiga.

Tixgeli xaalada aad rabto inaad cusboonaysiiso dhammaan barnaamijyada iyo apps-ka kumbuyuutarkaaga si aad u hubiso inaad isticmaaleyso noocyadii ugu dambeeyay iyo kuwa ugu amniga badan. Si aad tan gacanta ugu samayso, waa inaad:

  • Soo hel nooca ugu dambeeyay
  • Dooro soo dejinta saxda ah
  • La soco habka rakibaadda si aadan u soo dejisan wax aadan rabin sida aaladaha ay ku jiraan default oo u baahan inaad iska saarto iyaga
  • U maro nidaamkan barnaamij kasta

Ama, isticmaal maamulaha xirmada Windows Chocolatey(Chocolatey Windows) si aad u furto khadka taliska, ku qor:

choco kor u qaadida dhan -y(choco upgrade all -y)

La sameeyay 



About the author

Waxaan ahay injineer software leh in ka badan 10 sano oo waayo-aragnimo ah warshadaha software. Waxaan ku takhasusay abuurista iyo ilaalinta codsiyada software shaqsi iyo shirkad, iyo sidoo kale horumarinta qalabka horumarinta ee ganacsiyada yaryar iyo ururada waaweyn. Xirfadahaygu waxay ku jiraan horumarinta codeBase adag, wax ka saarista & qalabka tijaabinta, iyo inaan si dhow ula shaqeeyo isticmaalayaasha dhamaadka si loo hubiyo in codsiyadoodu u shaqeeyaan si aan cillad lahayn.



Related posts