Welcome to the Serviio Wiki. This space is intended to store community knowledge about Serviio and it's various setups. You can post and update working installation tutorials, startup scripts and similar.

Ubuntu Server Installation Guide

Based on bigfatostrich's Howto and Forum members contributions

Prerequisites

  • Java
    apt-get install default-jre
  • FFmpeg
    apt-get install ffmpeg libavcodec-extra-53 libavformat-extra-53
  • dcraw for digital pictures
    apt-get install dcraw

1.Download Serviio

Always check what the latest version is on the website, it is currently 1.2.1 and update accordingly
Here is link to serviio.org download page.
http://www.serviio.org/download

wget http://download.serviio.org/releases/serviio-1.2.1-linux.tar.gz

2.Extract Serviio

tar xvf serviio-1.2.1-linux.tar.gz

3.Ubuntu Server Startup Script (credit to forum member jonolafur)

Create and save the following script in the directory /etc/init/ and call it serviio.conf

start on started networking
script
   /<path-to-serviio>/serviio.sh
end script

and replace <path-to-serviio> with the actual path to your serviio installation.

If any problems should arise with the system locales, a specific locale can be added to the script right before the path to serviio.

start on started networking
script
   LANG=da_DK.utf8 /<path-to-serviio>/serviio.sh
end script

The system specific locale can be found using the following command.

locale -a

This should yeild a list like this.

$ locale -a
C
C.UTF-8
da_DK.utf8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8

Replace “LANG=da_DK.UTF8” in the script with the desired locale.

The upstart system now starts the serviio server as soon as all networking jobs have been started:

sudo /etc/init.d/networking restart

If you need it to start earlier or later, please check the excellent documentation on upstart for example here:

Upstart Cookbook

You can now get a list of all jobs registered with upstart by issuing:

initctl list

and you should get something like:

serviio start/running, process 1009

if it is already running, otherwise it says:

serviio stop/waiting

You can start and stop the job via:

sudo start serviio

and

sudo stop serviio

4.Enabling Remote Console Access From Windows (credit to forum member tvkdlna)

Create a firewall rule to allow TCP data on port 23423 on both the client and server

Edit C:\Program Files\Serviio\bin\ServiioConsole.exe.vmoptions adding:

-Dserviio.remoteHost=XXX.XXX.X.XXX

Replacing XXX.XXX.X.XXX with the IP Address of the remote server

Print/export