WIP version
The installation consists of these steps:
- Create Debian LXC container
- Simple Debian configuration
- Install Plex Media Server
- Connect to CIFS
lxc-create -t download -n Debian
- Distribution: Debian
- Release: Jessie
- Architecture: armv7l
Connect to container:
lxc-attach -n Debian
Change hostname (for eg. Debian
):
nano /etc/hostname
Set new hostname to localhost:
nano /etc/hosts
And add this line (for Debian
as hostname):
127.0.1.1 Debian
Install packages:
apt-get install git-core openssh-server rsync sudo fakeroot cifs-utils -y
Create your user (eg. petr
):
adduser petr
Run visudo
commnad and add:
petr ALL=(ALL:ALL) ALL
Log to your user using SSH or sudo:
sudo su petr
Add repository
echo "deb http://dl.bintray.com/tproenca/pmsarm7 jessie main" | sudo tee /etc/apt/sources.list.d/pms.list
Fix for automatic start:
sudo touch /usr/lib/plexmediaserver/start.sh
Install:
sudo apt-get update
sudo apt-get install plexmediaserver
Write down plex
user id (uid
):
id -u plex
Create empty folder for mount:
mkdir -p /media/video
Add mount to /etc/fstab
(set uid
from plex
user)
//192.168.1.10/video /media/video cifs uid=107,gid=1000,iocharset=utf8 0 0