I-Alpine 3.19: okudingeka ukwazi ngaphambi kokuyifaka

I-Alpine Linux

I-Alpine Linux isabalalisa i-musl ne-BusyBox esekelwe ku-Linux, okuhloswe ngayo ukuba ingasindi futhi ivikeleke ngokuzenzakalelayo kuyilapho isasebenziseka emisebenzini yenjongo evamile.

Ezinsukwini ezimbalwa ezedlule sabelana lapha kubhulogi izindaba ze ukukhishwa kwenguqulo entsha ye-Alpine Linux 3.19 okuyi Ukusabalalisa okuthole ukuqashelwa emphakathini we-Linux indlela yayo ye-minimalist nokusebenza kahle.

I-Alpine Linux ibambelela kufilosofi "encane, elula futhi evikelekile", okwenza kube ukusatshalaliswa okukhangayo ikakhulukazi kubasebenzisi be-Raspberry Pi, njengoba iyisistimu yokusebenza engasindi futhi enamandla.

I-Alpine Linux
I-athikili ehlobene:
I-Alpine Linux 3.19 ifika ngokusekelwa kwe-RPi 5, ukuthuthukiswa nokunye

Futhi yilokho phakathi kwe izici izici eziyinhloko zalokhu kusatshalaliswa singazigqamisa:

  1. Ukuqondiswa kokuphepha: I-Alpine Linux yaklanywa kucatshangelwa ukuphepha njengoba iwukusabalalisa okunezingxenye ezidingekayo kuphela, okusho ukuthi isusa zonke izingxenye ezingadingekile ukuze ibe inketho eqinile.
  2. Ukukhanya kanye ne-minimalist: I-Alpine Linux yakhelwe ukuthi ibe engasindi, iyenze ilungele amasistimu acindezelwe yizinsiza. dla isikhala sediski esincane futhi inezidingo eziphansi zenkumbulo
  3. Uhlelo lwasekhaya lwe-BusyBox: I-Alpine Linux isebenzisa i-BusyBox njengohlelo lwayo lokuqalisa, oluhlinzeka ngesethi yezinsiza ze-Unix ekusebenzeni okukodwa.
  4. Ukuqaliswa okulula kwe-Init: isebenzisa i-OpenRC njengohlelo lwayo lwe-init, inikeza ukuqaliswa okulula nokuphumelelayo kwenqubo yokuqalisa uhlelo ngobuncane obudingekayo ekuqaliseni kokuqala.

Uma ungathanda ukwazi ukusuka ku-Alpine 3.18 ukuya ku-Alpine 3.19 ngaphandle kokulahlekelwa idatha noma ukulungiselelwa noma ukufaka lokhu kusatshalaliswa kusukela ekuqaleni, kubalulekile ukuthi wazi ezinye zezinguquko ezenziwe ekukhishweni kwakamuva.

I-Alpine Linux 3.19 ukubuyekezwa kwe-Linux kernel enguqulweni engu-6.6 LTS kuyagqama okuhambisana nokuhambisana ne-Raspberry Pi 5, kanye nokuhlanganiswa kwama-kernels, njengoba i-linux-rpi4 kanye ne-linux-rpi2 kernels ithathelwe indawo "i-linux-rpi" eyodwa.

Isibuyekezo sesikimu somzila se-Yggdrasil, isofthiwe yenethiwekhi, kuya enguqulweni engu-0.5, sethula isikimu esisha somzila esingase sidinge ukulungiswa ukuze kuhambisane.

Uhla lwemibhalo lwamaphakheji we-Python manje seluphawulwe njengoluphethwe ngaphandle, oluthinta ukufakwa kwepayipi kuhla lwemibhalo yesistimu ephethwe yi-apk. Abasebenzisi bayanconywa ukuthi bacabangele ezinye izindlela ezifana ne-pipx.

Ngaphezu kwalokhu, singathola nezibuyekezo zezindawo zedeskithophu I-GNOME 45, LXQt 1.4 kanye nemvelo yedeskithophu ye-KDE, amaphakheji e-KDE Gear 23.08 afakiwe kanye ne-KDE Frameworks 5.112.

Uyibuyekeza kanjani i-Alpine Linux?

Usuvele wazi kancane ngemininingwane ye-Alpine Linux 3.19, kufanele ukwazi lokho Inqubo yokuvuselela evela enguqulweni yangaphambili ilula kakhulu Futhi ukuze ugweme ukufaka kabusha lonke uhlelo futhi, ngaphezu kwakho konke, ukulahlekelwa ulwazi lwakho nezilungiselelo, kufanele wazi ukuthi ungakwenza ngale ndlela elandelayo.

Into yokuqala mayelana nalokhu futhi njengoba sihlala sincoma ngaphambi kwanoma yisiphi isibuyekezo/ukufakwa, ukuthi wenze isipele imininingwane yakho yomuntu siqu noma lokho okubheka njengokubalulekile, njengoba nakuba inqubo ilula, isincomo ngaso sonke isikhathi siwukwenza isipele futhi ungazisoli nganoma yisiphi isenzakalo esingalindelekile.

Kushiwo kahle ngenhla, ukuvuselela kusuka enguqulweni yangaphambilini (kulokhu kufuduka kusuka ku-Alpine 3.18 kuya ku-Alpine 3.19) kufanele sikhiphe imiyalo elandelayo:

