LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs > The adventures of your average linux user
User Name
Password

Notices

The adventures and rambling of your average windows user trying to live in a linux world.
Rate this Entry

Plex media server for Slackware

Posted 10-22-2013 at 12:50 PM by trxdraxon
Updated 10-22-2013 at 02:10 PM by trxdraxon

I got Plex media server up and running smoothly on my Slackware box and thought I would share my experience. It is pretty easy to get running but there is little to no documentation for Slackware as it is not officially supported.

EDIT: Forgot to add that the package is 32bit so you will need multilib installed.

First install the uNRAID package. Once it's installed there is a settings.ini in /boot/config/plugins/plexmediaserver that you should edit. You can edit the default directories for the Plex temp directory and the Plex library for metadata. It defaults to /tmp and can get quite large so I would recommend changing it. My media collection is around 700gigs which makes around 2gigs of metadata.

Now you need to edit the /usr/local/plexmediaserver/start.sh
from this

Code:
#!/bin/sh
SCRIPT=$(readlink -f $0)
SCRIPTPATH=`dirname ${SCRIPT}`
export LD_LIBRARY_PATH="${SCRIPTPATH}"
export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
ulimit -s 3000
./Plex\ Media\ Server
To this
Code:
#!/bin/sh
SCRIPT=$(readlink -f $0)
SCRIPTPATH=`dirname ${SCRIPT}`
export LD_LIBRARY_PATH="${SCRIPTPATH}"
export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
ulimit -s 3000
$SCRIPTPATH/Plex\ Media\ Server
This allows you to start the script from any directory.

To start the server you need to run

Code:
/etc/rc.d/rc.plexmediaserver start
and
Code:
sh /usr/local/plexmediaserver/start.sh &
You can obviously autostart these but I start them manually because I rarely reboot my desktop and I don't leave Plex running if I am at my computer.

Now open up your web browser and go to http://localhost:32400/manage/index.html and add your media libraries and you are done.
Posted in Uncategorized
Views 1099 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 06:44 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration