RK3588 installation and deployment openmediavault


openmediavault related information:

https://docs.openmediavault.org/en/6.x/index.html
https://github.com/OpenMediaVault-Plugin-Developers/installScript
https://docs.openmediavault.org/en/stable/installation/on_debian.html
https://www.svlik.com/go.php?http://www.openmediavault.org/
https://zhuanlan.zhihu.com/p/357426831?ivk_sa=1024320u

Deployment preparation

Since different versions of openmediavault have different dependent environments, the specific official has stated that this deployment uses the Debian10 (buster) environment to install and deploy openmediavault 5.x version; (the official also introduced that it can be built based on the armbian environment, which is an ARM A Linux distribution based on Debian and Ubuntu under the platform)

Debian 10 file system compilation and acquisition

The RK3588 SDK package carries the build and compile environment of Debian11 (bullseye) by default, specifically under the SDK/debian/ path, but what we want to compile and build is Debian10, and the RK3568 or earlier SDK package contains Debian 10 ( buster) compilation environment, their compilation and construction methods are the same.

Since the deployment and installation of openmediavault requires a Debian system without a desktop environment, so pay attention to select TARGET=base when compiling and building, as follows (this step can be explained in the development manual of the original RK factory):

cd debian/
#安装环境依赖
sudo apt-get install binfmt-support qemu-user-static live-build 
sudo dpkg -i ubuntu-build-service/packages/* 
sudo apt-get install -f
#编译64位Debian基础库
RELEASE=buster TARGET=base ARCH=arm64 ./mk-base-debian.sh
#构建rootfs
VERSION=debug ARCH=arm64 ./mk-rootfs-buster.sh
./mk-image.sh

Debian10 file systems from other manufacturers can also be used (as long as it is an arm64 version, the official one is also acceptable). Since the RK3588 board uses the firefly manufacturer for this deployment, in order to quickly verify, directly obtain the Debian firmware image provided by firefly for production.

install openmediavault

There are many official installation methods, and there are also some scripts that automatically complete the installation. These methods are all possible. For details, refer to: https://docs.openmediavault.org/en/stable/installation/on_debian.html,

The installation and deployment operations are as follows:

Install base dependencies

apt install php-fpm php-json php-cgi php-cli php-mbstring ethtool python3-dialog acl \
	xfsprogs jfsutils ntfs-3g sdparm postfix bsd-mailx cpufrequtils smartmontools uuid \
	nfs-kernel-server proftpd-basic sshpass samba samba-common-bin rsync avahi-daemon \
	libnss-mdns beep php-bcmath gdisk rrdtool collectd anacron cron-apt quota php-xml \
	quotatool lvm2 watchdog libjson-perl liblocale-po-perl proftpd-mod-vroot libjavascript-minifier-xs-perl \
	xmlstarlet socat rrdcached nginx wpasupplicant btrfs-progs samba-vfs-modules python3-pyudev \
	python3-natsort jq chrony python3-netifaces python3-lxml salt-minion php-yaml python-click python3-click

Install openmediavault original keyring

#下载安装工具与key
apt-get install -y wget gnupg2
wget -O archive.key http://packages.openmediavault.org/public/archive.key
apt-key add archive.key
#设置环境变量
export LANG=C.UTF-8
export DEBIAN_FRONTEND=noninteractive
export APT_LISTCHANGES_FRONTEND=none

Add openmediavault official source

Here, we refer to the official source, Tsinghua source is used in China:

cat <<EOF > /etc/apt/sources.list.d/openmediavault.list
deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/public usul main
deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/packages usul main
## Uncomment the following line to add software from the proposed repository.
# deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/public usul-proposed main
# deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/packages usul-proposed main
## This software is not part of OpenMediaVault, but is offered by third-party
## developers as a service to OpenMediaVault users.
# deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/public usul partner
# deb https://mirrors.tuna.tsinghua.edu.cn/OpenMediaVault/packages usul partner
EOF

Add remember to execute apt-get update && apt-get upgrade to update

Install openmediavault basic dependencies

apt install monit php-pam libjs-extjs6 wsdd

install openmediavault

apt install openmediavault
#一定记得要更新
apt-get update && apt-get upgrade

After everything is successfully completed, restart the system.

After the installation is complete and restarted, the browser accesses your board IP,

Default username: admin
Default login password: openmediavault

insert image description here
insert image description hereinsert image description here

Guess you like

Origin blog.csdn.net/qq_37596943/article/details/127334658