标签:design 地址 rom conf etc ram zstack ios table
OpenMediaVault是什么?官网是这样介绍 OpenMediaVault 的:
What is openmediavault?
openmediavault is the next generation network attached storage (NAS) solution based on Debian Linux. It contains services like SSH, (S)FTP, SMB/CIFS, DAAP media server, RSync, BitTorrent client and many more. Thanks to the modular design of the framework it can be enhanced via plugins.
openmediavault is primarily designed to be used in small offices or home offices, but is not limited to those scenarios. It is a simple and easy to use out-of-the-box solution that will allow everyone to install and administrate a Network Attached Storage without deeper knowledge.
当前 OpenMediaVault 提供两种安装方式:一是通过官方提供的 ISO 镜像进行裸机安装;二是通过 YUM 源在Debian OS 上安装。这和国产云管平台 ZStack 的安装部署方式一样。
官方的 ISO 镜像地址:https://sourceforge.net/projects/openmediavault/files/
官方的 YUM 源地址:https://packages.openmediavault.org/
接下来我主要提供在 Debian 9 OS 上通过 YUM 源部署 OpenMediaVault 。
首先,安装完 Debian OS后,对OS环境做初始化,可参见博文 《
Debian 9 的系统初始化脚本》中提供的 shell 脚本。
初始化结束后建议为 Debian OS 配置静态 IP 。
配置 OpenMediaVault YUM 源:
root@debian:/home/jamesbond007# cat <<EOF >> /etc/apt/sources.list.d/openmediavault.list
deb http://packages.openmediavault.org/public arrakis main
deb http://downloads.sourceforge.net/project/openmediavault/packages arrakis main
deb http://packages.openmediavault.org/public arrakis-proposed main
deb http://downloads.sourceforge.net/project/openmediavault/packages arrakis-proposed main
deb http://packages.openmediavault.org/public arrakis partner
deb http://downloads.sourceforge.net/project/openmediavault/packages arrakis partner
EOF
root@debian:/home/jamesbond007# apt-get --allow-unauthenticated install openmediavault-keyring
Reading package lists... Done
Building dependency tree
Reading state information... Done
...........................................................................................................
root@debian:/home/jamesbond007# apt-get update
Get:1 http://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]
Get:2 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,129 B]
Ign:3 http://downloads.sourceforge.net/project/openmediavault/packages arrakis InRelease
Get:4 http://packages.openmediavault.org/public arrakis InRelease [12.8 kB]
............................................................................................................
root@debian:/home/jamesbond007# 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" --allow-unauthenticated install postfix openmediavault
Reading package lists... Done
Building dependency tree
Reading state information... Done
....................................................................................
执行如下命令完成 OpenMediaVault 的初始化:
root@debian:/home/jamesbond007# omv-initsystem
通过跳板机访问 OpenMediaVault Web UI 进行配置:
以下是用 ISO 部署 OpenMediaVault 的部分截图:
标签:design 地址 rom conf etc ram zstack ios table
原文地址:https://blog.51cto.com/6286393/2504523