• [ARCH] Select a mirrorlist

    Select a mirrorlist

        Before installing, you may want to edit the mirrorlist file and place your preferred mirror first. A copy of this file will be installed on your new system by pacstrap as well, so it is worth getting it right.
    # nano /etc/pacman.d/mirrorlist
    ##
    ## Arch Linux repository mirrorlist
    ## Sorted by mirror score from mirror status page
    ## Generated on 2012-MM-DD
    ##
    
    Server = http://mirror.example.xyz/archlinux/$repo/os/$arch
    ...
    • Alt+6 to copy a Server line.
    • PageUp key to scroll up.
    • Ctrl+U to paste it at the top of the list.
    • Ctrl+X to exit, and when prompted to save changes, press Y and Enter to use the same filename.
    If you want, you can make it the only mirror available by getting rid of everything else (using Ctrl+K), but it is usually a good idea to have a few more, in case the first one goes offline.
    Tip:
    • Use the Mirrorlist Generator to get an updated list for your country. HTTP mirrors are faster than FTP, because of something called keepalive. With FTP, pacman has to send out a signal each time it downloads a package, resulting in a brief pause. For other ways to generate a mirror list, see Sorting mirrors and Reflector.
    • Arch Linux MirrorStatus reports various aspects about the mirrors such as network problems with mirrors, data collection problems, the last time mirrors have been synced, etc.
    Note:
    • Whenever in the future you change your list of mirrors, always remember to force pacman to refresh all package lists with pacman -Syy. This is considered to be good practice and will avoid possible headaches. See Mirrors for more information.
    • If you are using an older installation medium, your mirrorlist might be outdated, which might lead to problems when updating Arch Linux (see FS#22510). Therefore it is advised to obtain the latest mirror information as described above.
    • Some issues have been reported in the Arch Linux forums regarding network problems that prevent pacman from updating/synchronizing repositories (see [1] and [2]). When installing Arch Linux natively, these issues have been resolved by replacing the default pacman file downloader with an alternative (see Improve Pacman Performance for more details). When installing Arch Linux as a guest OS in VirtualBox, this issue has also been addressed by using "Host interface" instead of "NAT" in the machine properties.
  • 0 komentar:

    Post a Comment

    BACA ARTIKEL

    Silahkan baca artikel seputar UniX Class baik itu artikel ataupun kegiatan yang bersangkutan dengan seputar UniX Class.

    Popular Posts

    ALAMAT

    Jln. Kecapi X No.233, Jatimulya, Bekasi

    EMAIL

    aditya-dharma@live.com
    adityadharmayunias08@gmail.com

    TELEPHONE

    MOBILE