|
|
|
@ -30,7 +30,7 @@ apt-get autoremove >/dev/null
|
|
|
|
|
|
|
|
|
|
msg "Updating LXC OS..."
|
|
|
|
|
apt-get update >/dev/null
|
|
|
|
|
apt-get -qqy upgrade &>/dev/null
|
|
|
|
|
apt-get dist-upgrade &>/dev/null
|
|
|
|
|
|
|
|
|
|
msg "Installing Prerequisites..."
|
|
|
|
|
apt-get -qqy install \
|
|
|
|
@ -38,11 +38,11 @@ apt-get -qqy install \
|
|
|
|
|
sudo &>/dev/null
|
|
|
|
|
|
|
|
|
|
msg "Installing Plex Server.."
|
|
|
|
|
echo deb https://downloads.plex.tv/repo/deb public main | tee /etc/apt/sources.list.d/plexmediaserver.list &>/dev/null
|
|
|
|
|
curl https://downloads.plex.tv/plex-keys/PlexSign.key | apt-key add - &>/dev/null
|
|
|
|
|
deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list &>/dev/null
|
|
|
|
|
curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add - &>/dev/null
|
|
|
|
|
apt-get update &>/dev/null
|
|
|
|
|
apt-get install plexmediaserver &>/dev/null
|
|
|
|
|
apt-get upgrade &>/dev/null
|
|
|
|
|
apt-get dist-upgrade &>/dev/null
|
|
|
|
|
|
|
|
|
|
msg "Customizing LXC..."
|
|
|
|
|
rm /etc/motd
|
|
|
|
|