Installing plex manually on FreeBSD

Hello! I would like to ask someone, how can i install plex from .tar.bz2 file? I have xbox 360, and new versions have problem with streaming vids to it, so i have found old bz2 plexmediaserver file, which supports xbox 360. how can I install it, please? Im thinking about buying plex pass, but i dont want it till my freebsd server will run plex that supports xbox 360.
PS: when i started the .sh file inside the bz2 zip, it worked, but i would like it to run as service and autostart with server.
Sorry for my bad english, it is not my main language.

Thanks for any replies!

You should be able to find directions on how to make a script run at startup online. This could also possibly be done as a cron job.

1 Like

you simply need to use FreeBSD packing system (pkg install plexmediaserver) or ports (multimedia/plexmediaserver).

The tarball provided in plex.tv can be used and a start.sh script is provided but it mostly serves as a means to build the port/pkg.

1 Like

Omg im so dumb I completely forget crontab. Now it works and autostarts at system boot! Thank you so much! Have a nice day.

I’m sorry but I don’t know how to make port from the bz2 package, Im not freebsd pro, but anyway, thanks!

Just use pkg install then. If you don’t know how FreeBSD works that’s what you should go with, cronrab is not a rc.d script… it’s really not the best for this.

ports are not hard and FreeBSD is fairly straight forward, but still if you’re new to this, pkg is your best bet.

like sudo pkg install plexmediaserver.tar.bz2?
(i dont want to use newest bersion, i want the old from bz2 package to support xbox 360)

The exact command was there, but that installs the latest available in the repo (by default FreeBSD targets what they call the ā€œquarterlyā€ repo, but yo can change to ā€œlatestā€).
This is all very sepcific to BSD though so if you need more help with how that all works, their handbook (FreeBSD Handbook | FreeBSD Documentation Portal) or forums is likely where you will find best help!

As I said above can’t install the tarball on plex downloads like that not, its not a ā€œready to installā€ package its a compress tarball of the binaries and libs! FreeBSD and FreeNAS use it to make the port and packages available to you!

It wasn’t clear from the first post that you were looking for an older version, you’re best bet there would be to try to build the port for and older version and hope it works, but I can tell you it won’t be worth the effort as it will not work!

You need a fairly recent PMS version for everything to fully work. The 360 app is not update since long ago because Microsoft dropped support years ago, they don’t even update root certs there which IIRC doesn’t even allow it to talk to servers securely, ofc you could drop security if its all LAN, but still doubt the client will fully work (I guess that’s what you found how and why you are looking for a older version).
Its quite the dilema, I understand you’re problem, but a PMS version that old, will not work fully for sure and other clients wouldn’t be able to talk to it! Also the 360 didn’t really have great playback capabilities unlike the Xbox One and Xbox One X.

If I can offer some advice that will save you a lot of time (And time is money), If you don’t have any other hardware for a client, a cheap ā€œFire Stickā€ or ā€œChromecastā€ is probably the best, or if bugget allows an nVdia Shield! Something ā€œin the middleā€ would be the mi box. The fire stick it self is not expensive anyway!

Another option which I would really not recommend is maybe us DLNA (not sure if the Xbox 360 supported it but I think so); ofc its not really a full client, but if it work you could keep on using the same hardware!

1 Like

Yeah FreeNAS specific questions are best put in their own forums! But the OP doesn’t reffer to FreeNAS specifically and using pkg/ports is the same in both (ofc the recommend way in FreeNAS is plugins but we didn’t’ even get into that :stuck_out_tongue: )

FreeBSD, or a any other FreeBSD based system here would make much difference indeed!! Do note that we only claim to support FreeBSD 11.2 and try do do our best to keep it FreeNAS compatible since its our main user base when it comes to BSD.
Its nice to have user’s feedback on other products and hopefully since its just BSD at least the pkg and port should work fine, that said if things break you are own you’re own.

I got a bit off topic though, the fact is for what the OP wants here, there’s really no perfect solution!

(FYI this was in reply to a post that seems to have been deleted :thinking:)

1 Like

Yeah, brain fart and senior moment, all at the same time… I swore I read FreeNAS in the OP and went to town… Then after I posted, I reread the OP, and realized my mistake… Tried to hit delete before anybody caught it… lol…

Hi Mike,

Just seen this post, forgive me if this is a dumb question but how do you change freeBSD from quarterly to lastest?

It’s not hard, you just need to place a file in /usr/local/etc/ I believe… Do a search on the FreeBSD forum for ā€œquarterlyā€ and ā€œlatestā€ā€¦ You will find the specific path, file name, and contents of the file to change which port tree you pull from… If you have problems finding it let me know… Don’t forget to update your port tree with ā€œportsnapā€ after you make the change…

Actually if you just look in /etc/pkg/FreeBSD.conf it tells you how!

# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#

in the same way you can set enabled:no, you can also just set url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" or anything else for that matter.

You can actually change the /etc/ file but that will be overwritten in future updates; changes on /usr/local/etc/ however always stick after OS updates;

really sorry, but you have lost me there. i have also not had much luck in finding out how to change it to lastest. also i did try portsnap update, but i keep getting an error "you must upgrade the ports-mgmt/pkg port first ".

tl;dr

mkdir -p /usr/local/etc/pkg/repos

make sure inside: /usr/local/etc/pkg/repos/FreeBSD.conf you have

FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }

Also run pkg update after the file is changed!

I’ve you’re not very familiar with FreeBSD and pkgng or shell commands in general, I would advice you stick with the plugin, but hopefully those instructions are
easy to follow and you won’t have to do it again!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.