From da5b3a7d8aa46dd1492d92d8234e05bfa39d4d33 Mon Sep 17 00:00:00 2001 From: zzlyzq Date: Mon, 21 Oct 2024 08:07:37 +0000 Subject: [PATCH] =?UTF-8?q?update=20mirror/ftpmirror.htm.=20=E6=A0=B9?= =?UTF-8?q?=E6=8D=AE=E5=AE=9E=E9=99=85=E6=83=85=E5=86=B5=E4=BF=AE=E6=94=B9?= =?UTF-8?q?ftpmirror.html=E7=9A=84=E5=86=85=E5=AE=B9=EF=BC=8C=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0apt-mirror=E7=A8=8B=E5=BA=8F=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E6=AD=A3=E5=B8=B8=E5=90=8C=E6=AD=A5=E5=86=85=E5=AE=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zzlyzq --- mirror/ftpmirror.htm | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/mirror/ftpmirror.htm b/mirror/ftpmirror.htm index fe04ce4..95c69ce 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 -- Gitee