type
Post
status
Published
slug
2020/02/12/1581513647899.html
summary
tags
Arch
Linux
category
Linux
icon
password
new update day
Property
Oct 22, 2023 01:31 PM
created days
Last edited time
Oct 22, 2023 01:31 PM
1. 编辑 /etc/pacman.conf
文件
编辑
/etc/pacman.conf
文件,在此文件最后添加下面几行配置。(编辑此文件需要管理员权限即sudo命令)。[archlinuxcn] Include = /etc/pacman.d/archlinuxcn-mirrorlistb
2. 添加 archlinuxcn-mirrorlist
文件
在上一步我们已经告诉了包管理器我们的
archlinuxcn
库的资源文件在/etc/pacman.d/archlinuxcn-mirrorlist
,所以我们现在就需要把相应的镜像站服务器信息填写进去。# # Arch Linux CN community repository mirrorlist # Generated on 2019-12-03 # # Our main server (ipv4, ipv6, http, https) #Server = <https://repo.archlinuxcn.org/$arch> # 中国科学技术大学 (ipv4, ipv6, http, https) Server = <https://mirrors.ustc.edu.cn/archlinuxcn/$arch> # 上海科技大学 (上海) (ipv4, http, https) #Server = <https://mirrors-wan.geekpie.club/archlinuxcn/$arch> # 网易 (ipv4, http, https) Server = <https://mirrors.163.com/archlinux-cn/$arch> # 腾讯云 (ipv4, https) Server = <https://mirrors.cloud.tencent.com/archlinuxcn/$arch> # 重庆大学 (ipv4, http, https) Server = <https://mirrors.cqu.edu.cn/archlinuxcn/$arch> # SJTUG 软件源镜像服务 (ipv4, https) #Server = <https://mirrors.sjtug.sjtu.edu.cn/archlinux-cn/$arch> # 莞工 GNU/Linux 协会 开源软件镜像站 (ipv4, http, https) #Server = <https://mirrors.dgut.edu.cn/archlinuxcn/$arch> # 清华大学 (ipv4, ipv6, http, https) Server = <https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch> # 浙江大学 (浙江杭州) (ipv4, ipv6, http, https) Server = <https://mirrors.zju.edu.cn/archlinuxcn/$arch> # xTom (Hong Kong server) (Hong Kong) (ipv4, ipv6, http, https) #Server = <https://mirror.xtom.com.hk/archlinuxcn/$arch> # xTom (US server) (US) (ipv4, ipv6, http, https) #Server = <https://mirror.xtom.com/archlinuxcn/$arch> # xTom (Netherlands server) (Netherlands) (ipv4, ipv6, http, https) #Server = <https://mirror.xtom.nl/archlinuxcn/$arch> # Open Computing Facility, UC Berkeley (Berkeley, CA, United States) (ipv4, ipv6, http, https) #Server = <https://mirrors.ocf.berkeley.edu/archlinuxcn/$arch>
欢迎加入“喵星计算机技术研究院”,原创技术文章第一时间推送。
- 作者:tangcuyu
- 链接:https://expoli.tech/articles/2020/02/12/1581513647899
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。
相关文章