Rub tawm los ntawm cov iav tshiab ceev tshaj plaws ntawm Arch Linux nrog Reflector

Cauj linux

Thaum rub tawm pob los ntawm cov chaw cia khoom ntawm peb qhov chaw faib khoom GNU / Linux, nws yog ib qho tseem ceeb kom teeb tsa tsom iav sai tshaj plaws kom tus download tau nyob rau lub sijhawm luv tshaj plaws. Feem ntau nws pom zoo kom xaiv cov iav ze ze rau peb qhov chaw nyob rau lub hom phiaj no, txawm hais tias nyob rau hauv kev xyaum qhov no tsis tas li qhov tsim nyog tshaj plaws, vim tias qhov lus teb ceev ntawm tib lub server nyob qhov twg daim iav tuav yog muaj ntau dua.

Nyob rau hauv cov ntaub ntawv ntawm Arch Linux, nyob rau ntawm nplooj ntawv Daim iav xwm txheej Cov neeg tsim khoom tau tshaj tawm lub rooj nrog tag nrho cov tsom iav paub thiab nws tau hloov kho tshiab qhia lawv cov xwm txheej thiab cov lus teb ceev. Yog tias peb xav tau, peb tuaj yeem coj cov uas peb nyiam los ntawm muaj thiab nkag hauv lawv tus kheej hauv peb cov npe, txawm hais tias los pab peb ua txoj haujlwm no yooj yim dua. Reflector.

Reflector yog ib tsab ntawv uas ua tus saib xyuas cov ntaub ntawv los ntawm Mirror Status thiab tso cai rau peb ua haujlwm nrog lawv nyob rau ntau txoj kev siv cov lus txib hauv lub console. Tam sim no peb yuav pom yuav siv nws li cas thiaj li teeb tsa lub tsom iav ceev tshaj plaws ua ntej txhua qhov hloov tshiab.

Lus Qhia

Cia peb pib los ntawm txhim kho lub pob Reflector los ntawm cov chaw cia khoom:

# pacman -S reflector

Txhawm rau pom txhua txoj kev xaiv muaj peb tuaj yeem saib ntawm nws phau ntawv qhia kev pab:

$ reflector --help

Ib qho kev siv theem pib yog qhov no:

# reflector --sort rate -l 5 --save /etc/pacman.d/mirrorlist

Cov lus piav qhia:

  • -Sort: Qhia Reflector dab tsi parameter uas koj yuav tsum siv los txheeb cov tsom iav. Cov kev xaiv muaj tus nqi (rub tawm ceev), tau (cov qhab nia nyob hauv Daim iav Raws Li Txoj Cai), lub teb chaws (lub teb chaws ntawm qhov chaw), muaj hnub nyoog (lub hnub nyoog ntawm cov sync kawg) thiab ncua (ncua sijhawm). Qhov no peb tab tom qhia koj kom lawv txiav txim raws li koj qhov download ceev tshaj plaws.
  • -l: Txwv cov lej ntawm cov txiaj ntsig mus rau tus naj npawb ntawm cov tsom iav uas peb qhia, suav mus rau hauv tus account hnub ntawm kev hloov kho kawg. Ntawm no peb qhia koj los muab peb 5 daim iav tshiab tshaj plaws.
  • Txuag: Teeb cov ntaub ntawv uas nws yuav luam tawm 5 daim iav nrawm thiab tsis ntev los no uas nws pom. Cov ntaub ntawv uas peb xav tau yog pom tseeb peb daim iav. Nws yog qhov tseem ceeb heev los ua tus thaub qab ntawm daim iav daim tseem.Cov. Thaum lub sijhawm teeb tsa, Arch Linux tsim ib qho ncaj qha rau /etc/pacman.d/mirrorlist.original, tab sis nws tsis raug mob kom paub tseeb tias nws muaj lossis tsim ib qho yog tias nws tsis muaj.

Txoj kev no, mus rub tawm los ntawm cov tsom iav zoo tshaj plaws nws yuav txaus kom muaj kev thaub qab ntawm peb cov tsom iav qub thiab tom qab ntawd hu rau Reflector nrog cov lus txib twb hais los lawm. Txawm li cas los xij, nws yog pom tseeb cov lus txib ntev heev uas yog qhov nyuaj rau nco ntsoov lossis tub nkeeg sau. Lwm txoj hauv kev zoo yuav raug tsim kev cai yuav kom nws ua haujlwm nrog cov lus txib kom yooj yim.

