Debian9+openmediavault4搭建全纪录

家里一台13年的笔记本,键盘有点问题,想来搭个家用小型NAS用用。没有去买群晖或者威联通,感觉我也没有7*24小时开机的需求。

下面开始吧》》》

1.Debian9

开始使用最新的Debian10来部署,但是后面OMV用了OMV4,遇到一些奇怪的问题,emmm,还是用Debian9+OMV4这个组合吧。

Debian9 iso: http://cdimage.debian.org/cdimage/archive/9.11.0/amd64/iso-cd/

制作U盘启动盘安装系统, 细节就不说了, 注意最后不要安装图形界面。

2.openmediavault4
基本参照官方给的步骤来,https://openmediavault.readthedocs.io/en/latest/installation/on_debian.html

 

Debian 9 (Stretch)

Install HTTPS transport for APT to prevent MITM attack while downloading keyring:

apt-get update
apt-get install --yes apt-transport-https

Add the package repositories:

cat <> /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

Install the openmediavault 4 (Arrakis) package:

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

安装完成后,在浏览器输入服务器的IP地址即可访问OMV的web面板。

Debian9+openmediavault4搭建全纪录_第1张图片

  • OMV初次使用的默认密码是以下,前面最后的安装提示也有显示的:
  • 用户名:admin
  • 密码:openmediavault

 

 

 

 

 

 

你可能感兴趣的:(NAS)