First setup an unprivileged Ubuntu container with Plex Media Server installed. Inside the container take note of the id of the plex
group.
# Your Plex group's ID may be different
$ getent group plex | cut -d : -f3
998
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get remove -y libva ffmpeg | |
sudo apt-get install -y \ | |
autoconf libtool libdrm-dev xorg xorg-dev openbox \ | |
libx11-dev libgl1-mesa-glx libgl1-mesa-dev \ | |
xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev \ | |
libxkbcommon-x11-dev libxcb-dri3-dev \ | |
vim cmake git nasm build-essential |
This exemplary initial setup uses two devices /dev/sdb
and /dev/sdc
but can be applied to any amount of devices by following the steps with additional devices.
Create keyfile:
dd bs=64 count=1 if=/dev/urandom of=/etc/cryptkey iflag=fullblock
chmod 600 /etc/cryptkey
I used to sift trough my shell history and bookmarks every time I set up a new testing server in order to be able to send mails. So this should help...
Be aware don't use ssmtp
anymore. It's unmaintained and has been removed
from Debian
and Ubuntu will most definitely follow suit.