Dala ikhosombe lakho lasendaweni le-Arch Linux

indawo yokugcina

Uma uyingxenye yabasebenzisi abavame ukuba nokuxhumeka okuhle kwe-Intanethi futhi bavuselele ngqo kusuka ezinqolobaneni ze I-Arch Linux, le ndatshana ayiyona eyakho, kodwa eyalabo abanemikhawulo ngokwemikhawulokudonsa.

Njengesibonelo ngabeka udaba lwami. Ukuxhumeka kwe-inthanethi ngesikhathi sokusebenza kuhamba kancane kakhulu kunasebusuku (lapho wonke umuntu elele) kunjalo. Engikwenzayo ukuya e-El Palacio Central de Computing, lapho kukhona khona umkhawulokudonsa ongcono futhi amakhosombe amaningi avuselelwa, futhi ngikopisha isibuko sika-Arch.

Ngale ndlela, kufanele ngivuselele kuphela amaphakheji angena kancane kancane ebusuku, okungcono kakhulu kunokulahla i-45GB ngasikhathi sinye. kodwa-ke, ngivuselela kanjani?

Yebo, kunezindlela ezimbili ezilula kakhulu zokwenza, bobabili bathunyelwe ku-Wiki de I-Arch Linux.

Kusetshenziswa iRsync

Uma sinesizinda se- Rsync, singazenzela owethu umbhalo ofaka noma ongafaki amaphakheji athile lapho ukopisha isibuko se- I-Arch Linux. Uma ufuna kube lula, kufanele usebenzise lo mbhalo:

#! / bin / bash ############################ # ################################## ### ### Imvamisa kubhekwe kabi ukwenza isibuko sendawo ngenxa yomkhawulokudonsa odingekayo. ### Enye yezindlela ezizosebenza kungenzeka igcwalise izidingo zakho. # # # KHUMBULA: ### * Umkhawulokudonsa awukhululekile ezibukweni. Kufanele bakhokhele yonke idatha abakunikeza yona ### => Lokhu kusasebenza yize ukhokha i-ISP yakho ### => Kunamaphakeji amaningi azolandwa ongeke uphinde uwasebenzise ### => Opharetha bezibuko uncamela kakhulu ukulanda kuphela amaphakheji owadingayo ### * Ngempela sicela ubheke ezinye izindlela ezikuleli khasi: ### https://wiki.archlinux.org/index.php?title=Local_Mirror ### Uma QINISEKA NGOKUPHELELE ukuthi isibuko sendawo ukuphela kwesisombululo esinengqondo, khona-ke lo mbhalo # # # uzokuyisa endleleni yakho yokuyakha. ################################## # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # = 'rsync: //mirror.example.com/archlinux' DEST = '/ home / user / archlinux' BW_LIMIT = '500' REPOS = 'core extra' RSYNC_OPTS = "- rtlHq --delete-after - delay-updates - Izixhumanisi ezikopishwe - izixhumanisi eziphephile --max-delete = 1000 --bwlimit = $ {BW_LIMIT} - Susa-kukhishwe --exclude =. * --log-file = / home / user / archlinux / archlinux .log "LCK_FLE = '/ var / run / repo-sync.lck' # Qiniseka ukuthi kusetshenziswa isibonelo esingu-1 kuphela uma [-e" $ LCK_FLE "]; bese i-OTHER_PID = `/ bin / cat $ LCK_FLE` echo" Esinye isibonelo esivele sisebenza: $ OTHER_PID "phuma 1 fi echo $$>" $ LCK_FLE "ye-REPO ku- $ REPOS; yenza echo "Syncing $ REPO" / usr / bin / rsync $ RSYNC_OPTS $ {SOURCE} / $ {REPO} $ {DEST} kwenziwe # Ukuhlanza / bin / rm -f "$ LCK_FLE" ukuphuma 0

Lapha ukuphela kwento okufanele siyiguqule okuguqukayo:

UMTHOMBO = 'rsync: //mirror.example.com/archlinux' DEST = '/ home / user / archlinux'

Kufanele sibeke kusuka kusiphi isibuko esifuna ukuxhuma kuso nokuthi sizokopishwa kufolda bani.

Usebenzisa i-LFTP

Uma singakwazi ukusebenzisa Rsync, kungenxa yokuthi i-HP ye-ISP Administrator yethu ivimbile, noma ngesinye isizathu, kuhlala kunenketho yesibili, kulokhu lftp.

