IPASTE
ID Profile picture Author Share Syntax Rating Source Inserted on Valid until Size
1194 FACEBOOK GOOGLE+ TWITTER LINKEDIN bash 10 26 reviews 1 year 6 months ago 998 years 10 months 4.14 KBs
Views Downloads Status Password Short URL Embedded code
32003 135 VISIBLE NOT PROTECTED

How to: plex media server on Ubuntu 12 Desktop Edition and Ubuntu Server

how to: install, configure and update plex media server on ubuntu 12.04
  1. hi,
  2.  
  3. i thought i could write a quick how to for installing pms (plex media server) on ubuntu, because many other linux guides on the internet helped me very much previously.
  4.  
  5. i used ubuntu server 12 lts, but it should work on older ubuntu versions, too.
  6.  
  7. first, you have to open a terminal window or ssh into your computer.
  8.  
  9. How to: plex media server - how to install avahi
  10. --------------------------------------------------
  11.  
  12. it is enough to copy and paste this line to install avahi:
  13.  
  14. sudo apt-get install avahi-daemon
  15.  
  16.  
  17. however you can do much more with avahi. for example advertising afp-shares. this guide covers it.
  18.  
  19. How to: plex media server - how to install plex media server
  20. -------------------------------------------------------------
  21.  
  22. sudo nano /etc/apt/sources.list
  23.  
  24.  
  25. then add "deb http://www.plexapp.com/repo lucid main" to the file.
  26. or add "deb http://www.plexapp.com/repo beta main" for the beta versions.
  27. you can put it wherever you like.
  28. use something like ctrl+x (mac-keyboard) or strg+x (windows-keyboard) to close and safe the file.
  29.  
  30. update apt-get:
  31. sudo apt-get update
  32.  
  33.  
  34. install:
  35. sudo apt-get install plexmediaserver
  36.  
  37.  
  38. how to: plex media server - access plex through a browser on the computer running plex media server
  39. -----------------------------------------------------------------------------------------------------
  40. http://localhost:32400/manage/index.html
  41. or any other computer (connected via lan)
  42. http://ip-address:32400/manage/index.html
  43.  
  44. to initially add media to your library, you can click on one of those icons on your pms website. for example movies:
  45.  
  46. then you can choose a name and directory:
  47.  
  48. the scanning will take a while, depending on how many movies or tv-shows you have.
  49. you should see the progress on the web client  
  50.  
  51.  
  52.  
  53. How to: plex media server - read this if plex does not play any files:
  54. -------------------------------------------------------------------------
  55.  
  56. if plex does not play any files, make sure your permissions are right. because plex is a new user it may not have the permissions to play your media.
  57. you can try it the easy way: add the plex-user to your group:
  58. gpasswd -a plex myuser
  59.  
  60.  
  61. or if you want to change the permissions properly (more work):
  62.  
  63. cd into your media directory, for example:
  64. cd /home/user/media
  65.  
  66.  
  67. then look up the permissions with
  68.  
  69. ls -l
  70.  
  71.  
  72. here you can see if your directory has read/write/execute for every user. its like this: (no colours in real life)
  73.  
  74. drwxrwxr-x 365 user group ---somemorestuff-- foldername
  75.  
  76. rwx indicates read/write/execute for the user.
  77. rwx indicates read/write/execute for the group
  78. r-x indicates that every other user has read/-/execute access.
  79.  
  80. i would assume the user plex only has as much access as the last three letters/hyphens (every other user).
  81. it works for me like this so the blue bit should look different in your setup.
  82. the easyiest thing you can do here is put the plex user in the group:
  83.  
  84. sudo chown youruser:plex -r /home/user/mediadirectory
  85.  
  86. this way plex will be the group and have the groups permissions (green rwx). but if there is no rwx, you will have to give it read/write/execute permissions:
  87.  
  88. sudo chmod 770 -r /home/user/mediadirectory
  89.  
  90.  
  91. the first 7 gives the user read/write/execute permissions. the second 7 is for the group. the 0 in this case gives every other user no permissions at all.
  92. the -r will change the permissions of all files in the folder.
  93.  
  94. now it should look like this: (check with ls -l again!)
  95.  
  96. rwxrwx--- 365 user plex ---somemorestuff-- foldername
  97.  
  98.  
  99. please note: this is just an option!
  100. a complete linux permissions guide would be too long for this how to. but you can find plenty good youtube videos on this topic  
  101. this might also be helpful: https://help.ubuntu....filepermissions
  102.  
  103.  
  104.  
  105. How to: plex media server - how to update plex:
  106. ---------------------------------------------------
  107.  
  108. plex updates just like most of the other linux programs. with aptitude:
  109. (every other programm will update too)
  110.  
  111. sudo aptitude update && sudo aptitude safe-upgrade
  112.  
  113. all programs mentioned here will be updated.
  114. then you have to type in y to continue.
  115. wait...
  116. that is it.

