一,更换源
添加国内源https://mirror.tuna.tsinghua.edu.cn/help/debian/
debian10 就行(添加到/etc/apt/sources.list下, 其他的全部注释小)
apt update
apt upgrade
更新
二,OVM安装
参考
https://docs.openmediavault.org/en/5.x/installation/on_debian.html#installation-on-debian
- 添加apt-key:
apt-get install --yes gnupg
wget -O "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc" https://packages.openmediavault.org/public/archive.key
apt-key add "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc"
- 设置环境变量
export LANG=C.UTF-8
export DEBIAN_FRONTEND=noninteractive
export APT_LISTCHANGES_FRONTEND=none
- 添加OVM源:
deb https://packages.openmediavault.org/public usul main
(注意:如果htts更新不了换成http) - 更新源
- 先运行 apt update
- 再运行 apt list --upgradable
- 最后运行 apt upgrade
- 安装基础依赖
apt install monit php-pam libjs-extjs6 wsdd
- 安装OMV
-
apt install openmediavault
安装完成后 运行apt-get update apt-get upgrade
reboot
-
三,安装OMV插件
https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/openmediavault-plugin-developers/pool/main/o/openmediavault-omvextrasorg/选择要下载的版本
下载 wget http://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/openmediavault-plugin-developers/pool/main/o/openmediavault-omvextrasorg/openmediavault-omvextrasorg_5.6.6_all.deb
解压安装 dpkg -i openmediavault-omvextrasorg_5.6.6_all.deb
重新进OMV 就可以看见extras插件