[Tutorial] Installing UMS 4.4.0 on Ubuntu Server 14.04.1

For help and support with Linux-specific issues
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Kayot
Posts: 8
Joined: Tue Jan 07, 2014 8:36 am

Re: [Tutorial] Installing UMS 4.4.0 on Ubuntu Server 14.04.1

Post by Kayot » Tue Jul 28, 2015 1:43 am

The's the configs locations. You have to use an editor like nano and you'll probably have to elevate your terminal.

Code: Select all

sudo nano /usr/ums/UMS.conf

99altezza
Posts: 10
Joined: Sun Jul 26, 2015 10:12 pm

Re: [Tutorial] Installing UMS 4.4.0 on Ubuntu Server 14.04.1

Post by 99altezza » Wed Jul 29, 2015 12:57 am

OK, I got into the config file.

Can you explain how I can configure the UMS so that my PS3 is able to see it?
As UMS is already running in the background, what settings do I have to do on the config file and the PS3?


Thanks

Kayot
Posts: 8
Joined: Tue Jan 07, 2014 8:36 am

Re: [Tutorial] Installing UMS 4.4.0 on Ubuntu Server 14.04.1

Post by Kayot » Wed Jul 29, 2015 2:35 pm

I'm not really sure. If your read the comments that should give you the basics. If your using a laptop you should just use a desktop like MATE and run the program in graphic user interface mode. You're kind of doing it the hard way. The instructions in the OP are for a headless machine which is way harder to setup since it's mostly done in ssh.

Try this, reinstall your Linux. I suggest Mint Mate edition. It's based on 14.04.1 LTS which is what this tutorial is for. Then install Java with the command in the OP. The download UMS via the link and double click it. It will install and add an icon to your menu. That will be Universal Media Server. Use that, and read around it a bit. You only need to setup share paths since the rest is setup pretty good.

Another option, if your movies are in H264 AAC and under 4GB in size, format your external drive to Fat32, put your movies on that drive, and plug it directly into your PS3. You'll get better results that way.

99altezza
Posts: 10
Joined: Sun Jul 26, 2015 10:12 pm

Re: [Tutorial] Installing UMS 4.4.0 on Ubuntu Server 14.04.1

Post by 99altezza » Wed Jul 29, 2015 3:50 pm

Hi,

I have installed Ubuntu 14.04, then I also installed Gnome which is kind of Windows users friend. Am I able to run the UMS program from there?

When you say download the UMS and install - how am I able to install in the Linus desktop?
IS it like windows, just click on an .exe and it will install then have an icon on teh desktop?

Most of my movies will be bigger than 4G - so the plug and play won't work.

Kayot
Posts: 8
Joined: Tue Jan 07, 2014 8:36 am

Re: [Tutorial] Installing UMS 4.4.0 on Ubuntu Server 14.04.1

Post by Kayot » Thu Jul 30, 2015 10:30 am

When you click the download link above the deb file will download to your user folder. It's a lot like windows. A deb file is like an installer.

I'm curious, did your laptop come with windows?

99altezza
Posts: 10
Joined: Sun Jul 26, 2015 10:12 pm

Re: [Tutorial] Installing UMS 4.4.0 on Ubuntu Server 14.04.1

Post by 99altezza » Thu Jul 30, 2015 11:34 am

Yes it did come with windows xp, but I want to give this Linux a go to see if it's more efficient as it's an older laptop.

99altezza
Posts: 10
Joined: Sun Jul 26, 2015 10:12 pm

Re: [Tutorial] Installing UMS 4.4.0 on Ubuntu Server 14.04.1

Post by 99altezza » Thu Jul 30, 2015 10:32 pm

I downloaded ums 5.1.2 from here http://www.universalmediaserver.com/
I couldn't see the deb file you are talking about, is this downloaded from some where else?

Tonne M
Posts: 29
Joined: Sat Jul 18, 2015 6:29 am

Re: [Tutorial] Installing UMS 4.4.0 on Ubuntu Server 14.04.1

