子方有话
子方在多次安装OMV4 和OMV5的过程中,发现网上可用的有些教程并不能满足安装需要,这里贴出子方为orangepizero成功安装openmediavaul4的过程,同时也将部分其它各家的说明放进来,主要以官方性质的为主,以备参考。
OMV错误提示Sense auto is not understood
子方先把坑摆出来,免得走错了。如果按照论坛论坛的指引:Install OMV4 on Debian 9 (Stretch),大概率可能会遇到错误提示:Sense auto is not understood, try true or false。
apt-get --yes --auto-remove --show-upgraded \ > .--allow-downgrades --allow-change-held-packages \ > .--no-install-recommends \ > .--option Dpkg::Options::="--force-confdef" \ > .--option DPkg::Options::="--force-confold" \ > .install postfix openmediavault E: Sense auto is not understood, try true or false.
子方在安装过程中,发现不单单是OMV4,按照论坛关于OMV5的安装指引,也会收到类似的错误提示,此时的解决办法也很简单,只需换一个运行方式即可。缺点是这个过程不是全自动的,中途需要自己参与。放一张子方成功安装OMV5的截图,其实这两个版本都能按照这个思路进行安装。
apt-get install postfix openmediavault
安装预备
1、armbian对应的stretch镜像
2、烧录、登录、填写个人账户密码
3、建议更换源,具体方法参考下面的内容
4、更新索引及软件
apt-get update&&apt-get upgrade
正式安装
首先是添加依赖 cat <<EOF >> /etc/apt/sources.list.d/openmediavault.list deb https://packages.openmediavault.org/public arrakis main # deb https://downloads.sourceforge.net/project/openmediavault/packages arrakis main ## Uncomment the following line to add software from the proposed repository. # deb https://packages.openmediavault.org/public arrakis-proposed main # deb https://downloads.sourceforge.net/project/openmediavault/packages arrakis-proposed main ## This software is not part of OpenMediaVault, but is offered by third-party ## developers as a service to OpenMediaVault users. # deb https://packages.openmediavault.org/public arrakis partner # deb https://downloads.sourceforge.net/project/openmediavault/packages arrakis partner EOF
然后执行安装,安装成功后ip登录,用户名admin / 默认密码openmediavault export LANG=C export DEBIAN_FRONTEND=noninteractive export APT_LISTCHANGES_FRONTEND=none apt-get update apt-get --allow-unauthenticated install openmediavault-keyring apt-get update apt-get --yes --auto-remove --show-upgraded \ --allow-downgrades --allow-change-held-packages \ --no-install-recommends \ --option Dpkg::Options::="--force-confdef" \ --option DPkg::Options::="--force-confold" \ install postfix openmediavault # Initialize the system and database. omv-initsystem
关联阅读
相关教程:orangepizero 重装openmediavault的吐血经历 1——镜像那些事
相关教程:orangepizero 重装openmediavault的吐血经历 2——omv4还是omv5
相关教程:orangepizero 重装openmediavault的吐血经历 3——omv4安装步骤
相关教程:orangepizero 重装openmediavault的吐血经历 4——如何完全卸载omv