Skip to content

Instantly share code, notes, and snippets.

@mikew
Last active December 20, 2015 21:59
Show Gist options
  • Select an option

  • Save mikew/6201414 to your computer and use it in GitHub Desktop.

Select an option

Save mikew/6201414 to your computer and use it in GitHub Desktop.

Getting Started

curl -Ls https://gist.github.com/mikew/6201414/raw/b3961b77d82e061e0d7dba9f668e8c282bafb0b9/setup-cloud9.sh | bash

This will create a folter at $HOME/plexmediaserver, download the plexmediaserver.rpm for CentOS/x86_64 and extract it.

You will still need the Framework.bundle from an existing Plex Media Server install placed in $HOME/plexmediaserver.

That's about it. Run tests with ./run-unix.sh Contents/Tests/...

#!/bin/sh
mkdir -p "$HOME/plexmediaserver"
pushd "$HOME/plexmediaserver"
wget "http://plex.r.worldssl.net/plex-media-server/0.9.7.28.33-f80a4a2/plexmediaserver-0.9.7.28.33-f80a4a2.x86_64.rpm"
rpm2cpio "plexmediaserver-0.9.7.28.33-f80a4a2.x86_64.rpm" | cpio -idmv
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment