Plex on Ubuntu

Posted by robd on December 11, 2017
Linux, Plex

I’m no expert with Linux but I’m trying hard to improve my knowledge, I recently ran through some great CentOS videos on Pluralsight and after that tried to install Guacamole which is a clientless remote desktop gateway.  The long and the short of it is I didn’t get it fully working but really enjoyed the process.

Anyhow as I mentioned in a previous post, I decided to install Plex on a Ubuntu server as I think my problem with Linux is the lack of visual prompts i.e. If I can see or draw something then I often understand the process better.

So after my initial vmware issues, I downloaded and installed Ubuntu and installed VMware tools:

Open the VMware Tools CD mounted on the Ubuntu desktop.
Right-click the file name that is similar to VMwareTools.x.x.x-xxxx.tar.gz, click Extract to, and select Ubuntu Desktop to save the extracted contents.

The vmware-tools-distrib folder is extracted to the Ubuntu Desktop.
To install VMware Tools in Ubuntu:
Open a Terminal window. For more information.
In the Terminal, run this command to navigate to the vmware-tools-distrib folder:

Run this command to install VMware Tools:

Note: The -d switch assumes that you want to accept the defaults. If you do not use -d, press Return to accept the defaults or supply your own answers.

Enter your Ubuntu password.
Restart the Ubuntu virtual machine after the VMware Tools installation completes.

Then I updated Ubuntu:

Next download the Plex Media server package

run from a terminal:

(replace the filename with the name of the package you downloaded)

To setup Plex Media Server, on the same machine you installed the server on, open a browser window, and go to http://127.0.0.1:32400/web.

Then I decided it best to run Plex as a service so if the server rebooted I wouldn’t have to logon:

Finally I need to map a drive so I could access the media (photos etc) on my windows server again in a fashion where if the server rebooted it would map.

To do this you need cifs utils to connect to windows shares:

Then you need to create a directory to mount the share too like so:

sudo mkdir /media/windowsshare

Then add the the share and add the Windows credentials that have permission to the share via the config file /etc/fstab, to add this line:

Finally, test the fstab entry by issuing:

If there are no errors, you should test how it works after a reboot. Your remote share should mount automatically.

See if you have access via Plex.

Tags: , ,

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copy Protected by Chetan's WP-Copyprotect.