Hauv ib qho kev teeb tsa nrog nrog bash Peb tsuas yog yuav tsum tau qhib ~ / .bashrc cov ntaub ntawv nrog cov ntawv sau thiab muab ib txoj kab tom kawg zoo li no:

alias nombre_del_alias='comandos a ejecutar'

Siv cov kev hloov pauv:

$ . .bashrc

Thiab nrog qhov peb tuaj yeem tam sim no ua qhov kev txiav txim peb xav tau nrog cov kev cai hais kom ua. Piv txwv, rau Reflector Kuv siv qhov no:

alias update='sudo reflector --sort rate -l 5 --save /etc/pacman.d/mirrorlist && yaourt -Syyu --aur --devel'

Ua tsaug rau cov npe txawv ntawd, thaum kuv xav hloov kho cov kab ke txhua yam kuv tau ua yog sau update nyob rau hauv cov davhlau ya nyob twg, uas ua rau Reflector luam tawm 5 lub iav nrawm tshaj plaws thiab nyuam qhuav hloov tshiab mus rau hauv daim iav, thiab tom qab ntawd khiav Yaourt txhawm rau ua tiav qhov kev hloov kho tiav ntawm ob pob khoom ntawm cov tub ceev xwm chaw zov me nyuam thiab cov ntawm AUR thiab devel.

Tam sim no nws yog nyob rau txhua tus neeg los kho lub npe cuav raws li lawv xav tau. Tej zaum lawv xav siv ib qho zoo li kuv lossis nyiam tsim dua ib qho rau Reflector, lossis hloov Yaourt los ntawm Pob Ntawv los yog tsuas yog PacmanCov. Qhov ua tau yog tsis kawg.

Hauv kev kaw, nws yuav tsum raug sau tseg tias siv Reflector Ua ntej txhua qhov hloov tshiab, nws yuav pib siv sijhawm me ntsis ntev dua li ib txwm nug cov lus Mirror Status, txawm hais tias nws yuav tau lav los ntawm qhov siab dua nws yuav muab thaum rub tawm cov pob.


Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

