User Tools

Site Tools


howto:linux:install:centos7

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:centos7 [2014/12/29 19:03]
operator
howto:linux:install:centos7 [2015/01/20 08:48]
operator
Line 1: Line 1:
-This was tested on CentOS 7.+**2014-12-29** 
 +This was tested on CentOS 7 with Serviio 1.41.
  
 ==== Prerequisites ==== ==== Prerequisites ====
 **1.** SELinux is disabled **1.** SELinux is disabled
-**2.** Java<code>yum install java-1.7.0-openjdk</code> +**2.** Install Java (Serviio version 1.5 and later requires minimum Java 8): 
-**3.** ffmpeg<code>yum -y install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm+<code>yum install java-1.7.0-openjdk</code> 
 +**3.** Install necessary repositories for ffmpeg
 +<code>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://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 -y install http://linuxdownload.adobe.com/linux/x86_64/adobe-release-x86_64-1.0-1.noarch.rpm</code> 
-yum install ffmpeg</code>+**4.** Install ffmpeg: 
 +<code>yum install ffmpeg</code>
 ==== Install/Extract Serviio ==== ==== Install/Extract Serviio ====
 Always check http://www.serviio.org/download for the latest version first. Always check http://www.serviio.org/download for the latest version first.
Line 23: Line 27:
 <code>touch /lib/systemd/system/serviio.service</code> <code>touch /lib/systemd/system/serviio.service</code>
  
-File /lib/systemd/system/serviio.service needs the following content:+File /lib/systemd/system/serviio.service requires the following content:
 <code>[Unit] <code>[Unit]
 Description=Serviio Server Daemon Description=Serviio Server Daemon
Line 35: Line 39:
 [Install] [Install]
 WantedBy=multi-user.target</code> WantedBy=multi-user.target</code>
-Enable Serviio Service on Linux startup +Enable Serviio Service on Linux startup: 
-<code>systemctl enable serviio</code> +<code>systemctl daemon-reload 
-Start Serviio Service+systemctl enable serviio</code> 
 +Start Serviio Service:
 <code>systemctl start serviio</code> <code>systemctl start serviio</code>
 ==== Firewall issues ==== ==== Firewall issues ====
 **1.** Register Serviio as a configurable firewall package **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) 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:+File requires the following content:
 <code><?xml version="1.0" encoding="utf-8"?> <code><?xml version="1.0" encoding="utf-8"?>
 <service version="1.0"> <service version="1.0">
Line 57: Line 62:
 </service></code> </service></code>
 **2.** Open Firewall for Serviio: **2.** Open Firewall for Serviio:
-<code>firewall-cmd --permanent --zone=public --add-service=serviio+<code>systemctl stop firewalld 
 +systemctl start firewalld 
 +firewall-cmd --permanent --zone=public --add-service=serviio
 firewall-cmd --reload</code> firewall-cmd --reload</code>
- 
-to be continued... 
howto/linux/install/centos7.txt · Last modified: 2017/06/05 07:30 by milkmansson