DIY NAS服务器之OMV 5.6入坑指南(一)-openmediavalut 5.6安装
DIY NAS服务器之OMV 5.6入坑指南(二)- 安装omv-extras插件
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo sh -c 'echo > /etc/apt/sources.list'
sudo nano /etc/apt/sources.list
复制并粘贴以下内容(默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释):
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-security buster/updates main contrib non-free # deb-src http://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free 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
cat > /etc/apt/sources.list << EOF 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-security buster/updates main contrib non-free # deb-src http://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free 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 EOF
二、编辑 openmediavault-kernel-backports.list
sudo cp /etc/apt/sources.list.d/openmediavault-kernel-backports.list /etc/apt/sources.list.d/openmediavault-kernel-backports.list.bak
echo "deb https://mirrors.tuna.tsinghua.edu.cn/debian buster-backports main contrib non-free" > /etc/apt/sources.list.d/openmediavault-kernel-backports.list
sudo cp /etc/apt/sources.list.d/openmediavault.list /etc/apt/sources.list.d/openmediavault.list.bak
echo "deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/public/ usul main" > /etc/apt/sources.list.d/openmediavault.list
sudo cp /etc/apt/sources.list.d/omvextras.list /etc/apt/sources.list.d/omvextras.list.bak
sudo nano /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 deb http://linux.teamviewer.com/deb stable main
cat > /etc/apt/sources.list.d/omvextras.list << EOF deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/openmediavault-plugin-developers usul main deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/openmediavault-plugin-developers usul-extras main deb [arch=amd64] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian buster stable deb https://linux.teamviewer.com/deb stable main EOF
sudo apt update
今天的文章
omv更换源_手机做NAS系统分享到此就结束了,感谢您的阅读。
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:http://bianchenghao.cn/89723.html