Plex Forums: Plex Media Server - Ubuntu package - Plex Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Plex Media Server - Ubuntu package Come see my Ubuntu package!

#1 User is offline   Tobias Hieta 

  • Plex Dev Team
  • PipPipPip
  • Group: Plex Employee
  • Posts: 616
  • Joined: 04-October 08
  • Gender:Male
  • Location:Göteborg

Posted 25 July 2011 - 12:24 PM

Hello!

Since I want to have things clean and tidy on my Ubuntu server I decided to create a Ubuntu package from Plex Media Server. The package is nice and handles setup of an account, upstart script and dependency tracking. I have published my scripts at github if someone wants to create a debian package to use at their machine as well.

I have decided to not publish a precompiled .deb until the Plex Team fully endorses it, because of bandwidth requirements and redistribution rights, so for now you have to 'build' the debian package yourself. Don't worry, it's easy :-)
Instructions on how to build and install is also on Github, follow the links below.

Anyway, code and issue tracking https://github.com/t...iaServer-Ubuntu. Or if you just want to download the latest version of the scripts and don't care about git you can follow this link:https://github.com/t.../tarball/master

Notes to the Plex Team:
  • It would be nice to be able to run Plex Media Server from any directory and just give an argument or environment variable of where the resources directory is.
  • Seems like the server can't run if the user that is running it doesn't have a shell. Seems like a strange requirement.
  • The server segfaults if it can't write to ~/Library :)


Have fun! (And thanks a million to Plex Team for their awesome work!)
1

#2 User is offline   elan 

  • Sheriff of Plexville
  • PipPipPip
  • Group: Sheriff Of Plexville
  • Posts: 4,880
  • Joined: 26-May 08
  • Gender:Male
  • Location:Maui

Posted 25 July 2011 - 07:35 PM

Tobias, I think I love you :)

We'd love to use your script to build better packages for release and download on our site (and mirrors). We've already fixed the "specify via environment variable where the resources live" issue (if you mean the ~/Library/... stuff).

If you're interested, please PM me your email and I'll invite you to our private Linux room, and we can work together to get your script integrated into our workflow for release.

Thanks again!
Instagram: @elan
The Plex blog.
The wife's photography site.
The brother's photography blog.
The dog's twitter feed.
0

#3 User is offline   puithove 

  • Dedicated Member
  • PipPipPip
  • Group: Members
  • Posts: 292
  • Joined: 03-January 09

Posted 25 July 2011 - 08:40 PM

Building on top of that Elan, if you can get a proper .deb package going (that alone would be great) it'd be super-great if you could set up an actual repository...
0

#4 User is offline   rippiedoos 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 24-June 11
  • Gender:Male
  • Location:Netherlands

Posted 26 July 2011 - 05:53 AM

Nice work!! I love it. Can't wait to use this DEB.

By the way, could the .deb be altered to create a file /etc/default/plexmediaserver where the location of the library can be defined and other things as max plugin procs and such? I know this is the default way in Debian, correct me if i'm wrong, to define such things.
0

#5 User is offline   Tobias Hieta 

  • Plex Dev Team
  • PipPipPip
  • Group: Plex Employee
  • Posts: 616
  • Joined: 04-October 08
  • Gender:Male
  • Location:Göteborg

Posted 26 July 2011 - 06:41 AM

View PostAndreas Dijkman, on 26 July 2011 - 05:53 AM, said:

Nice work!! I love it. Can't wait to use this DEB.

By the way, could the .deb be altered to create a file /etc/default/plexmediaserver where the location of the library can be defined and other things as max plugin procs and such? I know this is the default way in Debian, correct me if i'm wrong, to define such things.


Yeah, that is part of my plan to do that as well. I will talk to Elan and the guys and see what we can come up with.
0

#6 User is offline   Razzia 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 16-August 09

Posted 26 July 2011 - 02:46 PM

I'm am quite new to Ubuntu - have a small Ubuntu Server 11.04 box running for 3 months with 6-7 different services on my network. Haven't really tried installing anything without apt-get before.

Currently I have the following file structure:

/tru-PlexMediaServer-Ubuntu-6e63412
  /debian
  /src
    /resources
  README.md



When I run "fakeroot dpkg-buildpackage -us -uc -b" I get the following error:
/usr/bin/fakeroot: line 176: dpkg-buildpackage: command not found

Could you please point me in the right direction ? What am I doing wrong.
0

#7 User is offline   Tobias Hieta 

  • Plex Dev Team
  • PipPipPip
  • Group: Plex Employee
  • Posts: 616
  • Joined: 04-October 08
  • Gender:Male
  • Location:Göteborg

Posted 26 July 2011 - 04:09 PM

you need to install the dev utilities. apt-get install build-essential and retry should help you out.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users