You are here

How to install Plex media server and add Kinopoisk add-on to Ubuntu


There is such an excellent media server - Plex. The beauty of it is that he knows how to download information about files from such sites as kinopoisk, imdb, etc. Plus, it, unlike many other upnp/dlna servers, has a beautiful and convenient web interface, and you can throw ports and watch your collection of movies from anywhere in the world, or from any browser, for example, a tablet without installing additional programs. Today I'll show you how to install it and add the kinopoisk add-on to it.

Download deb package from developer's site - ]]>https://plex.tv/downloads]]>

Run the terminal and go to the folder where you downloaded (for example, cd ~/Downloads)

Execute commands

cd ~/Загрузки
sudo dpkg -i plexmediaserver_0.9.15.6.1714-7be11e1_amd64.deb
sudo service plexmediaser start

If during installation dpkg will swear on dependencies, then you need to satisfy them:

sudo apt-get -f install

Now go to ]]>http://127.0.0.1:32400/web]]> The following page should appear:

If you come off then you can proceed to install the plugin Kinopoisk. It is necessary for the Russian names and descriptions to be correctly searched and downloaded.

Download the plugin from the site - ]]>https://sourceforge.net/projects/russianplex/]]>

And execute the commands:

unzip KinoPoiskRu.bundle-1.6.zip
sudo cp -R KinoPoiskRu.bundle /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-ins/
sudo chown -R plex:plex /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-ins/KinoPoiskRu.bundle
sudo service plexmediaserver restart

Now the kinopoisk plug-in will be available for plex.

By default, Plex is run on behalf of the plex user, if you want to change the user, you need to correct the file /etc/default/plexmediaserver

In it, you need to change the line PLEX_MEDIA_SERVER_USER=plex, you need to put the correct user for the plex place, after which you need to make sure that this user has rights to access the folder /var/lib/plexmediaserver.

In order for Plex web interface to open at 127.0.0.1, or to the address of the computer, without a port and folder (/ web), you can put nginx and configure the redirect in it:

sudo apt-get install nginx

After installation, you need to edit its config /etc/nginx/sites-enabled/default

It should be like this:


    server {
        listen 80;
        location / {
                rewrite ^/(.*) ]]>http://video.loc:32400/web/]]>$1 permanent;
                }
        }
 

After making changes, you need to restart nginx

sudo /etc/init.d/nginx restart

After restarting nginx, you can enter the web interface at a simple address.

In the next article, read how to configure plex

Video on the topic (Russian language):

0 0

Share the article with your friends in social networks, maybe it will be useful to them.


If the article helped you, you can >>thank the author<<