Plex is a free and open supply media server that can be utilized to retailer all of your films, exhibits, and different media in a single place. Plex permits you to remotely stream these media libraries from any system like good TV, net browser, Xbox One, PlayStation, and Apple TV. Plex helps numerous working programs together with, Home windows, MacOS, Linux, FreeBSD and plenty of extra. Plex additionally offers a premium service known as Plex Go that provides numerous helpful options like synchronization with cell units, cloud storage integration, metadata and matchings for music, assist for a number of customers, parental controls, dwell TV and DVR.
On this tutorial, we are going to discover ways to set up the Plex media server on Ubuntu 18.04 server.
Necessities
- A server operating Ubuntu 18.04.
- A static IP tackle is ready up in your server.
- A root password is ready up in your server.
Getting Began
First, you’ll need to replace your system with the newest model. You are able to do it with the next command:
apt-get replace -y
apt-get improve -y
As soon as your system is up to date, restart the system to use these adjustments.
By default, Plex isn’t accessible within the Ubuntu 18.04 default repository. So you’ll need so as to add the repository for that. You’ll be able to add the Plex official repository with the next command:
apt-get set up curl -y
curl https://downloads.plex.tv/plex-keys/PlexSign.key | apt-key add -
echo deb https://downloads.plex.tv/repo/deb public predominant | tee /and many others/apt/sources.checklist.d/plex.checklist
Subsequent, replace the repository and set up Plex media server with the next command:
apt-get replace -y
apt-get set up plexmediaserver -y
As soon as the set up has been accomplished efficiently, you’ll be able to verify the standing of Plex service with the next command:
systemctl standing plexmediaserver
Output:
? plexmediaserver.service - Plex Media Server for Linux Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled) Energetic: lively (operating) since Fri 2019-02-15 08:10:17 UTC; 28s in the past Course of: 22668 ExecStartPre=/bin/sh -c /usr/bin/check -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICAT Main PID: 22676 (sh) Tasks: 152 (limit: 1114) CGroup: /system.slice/plexmediaserver.service ??22676 /bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver "/usr/lib/plexmediaserver/Plex Media Server" ??22677 /usr/lib/plexmediaserver/Plex Media Server ??22740 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Assets/Plug-ins-cc260c476/Framework.bundle/Contents/Assets/Variations ??22792 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Assets/Tuner/Non-public /usr/lib/plexmediaserver/Assets/Tune ??22793 /usr/lib/plexmediaserver/Plex DLNA Server ??22802 Plex Plug-in [com.plexapp.agents.thetvdb] /usr/lib/plexmediaserver/Assets/Plug-ins-cc260c476/Framework.bundle/Contents/Assets/ ??22967 Plex Plug-in [com.plexapp.agents.opensubtitles] /usr/lib/plexmediaserver/Assets/Plug-ins-cc260c476/Framework.bundle/Contents/Reso ??22978 Plex Plug-in [com.plexapp.agents.plexthememusic] /usr/lib/plexmediaserver/Assets/Plug-ins-cc260c476/Framework.bundle/Contents/Res ??23058 Plex Plug-in [com.plexapp.agents.plexmusic] /usr/lib/plexmediaserver/Assets/Plug-ins-cc260c476/Framework.bundle/Contents/Useful resource ??23082 Plex Plug-in [com.plexapp.agents.themoviedb] /usr/lib/plexmediaserver/Assets/Plug-ins-cc260c476/Framework.bundle/Contents/Resourc ??23084 Plex Plug-in [com.plexapp.agents.localmedia] /usr/lib/plexmediaserver/Assets/Plug-ins-cc260c476/Framework.bundle/Contents/Resourc Feb 15 08:10:17 ubuntu1804 systemd[1]: Began Plex Media Server for Linux. Feb 15 08:10:20 ubuntu1804 sh[22676]: Error in command line:the argument for choice '--serverUuid' ought to comply with instantly after the equal signal Feb 15 08:10:20 ubuntu1804 sh[22676]: Crash Uploader choices (all are required): Feb 15 08:10:20 ubuntu1804 sh[22676]: --directory arg Listing to scan for crash reviews Feb 15 08:10:20 ubuntu1804 sh[22676]: --serverUuid arg UUID of the server that crashed Feb 15 08:10:20 ubuntu1804 sh[22676]: --userId arg Person that owns this product Feb 15 08:10:20 ubuntu1804 sh[22676]: --platform arg Platform string Feb 15 08:10:20 ubuntu1804 sh[22676]: --url arg URL to add to Feb 15 08:10:20 ubuntu1804 sh[22676]: --help present assist message Feb 15 08:10:20 ubuntu1804 sh[22676]: --version arg Model of the product
Subsequent, you’ll need to create a listing construction for Plex. You are able to do this with the next command:
mkdir -p /choose/plexmedia/films
mkdir /choose/plexmedia/sequence
Subsequent, change the possession of the plexmedia listing with the next command:
chown -R plex:plex /choose/plexmedia
Plex media server is now put in and listening on port 32400. Now, open your net browser and kind the URL http://your-server-ip:32400/web. You can be redirected to the next web page:
Now, click on on the Google, Facebook or E-mail button to create a free Plex account. After signing up, you may be redirected to the next web page:
Now, click on on the Obtained it button. It is best to see the next web page:
Now, present your server identify and click on on the Subsequent button. It is best to see the next web page:
Now, click on on the ADD LIBRARY button. It is best to see the next web page:
Now, choose Movies and click on on the Subsequent button. It is best to see the next web page:
Now, present the trail of your films folder and click on on the ADD LIBRARY button. It is best to see the next web page:
Now, click on on the Subsequent button. It is best to see the next web page:
Now, click on on the DONE button to complete the setup. You can be redirected to the Plex dashboard within the following web page:
About Hitesh Jethva
Over eight years of expertise as a Linux system administrator. My expertise embrace a depth information of Redhat/Centos, Ubuntu Nginx and Apache, Mysql, Subversion, Linux, Ubuntu, website hosting, net server, Squid proxy, NFS, FTP, DNS, Samba, LDAP, OpenVPN, Haproxy, Amazon net companies, WHMCS, OpenStack Cloud, Postfix Mail Server, Safety and many others.
Comments