![]() ![]() ![]() Update the "ums" symlink by running sudo ln -sfn /opt/ums-10.0.0/ ums MAKE SURE YOU CHANGE THE ABOVE LINE TO THE CORRECT VERSION.Stop the ums service by running sudo systemctl stop ums.Unpack the tarball by running sudo tar -xvzf UMS-*.tgz.Download the latest tarball by running something like sudo wget MAKE SURE YOU CHANGE THE ABOVE LINE TO THE CORRECT VERSION.Navigate to the installation folder by running cd /opt. ![]() visit the UMS webpage by going to in a web browser.start UMS by running sudo service ums start.Edit UMS.conf by running sudo nano /etc/UMS.conf and setting the following variables (you'll have to setup folders and folders_monitored to something specific for your environment) server_name = MyMediaServerįolders = /mnt/media/Video/Movies, /mnt/media/Video/TV_Shows, /mnt/media/Video/Web_Shows, /mnt/media/Music, /mnt/media/Comedyįolders_monitored = /mnt/media/Video/Movies, /mnt/media/Video/TV_Shows, /mnt/media/Video/Web_Shows, /mnt/media/Music, /mnt/media/Comedy.Copy the default configuration files to /etc/ by running the following commands sudo cp /opt/ums/UMS.conf /etc/.Make the system aware of your new script by running update-rc.d ums defaults.Make that script executable by running chmod +x /etc/init.d/ums.# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.Įcho >&2 -e ""$txtylw"Warning:$txtrst $1" # Load the VERBOSE setting and other rcS variables # let the program to die gracefully and 'restart' will not work # If this value is set too low you might not UMS_START=1 # Wether to start or not UMS ver at boot time.ĭODTIME=30 # Time to wait for the server to die, in seconds. PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # Description: Java Upnp Media Server dedicated to PS3 # Required-Stop: $local_fs $remote_fs $network # Required-Start: $local_fs $remote_fs $network Create an init.d script by running sudo nano /etc/init.d/ums and copying the following into that file #!/bin/bash.Install UMS 8.0.1 by running the following commands cd /opt.Sudo apt-get install openjdk-8-jre openjdk-8-jre-headlessĪpt-get install mediainfo dcraw vlc-bin mplayer mencoder Install the necessary packages by running the following commands sudo apt-get install software-properties-common. ![]()
0 Comments
Leave a Reply. |