Ku-Arch Wiki sinawo lo mbhalo:

#! / usr / bin / lftp -f lcd / local / path / to / your / mirror open ftp.archlinux.org (noma noma yisiphi isibuko sakho osithandayo) # Sebenzisa 'cd' ukushintshela enkombeni efanele esibukweni, uma kunesidingo. isibuko -cve -x '. * i686. *' core & mirror -cve -x '. * i686. *' extra & mirror -cve -x '. * i686. *' umphakathi nesibuko -cve -x '. * i686. * 'multilib & lcd pool cd pool mirror -cve -x'. * i686. * 'umphakathi nesibuko -cve -x'. * i686. * 'package &

Noma ikakhulukazi lapho ngisebenzisa i-LFTP, nginokunye okuhlukile. Engikwenzayo ukubeka okulandelayo kufayela le-.txt:

lftp -e "mirror --delete --only-newer / archlinux / extra / os / x86_64 / / home / user / archlinux / extra / os / x86_64 /" http://mirror.us.leaseweb.net/ lftp - e "mirror --delete --only-newer / archlinux / community / os / x86_64 / / home / user / archlinux / community / os / x86_64 /" http://mirror.us.leaseweb.net/ lftp -e " mirror --delete --only-newer / archlinux / multilib-staging / os / x86_64 / / home / user / archlinux / multilib-staging / os / x86_64 / "http://mirror.us.leaseweb.net/ lftp - e "mirror --delete --only-newer / archlinux / core / os / x86_64 / / home / user / archlinux / core / os / x86_64 /" http://mirror.us.leaseweb.net/ lftp -e " mirror --delete --only-newer / archlinux / extra / os / i686 / / home / user / archlinux / extra / os / i686 / "http://mirror.us.leaseweb.net/ lftp -e" isibuko - -delete --only-newer / archlinux / community / os / i686 / / home / user / archlinux / community / os / i686 / "http://mirror.us.leaseweb.net/ lftp -e" mirror --delete --only-newer / archlinux / multilib-staging / os / i686 / / home / user / archlinux / multilib-staging / os / i686 / "http: // mirro r.us.leaseweb.net/ lftp -e "mirror --delete --only-newer / archlinux / core / os / i686 / / home / user / archlinux / core / os / i686 /" http: // mirror. us.leaseweb.net/

Futhi ngiyagijima:

lftp -f /ruta/archivo.txt

