daviddwlee84 / DataManagement

Notes of setup data backup or other stuff like NAS etc.
1 stars 0 forks source link

OpenMediaVault #2

Open daviddwlee84 opened 3 years ago

daviddwlee84 commented 3 years ago

RAID


daviddwlee84 commented 3 years ago

Music Stream

Airsonic (used to be Libresonic)

mStream

daviddwlee84 commented 3 years ago

Video Stream / Media Server

tekkbs standalone video viewer.

1. Install OMV
2. make shared folder, share with smb/cif, put in videos
3. install omv extras
4. install plex plugin

watch videos via iframe in omv-webgui

Plex

Directory Structure for media: https://support.plex.tv/articles/naming-and-organizing-your-tv-show-files/ https://support.plex.tv/articles/naming-and-organizing-your-movie-media-files/ https://www.pcmag.com/how-to/how-to-organize-your-plex-media-library

Jellyfin

daviddwlee84 commented 3 years ago

omv-extras.org

Once installed OMV, then get OMV-Extras. This will enable the Docker and Portainer!

SSH setup note

  1. Login to web UI with default account admin openmediavault
  2. Create user. Most importantly add the following groups: adm, root, ssh, sudo, users.
daviddwlee84 commented 3 years ago

openmediavault forum

daviddwlee84 commented 3 years ago

SMB

daviddwlee84 commented 3 years ago

Open Port Check Tool - Test Port Forwarding on Your Router

daviddwlee84 commented 3 years ago
daviddwlee84 commented 3 years ago

Trouble Shooting

OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run proftpd 2>&1' with exit code '1'

ssh_exchange_identification: Connection closed by remote host

Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run rrdcached 2>&1' with exit code '1'

Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run collectd 2>&1' with exit code '1'

Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run certificates 2>&1' with exit code '1'

DNS error. Exiting ...

Docker storage :: /var/lib/docker
Agent port:: 8000
Web port:: 9000
Yacht port:: 8001
arch   :: amd64
option :: portainer
state  :: install
extras :: 5.6.1
DNS error.  Exiting ...
Done.
  1. ping DNS 8.8.8.8 => work
  2. Set network DNS to it

omv-firstaid

daviddwlee84 commented 3 years ago

VPN / Proxy

daviddwlee84 commented 3 years ago

搭建 openmediavault NAS | Hongbo Lin

daviddwlee84 commented 3 years ago
$ id admin
uid=998(admin) gid=100(users) groups=100(users),997(openmediavault-admin),1000(administer)

$ id `whoami`
uid=1001(daviddwlee84) gid=100(users) groups=100(users),0(root),4(adm),27(sudo),33(www-data),115(ssh),1000(administer)

Follow the docker compose setting

Claim Token is a must-have. That will bind the server to your account.

In this way, you can use "add friend" to share your server.

The best practice is to put all media in under one folder like

/data
 - /Movies
 - /Musics
 - /Photos
 - /TVSeries/Season/Episode

then bind later.



This is not working (somehow these become just client)

daviddwlee84 commented 3 years ago

BT

daviddwlee84 commented 3 years ago
daviddwlee84 commented 3 years ago

daviddwlee84 commented 3 years ago

Bittorrent

qBittorrent

daviddwlee84 commented 3 years ago

Heimdall

Just use Stack in Portainer.io with docker-compose

Get Plex Token

daviddwlee84 commented 3 years ago
daviddwlee84 commented 3 years ago

Plugin

OMV6


daviddwlee84 commented 3 years ago

Shellinabox (removed in OMV5)

daviddwlee84 commented 3 years ago

Moditor