OMV的源都在国外,国内更新起了比较慢,时常还连不上,那么修改OMV的源达到快速更新是很有必要的。
OMV基于debian系统,所以其更新源分为三部分:
1. debian的更新源,可以使用国内的163、sohu等,速度都比较快;对应文件在/etc/apt/sources.list;
2. OMV源,目前国内没有镜像,除了openmediavault.org的源外其实还有个sourceforge的源;对应文件在/etc/apt/sources.list.d/openmediavault.list;
3. 各种第三方插件源,这个无法解决目前,还没有国内的镜像,对应文件在/etc/apt/sources.list.d/omv-extras-org-kralizec.list。
debian源好办,只要修改为对应版本的源就可以,网上一搜有很多,比如OMV1.X版本是基于debian7的,那么我们就找debian7的源就可以了。我使用的是163的源,以下将我的各源文件文件贴出,供大家参考。#是注释符号,加了就被屏蔽了。
注意:以下源只能X86构架使用,arm构架请另外寻找,我没有arm构架的硬件,所以没有找到好用的。
sources.list
# Line commented out by installer because it failed to verify: #deb http://security.debian.org/ wheezy/updates main contrib non-free # Line commented out by installer because it failed to verify: #deb-src http://security.debian.org/ wheezy/updates main contrib non-free # wheezy-updates, previously known as 'volatile' # Line commented out by installer because it failed to verify: #deb http://mirrors.163.com/debian/ wheezy-updates main contrib non-free # Line commented out by installer because it failed to verify: #deb-src http://mirrors.163.com/debian/ wheezy-updates main contrib non-free deb http://mirrors.163.com/debian wheezy main non-free contrib deb http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free deb-src http://mirrors.163.com/debian wheezy main non-free contrib deb-src http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free deb http://mirrors.163.com/debian-security wheezy/updates main contrib non-free deb-src http://mirrors.163.com/debian-security wheezy/updates main contrib non-free
openmediavault.list,openmediavault.org和sourceforge的源可以任选其一,头两条是稳定版的源,下面的是测试版或社区版的,不建议开启。
# deb http://packages.openmediavault.org/public kralizec main deb http://downloads.sourceforge.net/project/openmediavault/packages kralizec main ## Uncomment the following line to add software from the proposed repository. # deb http://packages.openmediavault.org/public kralizec-proposed main # deb http://downloads.sourceforge.net/project/openmediavault/packages kralizec-proposed main ## This software is not part of OpenMediaVault, but is offered by third-party ## developers as a service to OpenMediaVault users. # deb http://packages.openmediavault.org/public kralizec partner # deb http://downloads.sourceforge.net/project/openmediavault/packages kralizec partner
第三方插件的源就不贴出来了,这个目前没有备用源。
/etc/apt/sources.list
我的源
#deb http://ftp.debian.org/debian wheezy main contrib non-free
#deb http://ftp.debian.org/debian wheezy-updates main contrib non-free
#deb http://security.debian.org/ wheezy/updates main contrib non-free
deb http://ftp.cn.debian.org/debian wheezy main contrib non-free
deb http://ftp.cn.debian.org/debian wheezy-updates main contrib non-free
deb http://ftp.cn.debian.org/debian/ wheezy-proposed-updates main contrib non-free
deb http://ftp.cn.debian.org/debian wheezy-backports main contrib non-free
适合我的arm Openmediavault
评论前必须登录!
注册