mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-30 19:02:45 +00:00
Voidlinux help
This commit is contained in:
parent
4d4faccb61
commit
db2d701c62
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
category: help
|
||||
layout: help
|
||||
mirrorid: voidlinux
|
||||
---
|
||||
|
||||
# Voidlinux 镜像使用帮助
|
||||
|
||||
使用如下命令替换为本镜像:
|
||||
|
||||
```
|
||||
# mkdir -p /etc/xbps.d
|
||||
# cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
|
||||
# sed -i 's|https://alpha.de.repo.voidlinux.org|https://mirrors.tuna.tsinghua.edu.cn/voidlinux|g' /etc/xbps.d/*-repository-*.conf
|
||||
```
|
||||
|
||||
之后可用 `xbps-query -L` 检查是否正确替换。
|
||||
|
||||
参考[官方教程](https://docs.voidlinux.org/xbps/repositories/mirrors/changing.html)。
|
||||
Loading…
Reference in New Issue