User Tools

Site Tools


howto:linux:install:ubuntu14-04
This guide assumes you've installed a fresh (default) installation of Ubuntu 14.04 or 14.10.
The new Serviio 1.5.1 requires Java 8. The old Serviio 1.4 required Java 7

Tested and working without any issues, log warnings, etc. with Serviio 1.5.1
When entering commands, change Username “Lisa” to your own username.

Let's get started…

#java 8 install:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

#Add the FFMPEG repositories and install FFMPEG

sudo add-apt-repository ppa:kirillshkrogalev/ffmpeg-next
sudo apt-get update
sudo apt-get install ffmpeg

#serviio 1.5 download and extract:

wget http://download.serviio.org/releases/serviio-1.5.1-linux.tar.gz
sudo tar xzf serviio-1.5.1-linux.tar.gz

#Rename container and move the directory

mv serviio-1.5.1 serviio
sudo mv serviio /usr/local/share/

#Create the script that will launch the Serviio service at boot

sudo gedit /etc/init/serviio.conf
Here you will use whichever notepad application that comes with your distribution, it may be leafpad, mousepad, kedit or gedit depending on what flavor of Ubuntu you are running

Paste this into the new text file:

start on started networking
script
   LANG=es_ES.utf8 /usr/local/share/serviio/bin/serviio.sh
end script

Close gedit

#Assign executable permissions

sudo chown -R Lisa:Lisa /usr/local/share/serviio/

#Start the service for the first time

sudo start serviio
If you get error: sudo: start: command not found then do this:
cd /usr/local/share/serviio/bin/
sh serviio.sh

#Start the configuration UI

sudo /usr/local/share/serviio/bin/serviio-console.sh 
This may take a minute or 2 the first time, as long as you dont see errors in the terminal then just wait. You will then see the yellow Serviio icon in the systray next to the time. Right click on it and choose “open serviio console”

#Create a launcher on the Desktop that will launch the configuration UI (when you need to change settings)

Right click the desktop “create new launcher” and set the path as
“gksudo /usr/local/share/serviio/bin/serviio-console.sh”

Enjoy!

The Serviio service will launch automatically from now on when you start your computer (You will not see the Serviio icon in the systray from now on but you can verify if the service is running with:

initctl list | grep serviio
If you want Serviio to stream content from NTFS drives then they must be permanently mounted before attaching theose to Serviio

See here for instructions: https://help.ubuntu.com/community/MountingWindowsPartitions#Manual_Configuration

howto/linux/install/ubuntu14-04.txt · Last modified: 2015/08/26 02:57 by pepper311