User Tools

Site Tools


howto:linux:install:centos7

This is an old revision of the document!


This was tested on CentOS 7.

Prerequisites

1. Java

yum install java-1.7.0-openjdk

2. ffmpeg

yum -y install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
yum -y install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
yum -y install http://linuxdownload.adobe.com/linux/x86_64/adobe-release-x86_64-1.0-1.noarch.rpm
yum install ffmpeg

Install/Extract Serviio

Always check http://www.serviio.org/download for the latest version first.

wget http://download.serviio.org/releases/serviio-1.4.1.2-linux.tar.gz
tar -C /opt -zxvf serviio-1.4.1.2-linux.tar.gz
mv /opt/serviio-1.4.1.2 /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:

[Unit]
Description=Serviio Server Daemon
After=syslog.target network.target

[Service]
User=serviio
Type=simple
ExecStart=/opt/serviio/bin/serviio.sh

[Install]
WantedBy=multi-user.target
howto/linux/install/centos7.1419872945.txt.gz · Last modified: 2014/12/29 17:09 by operator