12 lus, tawm koj li

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm.

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.

  1.   ua iluk said

    Kuv muaj teeb meem nrog tsom iav tau ob peb lub hlis. Txawm hais tias siv reflector, txhua txhua lossis ob lub lis piam, Kuv tau txais kev ua txhaum nrog lawv thaum hloov kho tshiab; xws li yog tias lawv tau poob thiab qhov twg cov neeg European feem ntau siv (ua ntej siv cov Brazilians tau siv). Yog li kuv yuav tsum hloov pauv tsis tu ncua.
    Thaum kuv muaj sijhawm kuv yuav fij kuv tus kheej kom paub seb qhov teeb meem yog dab tsi.
    Zoo ncej, txais tos.

    1.    Manuel tsib la Fuente said

      Tib yam tshwm sim rau kuv, uas yog qhov tseeb vim kuv tau tsim cov cai hu rau Reflector ua ntej txhua qhov hloov tshiab, txij li lwm yam, yog tias daim iav ua haujlwm tau zoo rau kuv hauv kev hloov tshiab, rau tom ntej nws tau hais tias nws tsis tau teb ntxiv.

    2.    Koj Buntu said

      Kuv tau ntsib teeb meem nrog cov downloads tsis tsuas yog nyob rau hauv Ubuntu, tab sis nrog kev teeb tsa ntawm Arch, Debian, Suse ... qhov twg, dheev, rub tawm ceev, feem ntau ntawm cov ntawv loj xws li ntsiav, libreoffice lossis linux firmware, poob qis hauv qab 640 Kb / ntawm 22 Kb / s, thiab nws yuav siv mus ib txhis, tab sis… muaj kab laum, Vajtswv foom koob hmoov rau koj, uas tso cai rau kuv kom txoj kev rub tawm sai:

      Thaum qhov kev tsis sib haum xeeb no tshwm sim, qhov kuv ua feem ntau yog tso lub Firefox browser, thiab kev rub tawm mus txog 1200 Kb / s li 10 vib nas this thiab pib nqes dua, yog li kuv khaws thiab qhib nws, lossis qhib thiab kaw cov nplooj ntawv, ntau npaum li cas Ntev nws yuav siv sij hawm thauj, qhov ntev ntawm kev xav yuav ua kom txog thaum cov ntawv rub tawm ua tiav.

      Qhov tseeb tias nws nce mus txog 1200 kb / s Kuv xav tias yog vim qhov adsl ntawv cog lus txog 10 Mb txawm hais tias feem ntau tsuas yog 5 txog, yog tias txhua.

      Kuv vam tias ib tug neeg pab, ah! Thiab nws kuj tseem tuaj yeem siv thaum lub sijhawm teeb tsa, nag hmo kuv tau txhim kho Chromixium hauv VirtualBox los kuaj nws thiab tom qab ntawd nruab nws lub laptop ntawm ib tus neeg uas xav tau tsiv mus nyob ntawm Güindous, txawm hais tias thaum kawg kuv tau nruab Antix, thiab nthuav tawm Chrome zoo heev txhawb nqa lub sijhawm rub tawm.

      Txais tos.

  2.   mat1986 said

    Kuv tau hais los ntawm kev nthuav dav uas Chij Linux -based ntawm Arch- koom nrog Reflector los ntawm lub neej ntawd, yog li cov txheej txheem tsuas yog thov "sudo pacman -Syyu" thiab Reflector ua haujlwm tau.

    1.    Manuel tsib la Fuente said

      Koj puas tshwm sim kom paub dab tsi txwv lub Reflector ntawm qhov uas siv distro?

      1.    mat1986 said

        Cov ntawv muab tso rau hauv qab no yog ib feem ntawm Choj Linux txhim kho cov ntawv sau: http://paste.desdelinux.net/5059

        Xav paub ntau ntxiv ntawm no:
        http://millertechnologies.net/forum/index.php?topic=829.msg4300#msg4300

        1.    Manuel tsib la Fuente said

          Kuv pom, lawv muaj nws teeb tsa mus tsom iav synced hauv 10 teev dhau los thiab siv tus qauv -f hloov –Sort tus nqi kom sau 5 daim iav ceev ceev tshaj plaws. Qhov tseeb yog tias kuv tsis tau nkag siab vim li cas Reflector muaj cov kev xaiv duplicate; li cas los nws kuj muaj Sort teb chaws y .Txoj Kev Tu SiabCov. Nws yuav yog ib lo lus nug ntawm kev tshawb nrhiav seb qhov twg zoo dua ib qho dhau ib. Tsaug rau lub tswv yim. 🙂

    2.    Nikita AW said
  3.   Babel said

    Kev nkag tau zoo. Ua tsaug rau qhov taub, Kuv tsis tau txawm paub dab tsi aliases yuav pab nyob rau hauv qhov kev txiav txim zoo. Kuv yuav thov nws ob leeg ntawm kuv lub computer nrog Arch.

  4.   Abaddon said

    Ib qho teeb meem yog tias cov tsom iav ceev ceev tsis ib txwm nyob hauv sync nrog cov pob tshiab kawg.

    Ntau zaus kuv tau tshawb xyuas tias Arch Tsev nplooj ntawv qhia X pob hloov tshiab tab sis tsis txawm tias nrog -Syyu puas muaj qhov hloov tshiab no tshwm sim. Yog vim li cas kuv xum "scoresort qhab nia" dhau ntawm "tus nqi –sort".

  5.   bitl0 ib said

    Peb tseem tuaj yeem siv cov ntawv sau los ntawm aur peb tuaj yeem rub nws "armrr-git"

  6.   jose said

    Nyob zoo, tom qab ua qhov no, yaourt cuam rau kuv yuam kev li hauv qab no:
    AUR yuam kev: Cov lus nug tsis raug
    kev ua yuam kev: hauv paus tsis pom: aur

    Kuv tau hloov kho bashrc tawm hauv nws ua qhov chaw, Kuv tau uninstalled reflector, Kuv tau muab lub npe daim iav thiab kuv tau rov yaourt, tab sis nws tsis pom qhov aur database, hauv pacman.conf yog tias archlinuxfr repo nyob ntawd, tab sis kuv tsis "Tsis paub yuav pov qhov twg."
    txais tos

bool (muaj tseeb)