ifybas.blogg.se

Cli start plex media server linux
Cli start plex media server linux









cli start plex media server linux

So what we want to do is SSH into the server again but use some extra flags on the command. Since our server is headless, we cannot open a browser on it to continue with the setup. ~]$ sudo systemctl restart rvice Configuration and Setup on a Headless Server To make sure all of our changes go through and our setup goes correctly, restart the rvice. Since the plex user is in the user group, we shouldn’t have a problem with plex finding our content. ~]$ sudo chown jeff:jeff ~]$ chmod 755 /plexmovies/ Now let’s change ownership and permissions. Your group will be your username unless you have specifically made separate groups. That command adds plex to the group “jeff”. Now we want to add the plex user to our user group, and change ownership so that plex will be able to read from the folder. We can just use a folder outside of our home and give plex access to it. So we don’t want to change permissions for our entire home folder. The reason for having it outside of the home folder is by default centOS only allows the owner of the home folder to access it, not any groups. └─2144 /usr/lib/plexmediaserver/Plex Relay -p 443 -N -R 0:127.0.0.1:>Īs a little preliminary measure before we set it up, let’s create a directory where we want to store our plex content outside of our home folder. ├─2116 Plex Plug-in /usr/lib/plexmediaserv>

cli start plex media server linux

├─2077 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmedi> ├─2035 Plex Plug-in /usr/lib/plexmediaserver/Re> ├─2011 /usr/lib/plexmediaserver/Plex Media Server Loaded: loaded (/usr/lib/systemd/system/rvice enabled ve>Īctive: active (running) since Tue 16:20:14 MDT 8min agoĬGroup: /system.slice/rvice You can check the status of plex media server by issuing this command. Let’s enable it so that it starts at boot time. It’s as easy as that! Plex media server is now installed on your headless server. # ġ:plexmediaserver-1.-1f0ed# Ĭreated symlink /etc/systemd/system//rvice → ~]$

cli start plex media server linux

Warning: 86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 3adca79d: NOKEY You need to use sudo to do it, otherwise you will get a permission denied error. To install it we will use the rpm -ivh command. This will have downloaded the plexmediaserver rpm onto your system. You can find the most current version by going to the Plex Media Center Downloads page, which is located here. This is the current Plex Media Server as of this writing. This guide can be adapted to other linux operating systems as well, and should work with any rpm based distro, but I will be using centOS Stream. You’re going to want to login to your server via SSH. This server can be bare metal or a VM, I will be installing onto a VM. This will be helpful for anyone running plex in a VM and doesn’t want a DE hogging resources. We are going to take a look at installing Plex Media Server on a headless linux server.











Cli start plex media server linux