Install or Update plex media server on centos local/vps
Mar 16, 2014 11:08:49 GMT
Post by coder_uk on Mar 16, 2014 11:08:49 GMT
TUTORIAL WRITTEN BY Jim-W
Here is how I upgrade or Install Plex Media Server on my CentOS 6.5 system .....
Make sure system is up to date first ......
Run all as root ...
yum update
Then download and/or copy the latest Plex Server to a temp directory on your system (e.g /temp)
wget http://downloads.plexapp.com/plex-media-server/0.9.8.18.290-11b7fdd/plexmediaserver-0.9.8.18.290-11b7fdd.x86_64.rpm
Stop the current running Plex Media Server ...
service plexmediaserver stop
Then from the directory with the new downloaded Plex Server rpm ....
yum localupdate plexmediaserver-0.9.8.18.290-11b7fdd.x86_64.rpm
That should be it. Then startup your Plex Media Server again and it will be the new updated version
service plexmediaserver start
Afterwards, you should check the log files to see that all is OK.
One thing to consider ....
I always disable the Plex repo. Every update seems to re-enable the Plex repo for yum. I have NEVER had any luck using the Plex repo. It never seems to be up to date, and more often than not may give you a problem you don't need. So disable the Plex repo prior to running a yum update again.
I originally installed Plex by downloading the rpm and doing a yum localinstall plexmediaserv-0XXXXX. That is why I always use "yum localupdate".
That's it. I haven't had any problems updating or installing this way.
Under normal circumstances, we would just open up a browser to configure Plex. However, since there’s no graphical user interface on the VPS, it makes things a bit more difficult. We’re going to trick the Plex server in thinking that we’re connecting to its “trusted” local area network. We do that byway of SSH Tunneling. First thing that we have to do is launch PuTTy and put in the IP address or domain name associated with the VPS server, input in the port number and click on “Tunnels”.
Once you’re in “Tunnels”, put 8080 for “Source port”, select “Dynamic” and “Auto” and push “Add”.
You should see “D8080″ like below. Click “Open” and login to the VPS server.
Once you are logged in, you can minimize PuTTY (but keep it running).
10. Open up Firefox, go into “Options”, select “Advanced” then “Network” then “Settings”, as seen below
Click on “Manual proxy configuration”. In the box on the right of “SOCKS Host:” put in the IP address or domain name of your VPS server. For “Port”, enter in 8080 (as that’s what we used before in PuTTY). Select “SOCKS v5″ if not already selected and push “OK”
Restart firefox.
11. Once you’ve restarted firefox, all internet traffic in this browser will be passing through your VPS server. The VPS will be acting as a proxy. This will allow you to connect to your Plex Media Server as it now thinks that you’re on its local area network. Navigate to domainname.com:32400/web. Replace domainname.com with the IP address or domain name associated with your VPS. You should now see something like below. If you don’t already have a plex account, make one now and login.
Once you’ve logged in, you should see something like below. Click on the little wrench icon the top right.
screenshot.9ss
Click on “myPlex” on the left.
Sign in again and then click “Show Advanced Settings”, then check “Manually specify port” and make sure that it says “32400″. If that looks correct, push “Publish Server”, it should take 5-10 seconds.
Once the server has been published, we don’t need the proxy server any longer. Therefore, to avoid any future confusions on why webpages aren’t loading in Firefox, it’s best to turn off the proxy settings that you just added in Firefox.
That’s it! Plex Media Server is now installed on your VPS and you can access it from any computer