Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
howto:linux:install:opensuse [2025/07/15 20:25] stroal [6a.Fedora >= 15 - Start Serviio] |
howto:linux:install:opensuse [2025/07/15 20:32] (current) stroal [2.Extract Serviio] |
<code>zypper install ffmpeg</code> | <code>zypper install ffmpeg</code> |
==== 1.Download Serviio ==== | ==== 1.Download Serviio ==== |
<code>wget http://download.serviio.org/releases/serviio-1.2.1-linux.tar.gz</code> | <code>wget http://download.serviio.org/releases/serviio-2.4-linux.tar.gz</code> |
==== 2.Extract Serviio ==== | ==== 2.Extract Serviio ==== |
<code>tar -C /opt -zxvf serviio-1.2.1-linux.tar.gz | <code>tar -C /opt -zxvf serviio-2.4-linux.tar.gz |
mv /opt/serviio-1.2.1 /opt/serviio</code> | mv /opt/serviio-2.4 /opt/serviio</code> |
==== 3.Create Serviio's user ==== | ==== 3.Create Serviio's user ==== |
<code>useradd -d /opt/serviio -r serviio | <code>useradd -d /opt/serviio -r serviio |
</code> | </code> |
==== 4 openSuse 15.6 - Systemd script ==== | ==== 4 openSuse 15.6 - Systemd script ==== |
Create the systemd script /lib/systemd/system/serviio.service with the following code: (If content library is available via nfs or cifs, add remote-fs.target in After=) | 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=) |
<code> | <code> |
[Unit] | [Unit] |
</code> | </code> |
<note>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.</note> | <note>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.</note> |
==== 5a.Fedora >= 15 - Enable service ==== | ==== 5. openSuse - Enable service ==== |
Reload systemd config to ensure changes are taken into account immediately | Reload systemd config to ensure changes are taken into account immediately |
<code>systemctl --system daemon-reload</code> | <code>systemctl --system daemon-reload</code> |
==== 6.openSuse - Start Serviio ==== | ==== 6.openSuse - Start Serviio ==== |
<code>systemctl start serviio.service</code> | <code>systemctl start serviio.service</code> |
==== 6b.Fedora <= 14 - Start Serviio ==== | |
<code>service serviio start</code> | |
| |
~~NOTOC~~ | |
| |