This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:linux:install:centos7 [2014/12/29 17:30] operator |
howto:linux:install:centos7 [2017/06/05 07:30] (current) milkmansson Add later version of Java Instructions. |
||
|---|---|---|---|
| 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. Java< | + | **1.** SELinux is disabled |
| - | 2. ffmpeg< | + | **2.** Install |
| + | < | ||
| + | Some repo's do not have a late enough Java version available. In these cases, downloading Java manually will be required. | ||
| + | |||
| + | **2a.** Go to Oracle Java 8 JRE Downloads Page (http:// | ||
| + | **2b.** Use wget to download the package. | ||
| + | < | ||
| + | cd ~ | ||
| + | wget http:// | ||
| + | sudo yum localinstall jre-8u131-linux-x64.rpm | ||
| + | </ | ||
| + | **2c.** Assuming all goes well, delete the RPM when done: | ||
| + | < | ||
| + | rm ~/ | ||
| + | </ | ||
| + | **2d.** | ||
| + | |||
| + | |||
| + | **3.** Install necessary repositories for ffmpeg: | ||
| + | < | ||
| yum -y install http:// | yum -y install http:// | ||
| - | yum -y install http:// | + | yum -y install http:// |
| - | yum install ffmpeg</ | + | **4.** Install ffmpeg: |
| + | < | ||
| ==== Install/ | ==== Install/ | ||
| Always check http:// | Always check http:// | ||
| Line 22: | Line 43: | ||
| < | < | ||
| - | File / | + | File / |
| < | < | ||
| Description=Serviio Server Daemon | Description=Serviio Server Daemon | ||
| Line 34: | Line 55: | ||
| [Install] | [Install] | ||
| WantedBy=multi-user.target</ | WantedBy=multi-user.target</ | ||
| - | Enable Serviio Service on Linux startup | + | Enable Serviio Service on Linux startup: |
| - | < | + | < |
| - | Start Serviio Service | + | systemctl enable serviio</ |
| + | Start Serviio Service: | ||
| < | < | ||
| ==== Firewall issues ==== | ==== Firewall issues ==== | ||
| - | 1. Register Serviio as a configurable firewall package | + | **1.** Register Serviio as a configurable firewall package |
| - | Create firewall configuration file for Serviio: | + | Create firewall configuration file / etc/ firewalld/ |
| - | + | File requires the following content: | |
| - | to be continued... | + | < |
| + | <service version=" | ||
| + | < | ||
| + | < | ||
| + | <port port=" | ||
| + | <port port=" | ||
| + | <port port=" | ||
| + | <port port=" | ||
| + | <port port=" | ||
| + | <port port=" | ||
| + | <port port=" | ||
| + | <port port=" | ||
| + | </ | ||
| + | **2.** Open Firewall for Serviio: | ||
| + | < | ||
| + | systemctl start firewalld | ||
| + | firewall-cmd --permanent --zone=public --add-service=serviio | ||
| + | firewall-cmd --reload</ | ||