OpenMediaVault: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "==Config== <source lang="bash"> cat <<EOF >> /etc/apt/sources.list.d/openmediavault.list deb https://packages.openmediavault.org/public usul main # deb https://downloads.sourc...")
 
Line 24: Line 24:
apt-get update
apt-get update


apt-get --yes --auto-remove \
apt-get --yes \
--auto-remove \
--show-upgraded \
--show-upgraded \
--allow-downgrades \
--allow-downgrades \
Line 33: Line 34:
install openmediavault-keyring openmediavault
install openmediavault-keyring openmediavault


# Populate the database.
# populate the database
omv-confdbadm populate
omv-confdbadm populate


# Display the login information.
# login information
cat /etc/issue
cat /etc/issue
</source>
</source>

Revision as of 09:38, 20 August 2020

Config

cat <<EOF >> /etc/apt/sources.list.d/openmediavault.list
deb https://packages.openmediavault.org/public usul main
# deb https://downloads.sourceforge.net/project/openmediavault/packages usul main
## Uncomment the following line to add software from the proposed repository.
# deb https://packages.openmediavault.org/public usul-proposed main
# deb https://downloads.sourceforge.net/project/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://packages.openmediavault.org/public usul partner
# deb https://downloads.sourceforge.net/project/openmediavault/packages usul partner
EOF

Install

export LANG=C.UTF-8
export DEBIAN_FRONTEND=noninteractive
export APT_LISTCHANGES_FRONTEND=none

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"
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 openmediavault-keyring openmediavault

# populate the database
omv-confdbadm populate

# login information
cat /etc/issue

References