首先Openmediavault 更换国内源
nano /etc/apt/sources.list
修改文件内容为以下:
deb http://mirrors.ustc.edu.cn/debian-security/ buster/updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian-security/ buster/updates main contrib non-free
deb http://mirrors.ustc.edu.cn/debian/ buster-updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian/ buster-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
更换openmediavault源
nano /etc/apt/sources.list.d/openmediavault.list
修改文件内容为以下
deb https://mirrors.bfsu.edu.cn/OpenMediaVault/public/ usul main
deb https://mirrors.bfsu.edu.cn/OpenMediaVault/public/ usul-proposed main
deb https://mirrors.bfsu.edu.cn/OpenMediaVault/public/ usul partner
更换debian kernel-backports源
nano /etc/apt/sources.list.d/openmediavault-kernel-backports.list
文件内容如下
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
2.安装OMV源key
wget http://packages.openmediavault.org/public/pool/main/o/openmediavault-keyring/openmediavault-keyring_1.0_all.deb dpkg -i openmediavault-keyring_1.0_all.deb
3. 升级系统并安装OMV
apt update apt install postfix openmediavault
4. 添加OMVExtras插件库
wget -O - http://omv-extras.org/install | bash
5.登录OMV后台
初始帐号:admin 初始密码:openmediavault