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
howto:linux:install:centos7 [2015/01/19 14:25]
zip
howto:linux:install:centos7 [2017/06/05 07:30] (current)
milkmansson Add later version of Java Instructions.
Line 1: Line 1:
 **2014-12-29** **2014-12-29**
-This was tested on CentOS 7.+This was tested on CentOS 7 with Serviio 1.41.
  
 ==== Prerequisites ==== ==== Prerequisites ====
 **1.** SELinux is disabled **1.** SELinux is disabled
-**2.** Install Java: FIXME Java 8 required+**2.** Install Java (Serviio version 1.5 and later requires minimum ​Java 8):
 <​code>​yum install java-1.7.0-openjdk</​code>​ <​code>​yum install java-1.7.0-openjdk</​code>​
 +Some repo's do not have a late enough Java version available. ​ In these cases, downloading Java manually will be required. ​ In this case please follow this recipe:
 +
 +**2a.** Go to Oracle Java 8 JRE Downloads Page (http://​www.oracle.com/​technetwork/​java/​javase/​downloads/​jre8-downloads-2133155.html) and download the appropriate version. ​ You will need to accept the t's and c's, after that the URL can be copied using your browser.
 +**2b.** Use wget to download the package. ​ Example instructions follow, your URL may be different.
 +<​code>​
 +cd ~
 +wget http://​download.oracle.com/​otn-pub/​java/​jdk/​8u131-b11/​d54c1d3a095b4ff2b6607d096fa80163/​jre-8u131-linux-x64.rpm
 +sudo yum localinstall jre-8u131-linux-x64.rpm
 +</​code>​
 +**2c.** Assuming all goes well, delete the RPM when done:
 +<​code>​
 +rm ~/​jre-8u131-linux-x64.rpm
 +</​code>​
 +**2d.** ​ If you install the openJDK and find it doesn'​t work, you may need to remove it to allow instructions 2a thru c to work.  I did this by using YUM to search for installed packages, finding the jre package, and then issuing sudo yum remove (package) to get rid of it.  Uninstalling the "​java-1.7.0-openjdk"​ on its own was not enough.
 +
 +
 **3.** Install necessary repositories for ffmpeg: **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 <​code>​yum -y install http://​dl.fedoraproject.org/​pub/​epel/​7/​x86_64/​e/​epel-release-7-5.noarch.rpm
howto/linux/install/centos7.1421677501.txt.gz ยท Last modified: 2015/01/19 14:25 by zip