We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d2b6b4 commit ba6bdc7Copy full SHA for ba6bdc7
docs/services/mirrors/repos.md
@@ -25,6 +25,13 @@
25
26
另外,`bindIP` 不适用于所有的同步镜像(一部分程序不支持修改 `bind()` 的参数),此时可以使用基于 Docker Network 的 `network` 配置。
27
28
+ !!! example "使用 bestbind 找到最佳的 freebsd-pkg 上游"
29
+
30
+ ```shell
31
+ dig +short _http._tcp.pkg.all.freebsd.org srv | cut -d ' ' -f 4 > freebsd
32
+ for i in $(cat freebsd); do echo $i; bestbind "http://$i/FreeBSD:15:amd64/quarterly/All/virtualbox-ose-71-7.1.12_1.pkg"; done
33
+ ```
34
35
写好新仓库的配置文件之后运行 `yuki reload`,然后 `yuki sync <repo>` 就可以开始初次同步了。
36
37
### 为 Git 类型仓库添加软链接至 `/srv/git` {#git}
0 commit comments