lovi27

OMV5.sh

Apr 7th, 2020
247
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cat <<EOF >> /etc/apt/sources.list.d/openmediavault.list
  2. deb https://packages.openmediavault.org/public usul main
  3. EOF
  4.  
  5. export LANG=C.UTF-8
  6. export DEBIAN_FRONTEND=noninteractive
  7. export APT_LISTCHANGES_FRONTEND=none
  8. wget -O "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc" https://packages.openmediavault.org/public/archive.key
  9. apt-key add "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc"
  10. apt-get update
  11. apt-get --yes --auto-remove --show-upgraded \
  12.     --allow-downgrades --allow-change-held-packages \
  13.     --no-install-recommends \
  14.     --option Dpkg::Options::="--force-confdef" \
  15.     --option DPkg::Options::="--force-confold" \
  16.     install openmediavault-keyring openmediavault
  17.  
  18. omv-confdbadm populate
  19.  
  20. wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash
  21.  
  22. apt update
  23. apt -y upgrade
  24. apt -y install mc
  25.  
  26. clear
  27.  
  28. # Display the login information.
  29. cat /etc/issue
RAW Paste Data