User Tools

Site Tools


howto:linux:install:opensuse

This is an old revision of the document!


openSuse 15.6 Installation Guide

Prerequisites

  • Update your system
    zypper up
  • Make sure you install rmpfusion packages free and non-free from: http://rpmfusion.org/Configuration/ Just click on Fedora x (your release) and install via Software manager.
  • Next up, check your java is installed by running
    zypper install java-21-openjdk

    (newest release at time of writing this page)

  • Then install ffmpeg with
    zypper install ffmpeg

For ffmpeg on openSuse 15.6

zypper install ffmpeg

1.Download Serviio

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

2.Extract Serviio

tar -C /opt -zxvf serviio-1.2.1-linux.tar.gz
mv /opt/serviio-1.2.1 /opt/serviio

3.Create Serviio's user

useradd -d /opt/serviio -r serviio
chown -R serviio:serviio /opt/serviio

4 openSuse 15.6 - Systemd script

Create the systemd script /usr/lib/systemd/system/serviio.service with the following code: (If content library is available via nfs or cifs, add remote-fs.target in After=)

[Unit]
Description=Start the serviio DLNA server in headless mode
After=local-fs.target network.target

[Service]
Type=simple
User=root
ExecStart=/opt/serviio/bin/serviio.sh
ExecStop=/opt/serviio/bin/serviio.sh -stop
Restart=on-abort

[Install]
WantedBy=multi-user.target
I used user “root” to run serviio, I found that when adding disks etc. later on, or migrating disks from other distro's that serviio does not update the library, because of the file permissions. So this is what I did, there are more than one way to handle those permissions.

5. openSuse - Enable service

Reload systemd config to ensure changes are taken into account immediately

systemctl --system daemon-reload

Enable service

systemctl enable serviio.service

6.openSuse - Start Serviio

systemctl start serviio.service

6b.Fedora <= 14 - Start Serviio

service serviio start
howto/linux/install/opensuse.1752611337.txt.gz · Last modified: 2025/07/15 20:28 by stroal