User Tools

Site Tools


This is an old revision of the document!

This was tested on CentOS 7.


1. SELinux is disabled
2. Install Java:

yum install java-1.7.0-openjdk

3. Install necessary repositories for ffmpeg:

yum -y install
yum -y install
yum -y install

4. Install ffmpeg:

yum install ffmpeg

Install/Extract Serviio

Always check for the latest version first.

tar -C /opt -zxvf serviio-
mv /opt/serviio- /opt/serviio

Create Serviio's user

useradd -d /opt/serviio -r serviio
chown -R serviio:serviio /opt/serviio
passwd serviio
//enter a secure password you just have to remember for one login//

After the password for the user serviio is set, please logon and logoff with this user via console or ssh. If you won't, user serviio won't have any access to directories you want to share.

Create Service called serviio

Create systemd service file:

touch /lib/systemd/system/serviio.service

File /lib/systemd/system/serviio.service needs the following content:

Description=Serviio Server Daemon



Enable Serviio Service on Linux startup:

systemctl daemon-reload
systemctl enable serviio

Start Serviio Service:

systemctl start serviio

Firewall issues

1. Register Serviio as a configurable firewall package
Create firewall configuration file / etc/ firewalld/services/serviio.xml (Sorry for the blanks in the path above, but unfortunately this wiki says 'access denied' when trying to code subdirs of etc without blanks)
File needs the following content:

<?xml version="1.0" encoding="utf-8"?>
<service version="1.0">
	<description>Serviio Server</description>
	<port port="8895" protocol="udp"/>
	<port port="8895" protocol="tcp"/>
	<port port="1900" protocol="udp"/>
	<port port="1900" protocol="tcp"/>
	<port port="23423" protocol="udp"/>
	<port port="23423" protocol="tcp"/>
	<port port="23424" protocol="udp"/>
	<port port="23424" protocol="tcp"/>

2. Open Firewall for Serviio:

systemctl stop firewalld
systemctl start firewalld
firewall-cmd --permanent --zone=public --add-service=serviio
firewall-cmd --reload
howto/linux/install/centos7.1419881219.txt.gz · Last modified: 2014/12/29 19:26 by operator