<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://k2.ixota.com/index.php?action=history&amp;feed=atom&amp;title=Plex%2FPlex_Media_Server</id>
	<title>Plex/Plex Media Server - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://k2.ixota.com/index.php?action=history&amp;feed=atom&amp;title=Plex%2FPlex_Media_Server"/>
	<link rel="alternate" type="text/html" href="https://k2.ixota.com/index.php?title=Plex/Plex_Media_Server&amp;action=history"/>
	<updated>2026-06-26T14:22:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.1</generator>
	<entry>
		<id>https://k2.ixota.com/index.php?title=Plex/Plex_Media_Server&amp;diff=869&amp;oldid=prev</id>
		<title>Kenneth: /* CentOS 6 Install */</title>
		<link rel="alternate" type="text/html" href="https://k2.ixota.com/index.php?title=Plex/Plex_Media_Server&amp;diff=869&amp;oldid=prev"/>
		<updated>2014-09-01T05:16:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;CentOS 6 Install&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Plex ==&lt;br /&gt;
&lt;br /&gt;
Plex - Plex Media Server: Your Media on all of Your Devices - Plex.tv - http://plex.tv/&lt;br /&gt;
&lt;br /&gt;
Plex Download - https://plex.tv/downloads&lt;br /&gt;
&lt;br /&gt;
myPlex Account - https://my.plexapp.com/&lt;br /&gt;
&lt;br /&gt;
Plex Media Center bridges the gap between your computer and your home theater, doing so with a visually appealing user interface that provides instant access to your media.&lt;br /&gt;
&lt;br /&gt;
http://www.plexapp.com/ now redirects http://plex.tv/&lt;br /&gt;
&lt;br /&gt;
== CentOS 6 Install ==&lt;br /&gt;
&lt;br /&gt;
Install package:&lt;br /&gt;
 # 64bit install&lt;br /&gt;
 wget http://downloads.plexapp.com/plex-media-server/0.9.9.16.555-50cd0c3/plexmediaserver-0.9.9.16.555-50cd0c3.x86_64.rpm&lt;br /&gt;
 yum install plexmediaserver-0.9.9.16.555-50cd0c3.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
 # 32bit install&lt;br /&gt;
 wget http://downloads.plexapp.com/plex-media-server/0.9.9.16.555-50cd0c3/plexmediaserver-0.9.9.16.555-50cd0c3.i386.rpm&lt;br /&gt;
 yum install plexmediaserver-0.9.9.16.555-50cd0c3.i386.rpm&lt;br /&gt;
