Presented by
Zackary Lowery
on October 6th, 2016 at
Leading EDJE.
Available online at https://presentations.xcjs.com/
Press your space bar or swipe to navigate down and then forward. ยป
Plex is a media server you can use to stream music, photos, and video to any device on your network or the Internet.
Let's install SSH to send commands to our server!
apt install openssh-server
The server can now be detached from a monitor and all input devices.
As long as it's connected to a network, we're good to go!
On your primary computing device, install an SSH client. Linux or Mac users should have one built in.
Let's setup a user that will be used to manage the server day-to-day that isn't root.
adduser {{username}}
We still want to be able to install software, updates, and modify our system. To do this, we need to add the user to the sudo group.
usermod -aG sudo {{username}}
Disconnect as root and make sure the new account works as expected. In fact, let's check for updates!
sudo apt-get update && sudo apt-get upgrade
Note that system commands that can alter the system must now be preceeded with "sudo".
sudo sed -i "/^PermitRootLogin/c\PermitRootLogin no" /etc/ssh/sshd_config
sudo service ssh reload
sudo apt-get install samba
sudo mkdir -p /plex/Videos/Movies
sudo chown -R nobody:nogroup /plex
sudo chmod -R 777 /plex
sudo net usershare add Movies /plex/Videos/Movies "Plex Movies" everyone:F
guest_ok=y
sudo net usershare info --long Movies > /var/lib/samba/usershares/movies
sudo apt-get install git
sudo git clone https://github.com/mrworf/plexupdate.git /opt/plexupdate
Why /opt? /opt is for unbundled software not provided by a package manager.
sudo ln -s /opt/plexupdate/plexupdate.sh /usr/local/bin/plexupdate
sudo plexupdate -p -a
Open a web browser on your primary computing device and access your Plex server at the specified URL.
http://{{servername}}:32400/web/index.html
Plex offers an account to make a few features easier.
Paying for Plex isn't required, but does grant access to a few additional features.
Collections are how Plex knows how to organize media. Prominant collections include:
Buried in the plex.tv account
settings...
Plex recently announced a partnership with Amazon to enable media syncing through the Plex interface for Plex Pass users.
Plex runs everywhere:
Return to the rest of the presentations.