美文网首页
二、镜像源&hosts

二、镜像源&hosts

作者: 已经是咸鱼的小涛orz | 来源:发表于2021-07-06 16:12 被阅读0次

    一、安装OMV系统
    二、镜像源&hosts
    三、OMV设置
    四、流媒体服务器
    4-1、脚本:从TMM导入Jellyfin演员图
    五、下载

    1. 镜像源

    • Debian 软件源 /etc/apt/sources.list
    deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main
    deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main
    
    deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
    deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
    
    • Debian 系统安全源 /etc/apt/sources.list.d/openmediavault-os-security.list
    deb https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free
    deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free
    
    • openmediavault 软件源 /etc/apt/sources.list.d/openmediavault.list
    deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/public/ usul main
    
    • kernel-backports 软件源 /etc/apt/sources.list.d/openmediavault-kernel-backports.list
    deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
    
    • OMV-Extras 扩展源 /etc/apt/sources.list.d/omvextras.list
    deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/openmediavault-plugin-developers/ usul main
    deb [arch=amd64] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian buster stable
    
    • Docker 镜像源 /etc/docker/daemon.json
    {
      "registry-mirrors": [
        "https://registry.docker-cn.com",
        "https://z6rz47mk.mirror.aliyuncs.com",
        "https://hub-mirror.c.163.com",
        "https://docker.mirrors.ustc.edu.cn",
        "https://docker.mirrors.ustc.edu.cn",
        "https://mirror.ccs.tencentyun.com",
        "https://mirror.baidubce.com"
      ]
    }
    

    2. hosts

    通过 ipaddress.com 查找对应address的真实IP

    # vim /etc/hosts
    
    185.199.108.133 raw.githubusercontent.com
    185.199.109.133 raw.githubusercontent.com
    185.199.110.133 raw.githubusercontent.com
    185.199.111.133 raw.githubusercontent.com
    
    52.84.22.5 api.themoviedb.org
    52.84.22.27 api.themoviedb.org
    52.84.22.43 api.themoviedb.org
    52.84.22.92 api.themoviedb.org
    
    104.26.8.126 opensubtitles.org
    104.26.9.126 opensubtitles.org
    172.67.72.143 opensubtitles.org
    
    

    相关文章

      网友评论

          本文标题:二、镜像源&hosts

          本文链接:https://www.haomeiwen.com/subject/eshiultx.html