Blog

30 Mar 2017

Mmene Mungayendetse Linux pa Zomwe Zilipo, Gawo I: Zowona

/
Posted by

Microsoft yakhala ikupanga malingaliro angapo ku Linux ndi gulu lotseguka m'zaka zingapo zaposachedwapa. Chilichonse kuchoka ku SQL Server ndi Visual Studio ku Linux kuti iwonetsere Bash shell yangwiro mu Windows 10. Inde, mu November wa 2016, Microsoft inalowa ku Linux Foundation monga gawo la platinamu. Ndi zambiri zomwe zingakhale zosaoneka poyambirira, komanso kuchokera ku malo ambiri, gawo la Microsoft likumvetsetsa ndi kulimbitsa Linux-Microsoft Azure. Ndikufunika kugawira gawo limodzi la zifukwa zazikulu zomwe ndasintha kuti ndikhale wamkulu pa Linux pa Azure.

Linux ndipamwamba pa mzere wa mzere mu Azure

Nditayamba kufufuza za Linux pa Azure, ndinkakonzekera kuti nditenge njira yatsopano yothetsera ntchito ku Azure. Ndakhala ndikugwira ntchito (bwinobwino, kusewera ndi) Kuchokera kuyambira pachiyambi choyamba. Ndinasamuka kuchoka ku injiniya mpaka paziko la maziko ndipo ngakhale kuchokera ku gawo limodzi la Azure kuti likhale lokhazikika. Ndinakonzekera kusuntha ku Linux pa Azure.

Kutembenuka, ndikunyalanyaza izo. Makhalidwe abwino ali posachedwa kuti-maziko ake. Zimagwiranso chimodzimodzi ku Linux pamene ikugwiritsira ntchito Windows, mofanana ndi momwe mukuyembekezera kusintha kapena firewall kugwira ntchito popanda kulemekeza pang'ono pa siteji yogwiritsira ntchito. Kunena zoona, zinali zovuta kwambiri.

Pakapita nthawi yayitali kwambiri Microsoft yatulutsa zotsatira zofunikira pazokhazikika ndi zinthu zokhudzana ndi kutseguka pamene zonse zanenedwa zikuchitika komanso Linux makamaka. Chotsegula chatseguka sichinaonekepo, tinganene kuti, kuunika kolakwika. Microsoft Azure ikuwoneka ngati izi zikuwoneka bwino kwambiri ndipo ndi sitepe yaikulu ya Microsoft pamene kuyika Linux kumaonekera.

Chotsimikizika chimodzi chokha (chomwe mudzamva pa chiwonetsero chilichonse cha Microsoft pa Azure) ndikuti malo ena oposa 40 peresenti ya makina atsopano opangidwa mu Azure alidi a Linux. Ndakhala ndikulankhulana pang'ono kumene amasonyeza kuti ndi gawo lalikulu la ntchito zatsopano, komabe njira iliyonse ndi yaikulu kwambiri. Ganizirani zaka za 10 zomwe zikubwezeretseratu ndikuwonetsera kwa Microsoft kuti mtengo wapadera wa ntchito yatsopano pa malo awo ofunikira adzakhala Linux. Zingakhale zosangalatsa, komabe ndikusochera.

Microsoft yapita kusonkhanitsa mochedwa, komabe onse ali tsopano. Kupanga zinthu zowonjezera Linux ndi zophweka monga kupanga zipangizo zochokera ku Windows. Chofunika kwambiri, Linux zothandizira zimakhala zothandiza ku Azure. Microsoft yakhala ikugwirizanitsa ndi amalonda angapo osasunthika a Linux kuti apereke machitidwe pa maziko, siteji ndi ma programming. Otsatsa, mwachitsanzo, Red Hat ndi Docker ali ndi mautumiki omwe angapangidwe mkati mwa mphindi zochepa mu Azure. Kutsegula ma chitukuko, mwachitsanzo, Redis Cache ndi Chef panopa ndilo gawo lina la dongosolo la Azure.

Ndichovuta koma kupanga ndi kuyang'anira zothandiza Linux mu Azure

Zida zamakono zamkati mkati zimapangitsa Linux kukhala chosewera chofanana ndi Windows. Maziko a pulasitiki amapangidwa m'magulu atatu ofunika: kusungira katundu, kukonza ndi kuwonetsa. Mphamvu ndi machitidwe a kayendedwe ka machitidwe mu Azure ndi OS rationalist, zomwe zikutanthauza kuti iwo adzagwira ntchito mofanana ngati akuthamanga Windows kapena Linux.

Chinthu chachikulu chomwe chimasinthadi ndi chimango chogwira ntchito pa makina enieni. Chabwino ndizomwe ntchitoyi ikugwirira ntchito mkati mwa ntchitoyi.

Muyeso mungathe kupanga zambiri mwazinthu zina musanapange makina enieni ndiye mumangomanga makina omwe ali nawo muzinthu zoyenera. Momwemonso mungathe kupanga mbali yaikulu ya zinthu zomwe mwangoyamba kugwiritsa ntchito mzerewu. Ndondomekoyi ndi yofanana kaya mukupanga zipangizo za Windows kapena Linux.

Monga ndanenedwa nthawi zingapo ndine wa Windows, komabe ndakhala ndikugwiritsa ntchito kasitomala wa Linux kupanga ndi kuyang'anira chilichonse mu Azure kwa kanthawi. Pakali pano, moona mtima ine ndikugwiritsa ntchito galasi la GUI, komabe ndakhala ndikugwiritsa ntchito chipolopolo cha Bash kwa gawo lalikulu la ntchito yanga yopanga ndi kusunga makina enieni. Microsoft imapanga makonzedwe a zida zapansi pamtanda, mwachitsanzo, CLI kapena XPLAT CLI mwangozi kuti mukufunikira kuwunikira, zomwe zimakulolani kuti muyang'ane bwinobwino Azure. Mwachitsanzo, kupanga makina enieni, mungagwiritse ntchito:

tchulani zowonetsera -Qononic: ubuntuserver: 14.04.4-LTS: posachedwa ...

Mapangidwe a chida choyendetsera chilankhulidwe cha zinenero ndizozindikira. Ndikudziwa kuti zipangizo zamakono za CLI zimagwiritsidwa ntchito kwambiri kuposa zipangizo za PowerShell (zomwe ndizofunikira zogwiritsira ntchito makina a Windows).

Pali zifukwa zambiri zodabwitsa zogwiritsa ntchito Linux pa Azure. Fufuzani magawo awiri a nkhaniyi pamene ndikukambirana za kugwirizanitsa, zolephereka, chitetezo, ndi machitidwe. Maphunziro awiri ochepa, omwe amakupatsani mwayi wogwira ntchito ndi Linux pa Azure amapezeka.

Siyani Mumakonda

 
GTranslate Please upgrade your plan for SSL support!
GTranslate Your license is inactive or expired, please subscribe again!