Futhi le yindlela engivuselela ngayo amakhosombe ami endawo ...


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-21, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  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.

  1.   I-Curefox kusho

    Iwusizo kakhulu futhi iyasebenza.

  2.   I-Cocolio kusho

    Iqiniso lihle kakhulu, bengilokhu ngizibuza ukuthi lo msebenzi wenziwe kanjani kepha angikaze ngiphambuke ukuze ngithole ukuthi wenziwe kanjani, ngiyethemba uzoshicilela ukuthi ungasikhomba kanjani isibuyekezo sokugcina kudiski ye-loca, ngiyabonga.

    1.    Julio Cesar kusho

      pacman.conf

      [ikhothamo]
      I-Siglevel = Iphakheji Iyadingeka
      Iseva = ifayela: /// mnt / repo / arch

    2.    izinga kusho

      Uff, bengazi ukuthi kukhona engikushiyile.

  3.   Carlos kusho

    Esikhathini esithile esedlule ngabuye ngazithola ngisesidingo sokwenza lokhu ngoba bekufanele ngiphinde ngifake lonke uhlelo lwami lwe-Archlinux futhi bengingafuni ukulanda yonke i-gnome nezinhlelo zokusebenza futhi ngoba nginokuxhumeka okulinganiselwe. Angazi noma ungashiya enye isayithi lapha kepha uma kwenzeka umuntu ethanda http://www.kr105.shekalug.org/2011/10/16/crear-un-repositorio-local-en-archlinux/ 🙂

  4.   nje-omunye-dl-umsebenzisi kusho

    Ingaki i-GB yokugcina yonke i-ArchLinux?

    1.    ldd kusho

      okuthile kwe-40GB, engingathanda ukukwazi ukuthi singakopisha kuphela amaphakheji ama-64bits bese silahla i686

  5.   Azazeli kusho

    I-Arch ... (ibubule) Ngelinye ilanga lapho nginekhompyutha yami ngizozama ukuyifaka.

  6.   eliotime3000 kusho

    Ngifisa ukuthi kube khona inguqulo ye-LTS ye-Arch, bese ngisebenzisa i-AUR njenge-backport.

    1.    umabhebhana kusho

      Hhayi, angazi ... mhlawumbe ku-planerta yezinkawu kungenzeka

      1.    eliotime3000 kusho

        Njengoba ngibonile ukuthi ayikho, khona-ke ngizozinikela ekutholeni okuningi kuSlackware futhi ngifunde kabanzi nge-OpenBSD.

    2.    Ikhukhi kusho

      Haha lokho kungaba okuphambene ngokuphelele nalokho okumelwe yi-Arch.

  7.   likewho kusho

    Endabeni yami, ngokuvamile, ngihlala ngithola iphakethe engilifunayo, kungaba ku-repo esemthethweni, noma ku-AUR, noma kungenjalo, i-repo yami ayingilahli neze.

    Ngokusobala u-Elav ubambe igciwane le-Arch + versionitis 😛

    1.    likewho kusho

      Wow, ngakho-ke isiphequluli seSteam sisebenzisa iWebKit 😮
      * Ukudlala iPortal kusuka ku-Arch yami *

  8.   yazi93 kusho

    I-elav njengoba bethumela i-arto de arch ungenza okuthunyelwe ukushiya i-KDE enhle, ngethemba nangaphandle ngaphandle kwamaphakeji we-AUR ...

    1.    izinga kusho

      Ukwenza i-KDE ibe yinhle awudingi ama-AUR, vele kde-look.org ne-devianart.com ukuthola izingqikithi ezinhle zePlasma, i-Aurorae, i-QtCurve, izithonjana ... njalonjalo. Noma kunjalo, ngiyibhala phansi ku-ToDo yami.

  9.   Tito kusho

    Sawubona. Bengivakashele le bhulogi inyanga, futhi lokhu kungukuphawula kwami ​​kokuqala.

    Okwe-Debian nezinqolobane ezifana no-Ubuntu, njll., Kukhona iphakethe: debmirror. Uma sekufakiwe, kufanele uyilungiselele ekhombisa okugciniwe, ukwakhiwa, njll. Ukuthi ufuna ukuvumelanisa. I-Debmirror ngumbhalo we-perl osebenzisa i-rsync.

    Eminyakeni edlule benginguprofesa wesigaba se-computer yesayensi, lapho, phakathi kokunye, kwakudingeka ngifundise ukufaka uhlelo lokusebenza. Ukukhetha kwami ​​kwe-Debian. Sisebenzise i-CD ye-netinst. Njengoba wonke amaphakheji bekufanele alandelwe isitshudeni ngasinye, abengu-20, nokuxhumeka kwe-inthanethi kubi, lokho bekungahambi kahle. Ekuqaleni ngisebenzise ummeleli, kepha akuzange kuthuthuke kakhulu. Ngakho-ke nginqume ukufaka iseva encane lapho ngafaka khona amakhosombe engiwasebenzisile. Ngale ndlela ukufakwa kuhambe kahle, ngisho namanani aphezulu we-100 Mbit / s, enikezwe inethiwekhi. Abafundi bekufanele bakhombise ukuthi izinqolobane zikuseva yekilasi futhi bazithola nge-FTP. Izinqolobane zikaDebian Lenny zazingaphezu kuka-20 GB ngosayizi futhi wayezivumelanisa kabili ngesonto, ngoMsombuluko nangoLwesine ngo-2: 00 ekuseni.

    I-Saúdos,

  10.   Leo kusho

    Umhlahlandlela omuhle kakhulu. Kuyiqiniso ukuthi ekuqaleni i-Arch ibonakala iyinkimbinkimbi kakhulu kepha ngenxa yeziqondiso ezinjengalezi akukho okungenzeki.

  11.   cat_sk8 kusho

    I-gracias

  12.   Jordi kusho

    Sawubona .. inkinga yami futhi ijubane le-inthanethi .. kepha ngisebenzisa ubuntu .. ngingenza okufanayo kodwa ngisebenzela ubuntu?
    Gracias

  13.   bosito7 kusho

    Ngiyabonga u-Elav, nathi sishisa nge-rsync lapha, ngiyabonga ngokusikhombisa enye indlela, i-salu2 evela eSantiago