Hi. I found installing Plex Server in openSUSE was a bit quirky, so I'm putting a few workarounds here or else some new Linux users might have difficulty setting Plex Server up.
Software
As far as I know there is no openSUSE RPM available so you have to use the Plex offering available here: https://plex.tv/downloads. At time of writing there was a Centos and a Fedoas RPM on offer. I chose the Fedora RPM. If someone of you chooses to try Centos RPM, let us know in the comment section below.
I put collected RPMs like this in a simple directory in my /home and add that directory as a repo in Yast ==> Software ==> Repositories ==> Add ==> Local Directory.
Then install using yast in the normal fashion.
Ports and Firewall
The main website lists a bunch of ports so I put them all in a service list this way:
- Name a text file as plexmedia-server
- Put these entries in the fileCode:
## Name: Plexmedia Server ## Description: Opens ports for Plex Media Server with broadcast allowed. # space separated list of allowed TCP ports TCP="3005 8324 32400 32469" # space separated list of allowed UDP ports UDP="1900 5353 32410 32412 32413 32414" # space separated list of allowed RPC services RPC="" # space separated list of allowed IP protocols IP="" # space separated list of allowed UDP broadcast ports
- place the file in the directory Code:
/etc/sysconfig/SuSEfirewall2.d/services
- Open the Friewall in Yast ==> Allowed Services ==> Service to allow ==> Plexmedia Server (in the drop-down box) + Add ==> Next etc
Activating the service to start at boot time
A service file exists after installing the RPM and you can see an entry for it in Yast ==> System ==> Services ==> in the list will be "plexmediaservice" and it will be Disabled and Inactive. The daemon doesn't turn on and it doesn't persist in this tool. Instead use this workaround to activate the server:
You have to put a line in the root cron table to activate the Plex Server a little time after boot up. I did it this way:
I like to use kwrite as the editor (because I never did like the default editor vi in a gui environment), so in a su console I ran this command to temporarily change the root editor:
Code:
export EDITOR='dbus-launch /usr/bin/kwrite'
Then run this command (in su console) to open the root cron table
Code:
crontab -e
Code:
@reboot sleep 60;systemctl start plexmediaserver.service
That entry will give the cron a 1 minute pause at boot time, then execute the startup of the media server.
Access the Server from a Computer in the LAN
Use this web address from within the openSUSE server:
HTML Code:
http://localhost:32400/web/index.html
HTML Code:
http://IPaddressOfTheServer:32400/web/index.html
Accessing from Android devices
Use the Play Store App. Search on "Plex for Android" and choose the app by Plex, inc.
That's all folks. Be well.
FFI see YouTube video here by Geeko Tutorials
Message