&lt;br /&gt;
Reboot server:&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
Enable syslog logging: [https://oldwiki.plexapp.com/index.php?title=Plex_Media_Server_Preferences#Syslog_option]&lt;br /&gt;
 sed -i &amp;#039;s/# export PLEX_MEDIA_SERVER_USE_SYSLOG=true/export PLEX_MEDIA_SERVER_USE_SYSLOG=true/g&amp;#039; /etc/sysconfig/PlexMediaServer&lt;br /&gt;
&lt;br /&gt;
Start service:&lt;br /&gt;
 chkconfig plexmediaserver on&lt;br /&gt;
 service plexmediaserver restart&lt;br /&gt;
&lt;br /&gt;
Connect to server:&lt;br /&gt;
 http://MYSERVER:32400/web&lt;br /&gt;
&lt;br /&gt;
* Accept End User License Agreement&lt;br /&gt;
* Wait for Plex Server to fully start&lt;br /&gt;
* Sign In with [http://plex.tv/ Plex Account] (optional)&lt;br /&gt;
* Name Server&lt;br /&gt;
* Provide announcement email&lt;br /&gt;
* Create Media Library (Movies)&lt;br /&gt;
** /movies/plex&lt;br /&gt;
* Install (or skip) channels&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
This adds the following yum repo, which appears to be broken:&lt;br /&gt;
&lt;br /&gt;
/etc/yum.repos.d/plex.repo:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[PlexRepo]&lt;br /&gt;
name=PlexRepo&lt;br /&gt;
baseurl=http://plex.r.worldssl.net/PlexMediaServer/fedora-repo/release/$basearch/&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgkey=https://plexapp.com/plex_pub_key.pub&lt;br /&gt;
gpgcheck=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So to update, just download the latest RPM.&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
 # mount movie share&lt;br /&gt;
 mkdir /movies&lt;br /&gt;
 echo &amp;quot;prime:/data/movies      /movies                 nfs     defaults        0 0&amp;quot; &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
 mount /movies&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
Apache&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum -y install apache php&lt;br /&gt;
ln -s /var/www/html /www&lt;br /&gt;
cd /www&lt;br /&gt;
cat &amp;gt; index.php &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
header(&amp;#039;Location: http://plex:32400/web/&amp;#039;);&lt;br /&gt;
EOF&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ubuntu Install ==&lt;br /&gt;
&lt;br /&gt;
Dependencies:&lt;br /&gt;
 apt-get install avahi-utils&lt;br /&gt;
&lt;br /&gt;
Install package:&lt;br /&gt;
 # 64bit install&lt;br /&gt;
 wget http://downloads.plexapp.com/plex-media-server/0.9.9.16.555-50cd0c3/plexmediaserver_0.9.9.16.555-50cd0c3_amd64.deb&lt;br /&gt;
 dpkg -i plexmediaserver_0.9.9.16.555-50cd0c3_amd64.deb&lt;br /&gt;
&lt;br /&gt;
Reboot server:&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
Enable syslog logging: [https://oldwiki.plexapp.com/index.php?title=Plex_Media_Server_Preferences#Syslog_option]&lt;br /&gt;
 echo &amp;quot;PLEX_MEDIA_SERVER_USE_SYSLOG=true&amp;quot; &amp;gt;&amp;gt; /etc/default/plexmediaserver&lt;br /&gt;
&lt;br /&gt;
Start service:&lt;br /&gt;
 chkconfig plexmediaserver on&lt;br /&gt;
 service plexmediaserver restart&lt;br /&gt;
&lt;br /&gt;
Connect to server:&lt;br /&gt;
 http://MYSERVER:32400/web&lt;br /&gt;
&lt;br /&gt;
* Accept End User License Agreement&lt;br /&gt;
* Wait for Plex Server to fully start&lt;br /&gt;
* Sign In with [http://plex.tv/ Plex Account] (optional)&lt;br /&gt;
* Name Server&lt;br /&gt;
* Provide announcement email&lt;br /&gt;
* Create Media Library (Movies)&lt;br /&gt;
** /movies/plex&lt;br /&gt;
* Install (or skip) channels&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
This adds the following apt repo, ?which appears to be broken:?&lt;br /&gt;
&lt;br /&gt;
/etc/apt/sources.list.d/plexmediaserver.list:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://plex.r.worldssl.net/PlexMediaServer/ubuntu-repo lucid main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So to update, just download the latest DEB.&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
Preference File:&lt;br /&gt;
 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Preferences.xml &lt;br /&gt;
&lt;br /&gt;
Library:&lt;br /&gt;
 /var/lib/plexmediaserver/Library&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
 # mount movie share&lt;br /&gt;
 mkdir /movies&lt;br /&gt;
 echo &amp;quot;prime:/data/movies      /movies                 nfs     defaults        0 0&amp;quot; &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
 mount /movies&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
Apache&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum -y install apache php&lt;br /&gt;
ln -s /var/www/html /www&lt;br /&gt;
cd /www&lt;br /&gt;
cat &amp;gt; index.php &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
header(&amp;#039;Location: http://plex:32400/web/&amp;#039;);&lt;br /&gt;
EOF&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service httpd restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plex.tv Connect ==&lt;br /&gt;
&lt;br /&gt;
WARNING: To see the &amp;quot;Server&amp;quot; options, you need to connect to the Plex server from localhost or local network.&lt;br /&gt;
&lt;br /&gt;
== Firewall ==&lt;br /&gt;
&lt;br /&gt;
What network ports do I need to allow through my firewall to enable access? [http://wiki.plexapp.com/index.php/Frequently_Asked_Questions#What_network_ports_do_I_need_to_allow_through_my_firewall_to_enable_access.3F]&lt;br /&gt;
&lt;br /&gt;
TCP 32400 (for access to the Plex Media Server) [required]&lt;br /&gt;
&lt;br /&gt;
UDP 1900 (for access to the Plex DLNA Server)&lt;br /&gt;
&lt;br /&gt;
TCP 32469 (for access to the Plex DLNA Server)&lt;br /&gt;
&lt;br /&gt;
UDP 5353 (for Bonjour/Avahi if you are using these products for service discovery) [recommended for iOS clients] &lt;br /&gt;
&lt;br /&gt;
== Web Interface ==&lt;br /&gt;
&lt;br /&gt;
How do I access the Plex media management interface? [http://wiki.plexapp.com/index.php/Frequently_Asked_Questions#How_do_I_access_the_Plex_media_management_interface.3F]&lt;br /&gt;
&lt;br /&gt;
 http://YourServerIP:32400/web&lt;br /&gt;
&lt;br /&gt;
== Command Line Mangement ==&lt;br /&gt;
&lt;br /&gt;
Get sections:&lt;br /&gt;
 curl http://plex:32400/library/sections&lt;br /&gt;
   key=&amp;quot;1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Refresh section:&lt;br /&gt;
 curl http://plex:32400/library/sections/1/refresh&lt;br /&gt;
&lt;br /&gt;
Maybe something more convoluted: [https://forums.plexapp.com/index.php/topic/64581-manually-fresh-content/]&lt;br /&gt;
 curl http://127.0.0.1:32400/library/sections|grep &amp;quot;title=&amp;quot;| awk -F = &amp;#039;{print $6&amp;quot; &amp;quot;$7&amp;quot; &amp;quot;$8}&amp;#039;| \&lt;br /&gt;
    sed &amp;#039;s/ art//g&amp;#039;|sed &amp;#039;s/title//g&amp;#039;| sed &amp;#039;s/type//g&amp;#039;| awk -F \&amp;quot; &amp;#039;{print &amp;quot;Section=\&amp;quot;&amp;quot;$6&amp;quot;\&amp;quot; ID=&amp;quot;$2}&amp;#039;&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
* PlexNine AdvancedInfo - Plex - http://wiki.plexapp.com/index.php/PlexNine_AdvancedInfo&lt;br /&gt;
&lt;br /&gt;
== Refresh on startup hack ==&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/plexmediaserver&lt;br /&gt;
&lt;br /&gt;
 # diff -u plexmediaserver.original plexmediaserver&lt;br /&gt;
&lt;br /&gt;
 # patch -p0 &amp;lt; plexmediaserver.patch&lt;br /&gt;
&lt;br /&gt;
plexmediaserver.patch:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--- plexmediaserver.original    2013-12-21 09:20:54.818961489 -0700&lt;br /&gt;
+++ plexmediaserver     2014-01-18 16:02:28.986902515 -0700&lt;br /&gt;
@@ -127,9 +127,22 @@&lt;br /&gt;
         fi&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
+refresh_movies () {&lt;br /&gt;
+  for i in `seq 1 10`; do&lt;br /&gt;
+    echo &amp;quot;Refreshing movies ...&amp;quot;&lt;br /&gt;
+    curl http://plex:32400/library/sections/1/refresh&lt;br /&gt;
+    if [ $? -eq 0 ] ; then&lt;br /&gt;
+      return 0&lt;br /&gt;
+    fi&lt;br /&gt;
+    sleep 1&lt;br /&gt;
+  done&lt;br /&gt;
+}&lt;br /&gt;
+&lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
        start)&lt;br /&gt;
                start&lt;br /&gt;
+               # refresh movies&lt;br /&gt;
+               refresh_movies&lt;br /&gt;
                ;;&lt;br /&gt;
        stop)&lt;br /&gt;
                stop&lt;br /&gt;
@@ -138,6 +151,8 @@&lt;br /&gt;
                stop&lt;br /&gt;
                 sleep 1&lt;br /&gt;
                start&lt;br /&gt;
+               # refresh movies&lt;br /&gt;
+               refresh_movies&lt;br /&gt;
                ;;&lt;br /&gt;
        status)&lt;br /&gt;
                check_status&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download Video ==&lt;br /&gt;
&lt;br /&gt;
# http://plexapp.com&lt;br /&gt;
# select video&lt;br /&gt;
# Click &amp;quot;Info&amp;quot; icon&lt;br /&gt;
# Click &amp;quot;View XML&amp;quot; link&lt;br /&gt;
# Get &amp;#039;&amp;#039;&amp;amp;lt;Part id=&amp;quot;3486&amp;quot; key=&amp;quot;/library/parts/3486/file.mkv&amp;quot;&amp;#039;&amp;#039;&lt;br /&gt;
#* Collect Title and Year for file name&lt;br /&gt;
# Swap file url with current url, and append X-Plex-Token&lt;br /&gt;
#* Example: http://76.23.10.61:32400/library/metadata/3727?X-Plex-Token=e2KtFxEqtiuUSfqpdbN8&lt;br /&gt;
&lt;br /&gt;
== Subtitle ==&lt;br /&gt;
&lt;br /&gt;
save the .srt file as &amp;quot;[movie].eng.srt&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Script ==&lt;br /&gt;
&lt;br /&gt;
 git clone https://gist.github.com/3183688e946a2c444efc.git&lt;br /&gt;
&lt;br /&gt;
See [[plex.py]]&lt;br /&gt;
&lt;br /&gt;
== Issues ==&lt;br /&gt;
&lt;br /&gt;
=== imuxsock begins to drop messages ===&lt;br /&gt;
&lt;br /&gt;
imuxsock begins to drop messages from pid 21238 due to rate-limiting [http://lists.opensuse.org/opensuse/2012-09/msg00401.html]&lt;br /&gt;
&lt;br /&gt;
/etc/rsyslog.conf&lt;br /&gt;
 $SystemLogRateLimitInterval 0&lt;br /&gt;
 #$SystemLogRateLimitBurst 50&lt;br /&gt;
 $SystemLogUsePIDFromSystem on&lt;br /&gt;
&lt;br /&gt;
Test syslog rate limiting: [http://www.rsyslog.com/first-try-to-test-rate-limiting/]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
n=1000&lt;br /&gt;
i=0&lt;br /&gt;
&lt;br /&gt;
while [ $i -lt $n ]&lt;br /&gt;
do&lt;br /&gt;
logger &amp;quot;This is Testmessage #$i&amp;quot;&lt;br /&gt;
echo &amp;quot;Messages: $i&amp;quot;&lt;br /&gt;
i=`expr $i + 1`&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== keywords ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Entertainment]]&lt;br /&gt;
[[Category:Media Center]]&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
		
	</entry>
</feed>