diff --git a/mirror/ftpmirror.htm b/mirror/ftpmirror.htm index fe04ce497810c13cd68476460fdd60e6a6b31831..95c69cef05a451d984ecac90703c816ea650b06c 100644 --- a/mirror/ftpmirror.htm +++ b/mirror/ftpmirror.htm @@ -27,12 +27,31 @@ 在安装 apt-mirror 软件包后,在其配置文件 /etc/apt/mirror.list 加入如下一行:

-deb https://fun.ie8.pub:2443/atzlinux bookworm main contrib non-free non-free-firmware +deb-amd64 https://fun.ie8.pub:2443/atzlinux bookworm main contrib non-free non-free-firmware

+
  • 配置rinetd
  • +

    +0.0.0.0 2443 113.119.9.67 2443 +

    +
  • 配置hosts
  • +

    +127.0.0.1 fun.ie8.pub +

    +
  • 配置nginx
  • +

    + server { + listen 80; + server_name fun.ie8.pub; + + location /atzlinux/ { + return 301 https://fun.ie8.pub:2443$request_uri; + } +} +

  • 配置 web 服务
  • 在机器 web 服务端上,加上对 apt-mirror 同步目录别名设置, 将 atzlinux 目录别名设置到 同步的数据目录。
  • 同步频率
  • - 建议每天一次 + 建议每天一次。取消/etc/cron.d/apt-mirror文件中的注释即可。
  • iso 镜像
  • https://www.atzlinux.com/download-iso.htm#iso-mirrors