Re: Plex?
Posted: Tue Jan 21, 2014 1:31 pm
OK, here's my step by step of what I did to get Plex running on the XBMC image floating around.
1. On first boot, let it into XBMC, go into programs, then Network Manager and set up your networking as appropriate
2. SSH onto the device, logging in as root, password joggler
3. edit /etc/resolv.conf to point to the DNS server you use (or leave along where your router is 192.168.1.1)
3. Reboot so the joggler picks up the current date / time or use ntpdate xxx.xxx.xxx.xxx where the X's represent your time server (or public one) - missing this step will give you issues with SSL certificates moving
forwards (not yet valid because date will be some when in 2005)
4. apt-get update, apt-get upgrade and apt-get dist-upgrade - be patient, these will take a couple of hours to run through
5. Install python software properties (so we can use apt-add-repository)
6. Add the pre-requisite repositories for Plex to install (do these one at a time, pressing enter to confirm each):
7. Update the repositories using apt-get
DO NOT DO AN APT-GET UPGRADE AFTER THIS POINT - YOU'LL REPLACE XBMC WITH A NIGHTLY VERSION (POTENTIALLY BROKEN)
8. Install Plex
9. Run it on boot.
Replace with the following:
10. Reboot and fingers crossed
With a bit of luck, this will get you to the 'Welcome to Plex' screen. From here, I'm stumped, but you should be able to control PLEX via a physical keyboard (if attached), or the Plex app on Android / iOS.
1. On first boot, let it into XBMC, go into programs, then Network Manager and set up your networking as appropriate
2. SSH onto the device, logging in as root, password joggler
3. edit /etc/resolv.conf to point to the DNS server you use (or leave along where your router is 192.168.1.1)
Code: Select all
nano /etc/resolv.conf
forwards (not yet valid because date will be some when in 2005)
Code: Select all
reboot now
Code: Select all
ntpdate 192.168.1.1
Code: Select all
apt-get update && apt-get upgrade && apt-get dist-upgrade
Code: Select all
apt-get install python-software-properties
Code: Select all
apt-add-repository ppa:plexapp/plexht
apt-add-repository ppa:jon-severinsson/ffmpeg
apt-add-repository ppa:pulse-eight/libcec
apt-add-repository ppa:team-xbmc/xbmc-nightly
Code: Select all
apt-get update
8. Install Plex
Code: Select all
apt-get install plexhometheater
Code: Select all
nano /etc/rc.local
Code: Select all
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then
dpkg-reconfigure openssh-server
fi
ifconfig wlan0 up
dhclient eth0 > /dev/null 2>&1 &
export XBMC_HOME=/opt/plexhometheater/share/XBMC
xinit /opt/plexhometheater/bin/plexhometheater --standalone
clear
exit 0
Code: Select all
reboot now