OpenMediaVault: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 71: Line 71:
==Good To Know==
==Good To Know==
<source lang="bash">
<source lang="bash">
df -h
apt update
apt update
apt upgrade
apt upgrade
apt list --upgradable
apt list --upgradable
vcgencmd measure_temp


ls -lah /etc/apt/trusted.gpg.d/
ls -lah /etc/apt/trusted.gpg.d/

Revision as of 23:32, 21 August 2020

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 -qO - https://packages.openmediavault.org/public/archive.key | apt-key add -

apt update
apt list --upgradable

apt --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
adduser pi ssh

Warning

Password Issue:
─┬────────────────────────────────────
 ├─ 1. Access Rights Management
 ├─ 2. User     » Select » Edit
 ├─ 3. Password » Confirm
 └─ 4. Save     » Apply
SSH Access:
─┬────────────────────────────────────
 ├─ 1. Access Rights Management
 ├─ 2. User     » Select » Edit
 ├─ 3. Groups   » ssh    » checked
 └─ 4. Save     » Apply

Admin

cat /etc/issue
http://cid.chorke.org

user: admin
pass: openmediavault

Good To Know

df -h
apt update
apt upgrade
apt list --upgradable
vcgencmd measure_temp

ls -lah /etc/apt/trusted.gpg.d/
ls -lah /etc/apt/sources.list.d/

rsync -avuzb --exclude '*~' samba:sourcedir/ targetdir/
rsync -av --exclude={'*.txt','dir3','dir4'} sourcedir/ targetdir/
rsync -av --exclude-from={'/chorke/academia/ignore/rsync.txt'} sourcedir/ targetdir/

rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
wget -qO - https://pkg.jenkins.io/debian-stable/jenkins.io.key | apt-key add -

curl -sSL https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash

References