User Tools

Site Tools


howto:linux:install:fedora

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
howto:linux:install:fedora [2013/07/15 09:53]
zip [2.Extract Serviio]
howto:linux:install:fedora [2014/05/03 22:56]
rand Update ffmpeg Fedora 20
Line 6: Line 6:
   * Next up, check your java is installed by running <code>yum install java-1.7.0-openjdk</code> (newest release at time of writing this page)   * Next up, check your java is installed by running <code>yum install java-1.7.0-openjdk</code> (newest release at time of writing this page)
   * Then install ffmpeg with <code>yum install ffmpeg</code>   * Then install ffmpeg with <code>yum install ffmpeg</code>
 +**For ffmpeg on Fedora 20** 
 +<code> rpm -Uvh http://rpm.livna.org/livna-release.rpm</code>
 +<code>yum install gstreamer-plugins-bad gstreamer-plugins-bad-free-extras gstreamer-plugins-bad-nonfree gstreamer-plugins-ugly gstreamer-ffmpeg ffmpeg mencoder ffmpeg2theora mplayer libdvdcss</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-1.2.1-linux.tar.gz</code>
Line 17: Line 20:
 ==== 4a.Fedora >= 15 - Systemd script ==== ==== 4a.Fedora >= 15 - 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 /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>[Unit]+<code> 
 +[Unit]
 Description=Start the serviio DLNA server in headless mode Description=Start the serviio DLNA server in headless mode
 After=local-fs.target network.target After=local-fs.target network.target
Line 23: Line 27:
 [Service] [Service]
 Type=simple Type=simple
-User=serviio+User=root
 ExecStart=/opt/serviio/bin/serviio.sh ExecStart=/opt/serviio/bin/serviio.sh
 ExecStop=/opt/serviio/bin/serviio.sh -stop ExecStop=/opt/serviio/bin/serviio.sh -stop
Line 29: Line 33:
  
 [Install] [Install]
-WantedBy=multi-user.target</code>+WantedBy=multi-user.target 
 +</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>
 ==== 4b.Fedora <= 14 - Init.d script ==== ==== 4b.Fedora <= 14 - Init.d script ====
 Create the initscript /etc/init.d/serviio with the following code: Create the initscript /etc/init.d/serviio with the following code:
howto/linux/install/fedora.txt · Last modified: 2015/01/19 14:51 by zip