apk update
apk upgrade

apk add --upgrade apk-tools

apk upgrade --available

Kwenziwe lokhu kufanele siqinisekise futhi sihlele (uma kunesidingo) ifayela /etc/apk/repositories, ukushintsha inombolo yenguqulo mathupha. Isibonelo, i-Alpine 3.18 kuya ku-3.19.

vi /etc/apk/repositories

Noma ngokulinganayo singasebenzisa umbhalo wokumisa ozokwenza into efanayo futhi usicele ukuthi siguqule inombolo yenguqulo ngokucindezela u-e. Singakwazi ukwenza lesi script nge:

setup-apkrepos

Uma lokhu sekwenziwe, siqhubeka nokuthayipha futhi:

apk update

Futhi manje singenza isibuyekezo sesistimu esiphelele nge:

apk upgrade --available && sync

Ekugcineni, kubalulekile ukubuyekeza isilayishi sebhuthi esifakiwe ngaphambi kokuqala kabusha futhi uma ungenzi kanjalo, isistimu cishe ngeke iqale. Ukwenza lokhu, mane nje wenze umyalo olandelayo:

update-grub

Noma esimweni sezinhlelo ze-BIOS (x86 noma x86_64)

grub-install --boot-directory=/boot --target=i386-pc $disk

Uma usuqedile, vele wenze:

reboot

Ungayibuyekeza kanjani i-Alpine Linux ku-Raspberry Pi?

Manje endabeni yabasebenzisi beRaspberry, inqubo kungase kwehluke kancane, ngakho-ke ngingancoma ukuthi uthembele ku-Alpine Wiki ngenqubo. Ungahlola imininingwane ku- isixhumanisi esilandelayo.

Uma ungumuntu othanda ukufunda noma ukhetha ukonga isikhathi esincane, ake ngikutshele ukuthi ungasebenzisa iskripthi ukuze ubuyekeze i-Alpine ku-Raspberry yakho, lesi sikripthi sibizwa ngokuthi "i-alpine-os-updater".

Kuyafaneleka ukusho lokho lesi script asisemthethweni, ngakho kufanele ukwazi lokho iyinsiza edalwe umsebenzisi futhi injongo yayo ithi:

  1. Thuthukisa ukufakwa kwe-Alpine Linux okukhona kusuka enguqulweni endala kuya kweyakamuva. Lokhu kuzokwenza isibuyekezo sasendaweni futhi kulondoloze ukufakwa kwekhosombe lomphakathi lenguqulo yangaphambilini ku-apk. Ukuqalisa kabusha kuyadingeka njengengxenye yesibuyekezo futhi iskripthi sizosetshenziswa ukuze kuqedelwe ukuguqulwa kokucushwa kwe-apk repository kanye nokufakwa kwephakheji yokulungisa okufanele ibuyekezwe ngokuzenzakalelayo ekuqaliseni kokuqala.
  2. Njengoba ukutholakala kwephakheji kungase kushintshe kusuka enguqulweni kuya enguqulweni, kuyanconywa izokwenza ukuhlola kwawo wonke amaphakheji akhona afakiwe ukuhlola ukuthi ayatholakala yini endaweni yokugcina yenguqulo entsha. Uma noma iyiphi iphakheji ingakwazi ukuthuthelwa enguqulweni entsha, umlayezo uzovezwa ukuze uqinisekise ukuthi ufuna ukuqhubeka ngaphambi kokwenza izinguquko ohlelweni. Uma kwamukelwe, noma uma zingatholakali izinkinga, iskripthi sizoqhubeka nokufaka.
  3. Njengengxenye yalesi sifaki, wonke amaphakheji azobuyekezwa abe yinguqulo yakamuva etholakala enguqulweni yamanje yesistimu uhlelo lokusebenza ukuzama ukuqinisekisa ukuthi isistimu yakho ingaqala ngenethiwekhi kanye ne-SSH ngemva kokuthuthukiswa. Ngokuzenzakalelayo, lesi sifaki sizosebenzisa inguqulo yakamuva ezinzile.

Ukuze ukwazi ukusebenzisa i-alpine-os-updater, vele uvule itheminali bese uthayipha kuyo:

wget --no-cache -qO- https://raw.githubusercontent.com/XtendedGreg/alpine-os-updater/main/upgrade.sh | ash

Uma ugijima iskripthi, it izokwenza lezi zenzo ezilandelayo:

  • Izoqalisa kabusha ngokuzenzakalelayo futhi yenze ezinye izenzo zokuhlanza ngemva kokuqalisa kabusha ukuze kuqinisekiswe ukuthi amakhosombe e-apk akhomba enguqulweni yakamuva nokuthi amaphakheji ayabuyekezwa futhi afakwe ukuze afane.
  • Uma ukufakwa sekuqediwe, ifayela lokungena lizovela empandeni yemidiya yokuqalisa.
  • Uhlu lwangaphambili lwe-APK luzohanjiswa /etc/apk/repositories.bak ukuze ukwazi ukuhambisa mathupha noma yimaphi amaqoqo angokwezifiso.

Okokugcina uma unentshisekelo yokwazi kabanzi ngakho mayelana nalesi script, ungabheka imininingwane Kulesi sixhumanisi esilandelayo.


Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Unomthwalo wemfanelo ngedatha: AB Internet Networks 2008 SL
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.