Post by Tonne M » Fri Jul 31, 2015 1:43 am

There is no .deb file indeed. It is a .tgz file which you should unpack. Once unpacked you open the folder where the files are and open the UMS.sh file.
You should see some questions which you can answer YES or NO to. Then UMS UI will start.

Now, what I did was this:
Rightclick on your desktop (random spot with no shortcuts) and choose "Create starter here". Now navigate to the folder UMS is in and point to UMS.sh as your target.
If you want you can also change the icon by rightclicking on it, choose properties and click on the icon. Now you can pick a new one. This is not necessary though.

From now on you can start UMS from your desktop whenever you want.

99altezza
Posts: 10
Joined: Sun Jul 26, 2015 10:12 pm

Re: [Tutorial] Installing UMS 4.4.0 on Ubuntu Server 14.04.1

Post by 99altezza » Fri Jul 31, 2015 10:44 pm

Hi Dude, I opened the UMS.sh file.

it has the followng inside;

#!/bin/sh

CMD=`readlink -f $0`
DIRNAME=`dirname "$CMD"`

# OS specific support (must be 'true' or 'false').
cygwin=false;
case "`uname`" in
CYGWIN*)
cygwin=true
;;
esac

# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
[ -n "$PMS_HOME" ] &&
PMS_HOME=`cygpath --unix "$PMS_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
fi

# Setup PMS_HOME
if [ "x$PMS_HOME" = "x" ]; then
PMS_HOME="$DIRNAME"
fi

export PMS_HOME
# XXX: always cd to the working dir: https://code.google.com/p/ps3mediaserve ... ail?id=730
cd "$PMS_HOME"

# Setup the JVM
if [ "x$JAVA" = "x" ]; then
if [ "x$JAVA_HOME" != "x" ]; then
JAVA="$JAVA_HOME/bin/java"
else
JAVA="java"
fi
fi

# Setup the classpath
# since we always cd to the working dir, these a) can be unqualified and b) *must*
# be unqualified: https://code.google.com/p/ps3mediaserve ... il?id=1122
PMS_JARS="update.jar:ums.jar"

# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
PMS_HOME=`cygpath --path --windows "$PMS_HOME"`
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
fi

# Configure fontconfig (used by our build of FFmpeg)
if [ "x$FONTCONFIG_PATH" = "x" ]; then
FONTCONFIG_PATH=/etc/fonts
export FONTCONFIG_PATH
fi
if [ "x$FONTCONFIG_FILE" = "x" ]; then
FONTCONFIG_FILE=/etc/fonts/fonts.conf
export FONTCONFIG_FILE
fi

# Provide a means of setting max memory using an environment variable
if [ "x$UMS_MAX_MEMORY" = "x" ]; then
UMS_MAX_MEMORY=768M
fi

# Execute the JVM
exec "$JAVA" $JAVA_OPTS -Xmx$UMS_MAX_MEMORY -Xss2048k -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Djna.nosys=true -classpath "$PMS_JARS" net.pms.PMS "[email protected]"

________________________________________________________________________________________

Also when I right on desktop, it doesn't give me an option to Create starter here, I only get;

- New Folder
- New Document
- Alphabetise Desktop
- Align Desktop Icon
- Change Desktop background

Tonne M
Posts: 29
Joined: Sat Jul 18, 2015 6:29 am

Re: [Tutorial] Installing UMS 4.4.0 on Ubuntu Server 14.04.1

Post by Tonne M » Sat Aug 01, 2015 4:24 am

Oops,

I meant run the file called UMS.sh instead of opening it in some text editor.
For as far as the desktop icon (launcher or starter), I was under the impression you used Linux Mint.
Nevertheless, There is always a way to put a shortcut on the desktop.
If you want to let me find out how, I need to know which Linux you are running.

Talking about running, you may need to rightclick UMS.sh and choose run. Or even run in terminal.

(/offtopic) For what it's worth, I didn't start using a computer until 1998. Strange for a man who has been in electronics for over 40 years :D (/offtopic)

Post Reply