RAW data

Tags

#ipaste plex media
#ipaste add the plex media server
#install plex media server ubuntu
#..plex media server deb +ubuntu
#plex ubuntu 12.04
#afp plex media server
#plex media server ubuntu 12.04 install
#plex media ubuntu
#what to install on ubuntu server to be used as a plex media server
#ubuntu plex not seeing movies
#ubuntu media server 12.04
#how to install plex media server ubuntu 12.04
#ubuntu plex media server
#ubuntu add user to plex group sudo command
#ubuntu 12.04 media server
#plex not updating library ubuntu
#install plex on ubuntu 12.04 server
#ubuntu 12.04 plex
#add user to plex group ubuntu
#ubuntu change user plexmediaserver
#install plex media server ubuntu 12.04 server
#install plex ssh ubuntu
#add media plex ubuntu
#ubuntu 12.04 plex media server
#set group permissions ubuntu plex
#plex media server how much for linux
#deb http://www.plexapp.com/repo lucid main
#ubuntu plex setup
#installing plex ubuntu 12.04 server
#linux ubuntu 12.04 best media server
#ubuntu 12.04 plexmediaserver
#ubuntu plexmediaserver howto
#linus ubuntu 12.04 install plex media server
#plex ubuntu no connection to pms
#install plex on
#plex ubuntu waiting for local host
#plex auto startup
#plex on ubuntu server
#plex cannot read data ubuntu+
#start plex media server automatically on ubuntu
#please check the permissions for this file plex linux mint
#instalar plex en ubuntu server
#install plex on ubuntu server
#ubuntu 12.04 plex media server permissions
#how to permission to plexmediaserver in ubuntu
#plex media server ubuntu server 12.04
#ubuntu permissions plex media library
#command line plex restart
#plex media server ubuntu avahi
#start_pms as a daemon
#how to install plex media server on ubuntu server 12.04 lts
#plex media server ubuntu mac client avahi
#plex media server linux ubuntu
#linux mint plex media server
#how to restart plex media server ubuntu
#command plex media server
#plex client ubuntu
#install
#linux streaming media server
#ubuntu server plex guide
#plex ubuntu or windows better
#install plex ubuntu command line
#installing plex on ubuntu
#plexmediaserver ubuntu
#install plex ubuntu server 12.04
#autostart plex ubuntu
#how to start the plexmedia server on ubuntu cli
#ubuntu edit plex profile
#linux server 12.04 media server
#ubuntu 12.04 media server setup
#linux mint 14 give plex and ps3 permissions
#plex media server not starting up ubuntu
#setting up plex media server ubuntu
#ubuntu 12.04 plex install
#linux terminal command to restart plexmediaserver
#installing plex media server for ubuntu 12.04
#plex ubuntu repository
#ubuntu repo plex
#ubuntu plex media server permissions
#рестарт plex media server ubuntu
#plex media server no arranca en ubuntu
#how to use plex with ubuntu
#ubuntu start plex server
#ubuntu 12.04 plex server
#plex help ubuntu
#how to start up plex on linux
#install unbutu plex guide
#how to start plex media server on ubuntu desktop
#installing plex on linux
#how to install plexmediaserver ubuntu
#plex media server not starting ubuntu
#how to install plex server on ubuntu
#install plex on ubuntu cli
#setup plex media server ubuntu
#give plex permissions linux
#how to install plex ubuntu 12.04
#plex på ubuntu
#apt-get install media server
#give plex permission ubuntu
#localhost 32400 manage
#ubuntu media server "apt-get install"
#ubuntu plex media server command line start
#ubuntu command line install plex media server
#plex media server ubuntu not showing media
#plex media server command line ubuntu
#plex command line linux
#hot to update plex server on ubuntu
#plex web ububuntu
#add plex to group ubuntu
#sudo apt-get install plexmediaserver
#install plex media server on ubuntu 12.04
#ubuntu plex server
#uninstall plex media server linux command line
#ubuntu restart plex
#restart plex media server ubuntu command line
#restart plex ubuntu
#install plex linux mint
#configurar plex linux
#ubuntu install plex
#plex+linux+server+folder+permissions
#ubuntu 12.04 install plex apt-get
#plex auf linux installieren
#howto enable plex server ubuntu
#ubuntu plex movie folder
#plex server not starting ubuntu
#plex media server for linux mint
#install plex on ubuntu 12.04 commandline
#sudo command to install plex
#plex media server on linux
#plex will not add media ubuntu
#ubuntu permission settings for plex
#install plex on ubuntu server 12.04
#ubuntu as media server
#plex media server on ubuntu 12.04 from command line
#adding plex repo
#adding plex media ubuntu 12.04lts repository
#how to install plex media server on ubuntu12.10
#здуч ubuntu
#local media server ubuntu
#plex media server ubuntu 12.04 install in terminal
#run plex ubuntu from terminal
#apt-get plex media server
#instalando plex media server linux
#howto - ubuntu streaming media server 2013
#add plex user to group in ubuntu
#ubuntu install plex media server
#start plex media server command line
#media server for ubuntu 2013
#ubuntu media plex server user
#ubuntu howto install plex
#how to configure plex media server ubuntu
#plex ubuntu not at startup
#sudo plex
#http://localhost:32400/manage/index.html
#installing plex media server linux mint 14
#plex server ubuntu 12.04
#ps3 media server not working ubuntu 12.04
#plex media server update command line
#setup plex server ubuntu
#change ip via command line in ubuntu 12.04
#plex lista server
#start plex media server ubuntu with other user
#how to set up plex media server on ps3 says no files
#how to install update plex media server
#plex client on ubuntu
#how to install plex on ubuntu 12.04
#restart plex server on ubuntu
#plex ubuntu package
#how to setup a media server with ubuntu
#plex ubuntu vs windows
#ip:95.174.23.178 id
#ubuntu server plex media not showing up
#ubuntu 12.04 add rw permission to group
#ubuntu command for starting plex
#linux run plex as different user
#apt line of the repository plex media server
#how to update plex on ubuntu
#plex how to start linux
#how to setup a media server on ubuntu
#plex for ubuntu
#ubuntu plex http://localhost:32400/ not available
#home media server ubuntu 12.04
#plex para ubuntu
#multimedia server ubuntu
#how to install desktop on ubuntu media server
#ubuntu plex user
#plex media folder permissions ubuntu
#plex cannot connect to localhost:32400
#media server using ubuntu 12.04
#like plex ubuntu
#best plex server ubuntu
#plex ubuntu library
#our to set up ubuntu as a plex server
#plex media server ubuntu howto
#plex for linux setup
#plex for groups
#plex media ubuntu permissions
#free media server plex ubuntu
#plex media server ubuntu autostart
#restart plex media server ubuntu 10
#start plex media server ubuntu 10 command line
#plexmediaserver on ubuntu server 12.04
#view plex media server from linux mint
#plex server linux
#how to set up plex on ubuntu
#how to build a media server with ubuntu youtube
#stream from ubuntu to ps3 using plex
#plex media server ubuntu permissions
#apt line plex media server
#ubuntu and plex
#install plex for ubuntu
#ubuntu server 12.04 plex how-to
#avahi-client ubuntu install
#plex permissions ubuntu
#make sure plex server is running
#how to update plex server ubuntu
#where should i put my plex movies linux
#plex howto ubuntu
#apt-get plex media server ubunt
#media server for mint 10
#automatically start plex on start up ubuntu
#gksudo plex
#localhost plex media
#how to restar plex media serice command line ubuntu
#plex not starting ubuntu
#repository.plex
#plex ubuntu commandline scan
#plex auto start ubuntu 12.04
#plex not finding localhost
#plex su ubuntu via terminale
#plex su ubuntu via terminale
#plex media server in ubuntu
#plex in ubuntu dont show movies
#plex media center ubuntu 12.04
#plex restart ubuntu
#upgrade plex media server ubuntu database
#adding plex user to home
#plex for ubuntu 12.04
#install plex en ubuntu
#plex unable make sure the server is running permissions ubuntu
#installing plex on ubuntu server
#plex on unbuntu
#plex media manager ubuntu permissions
#how to stream from ubuntu 12.04 on windows
#plex on linux mint
#how to update plex ubuntu
#best linux software to run as a server on a desktop for plex
#linux plex installation directory
#plex server not showing up
#plex media server ubuntu tutorial
#plex server startup linux
#upgrading plex mint
#how to setup a ubuntu server 2013
#kubuntu plex media server not starting after reboot
#pms on ubuntu 12.04
#plex ubuntu tutorial
#update plex media server ubuntu
#cant connect ubuntu 10.04 to plex
#plex в ubuntu
#ps3 dont see plex ubuntu server
#how to add folder permissions ububtu plex
#setup plex on ubuntu
#linux mint plex + adding video files
#plex media server linux install
#installing plex media server on ubuntu 12.04
#installing plexmediaserver ubuntu
#plex media server of ubuntu
#plex this media server is unavailable to you
#ubuntu plex media server no media
#intall plex ubuntu
#plex media server ubuntu repository
#best ubuntu media server build 2013
#permissions + plex
#plex ubuntu server terminal
#plex media server setup linux
#install plex plugins ubuntu 12.04
#plex media center ubuntu file permissions
#plex media server command line linux
#avahi plex
#plex ubuntu help
#plex localhost
#setup media streaming server in ubuntu 12.04
#install plex on ubuntu 12.04 headless
#plex ubuntu user group
#how to make plex start on boot ubuntu server
#plex web 32400
#http://ip-address:32400/manage/index.html
#plex server restart
#installing plex on "ubuntu server"
#ubuntu plex not detecting media
#plex restart commandline
#ubuntu start plex media server
#install plex media server in ubuntu
#howto launch plex linux
#ubuntu can plex server work only with plex clients
#plex media server 12.04
#instalar y configurar plex media server en ubuntu
#ubuntu file access folder access plex
#plexmedia server ubuntu
#ubuntu 12 plex manager blank
#how to start plex media server ubuntu terminal
#install plexmedia server ubuntu
#plex file permissions
#ubuntu 12 plex http://localhost:32400/manage/index.html
#ubuntu server plex install
#please.check.that.you.have.permission.to.access.this.media.server
#plex please.check.that.you.have.permission.to.access.this.media.server
#ubuntu as file server plex
#plex media server install ubuntu 12.04 server
#plex media sources ubuntu 12.04
#plex media server boot ubuntu
#ubuntu plex media manager seeing data fold
Actions
Rating
Download as
View as
Actions
Edit