Sudo /opt/serviio-1.9/bin/serviio-console. Now, launch the configuration console by typing the following into the Terminal Lastly, start serviio and have it run automatically at boot via: Use your favorite text editor and create /lib/systemd/system/rvice with:Īfter=syslog.target local-fs.target network.targetĮxecStop=/opt/serviio/bin/serviio.sh -stop The first line logs in as root to make a few things easier: This will result in warnings in serviio.log, but there seems to be no ill effect. The useradd option -r creates a system account and does not create a home directory. There are various ways to install Serviio, but this installs it in /opt and runs it as user serviio. If both Java 7 and 8 are installed, you may have to adjust the default via update-java-alternatives or edit scripts to specify the full path, e.g., /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java. Openjdk-8-jre-headless : Depends: ca-certificates-java but it is not going to be installedĮ: Unable to correct problems, you have held broken packages.ĭo not despair, this command will help you:Īpt install -t jessie-backports openjdk-8-jre-headless ca-certificates-javaĪfter that, try run the previous command again. What Java Compilers are available in Debian openjdk-7-jdk openjdk-8-jdk Compiles Java source to native code, also source to bytecode, or bytecode to native code. The following packages have unmet dependencies: The following JVMs are currently available in Debian Jessie: openjdk-7-jre The following lists JVMs available in Debian 9.0 release ('Stretch'): openjdk-8-jre 4.2. If Java is not installed or only Java 7, run: If openjdk-8-jre is installed and “java -version” yields “1.9.0_xx”, you are done. Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: openjdk-8-jre : Depends: openjdk-8-jre-headless ( 8u162-b12-1bpo8+1) Depends: libglib2.0-0 (> 2.24) but it is not going to be installed Depends: libxrandr2 but it is not going to be installed Depends: libxinerama1 but it is no. If you see both openjdk-7-jre and openjdk-8-jre, check which is the default version via: You can tell which, if any, versions are installed via: Install required software if not already installed: As of the newest version is Serviio 1.9ĭebian 8 (Jessie) adds back ffmpeg, so there is no need for an extra PPA. Update: If you are interested in installing the newest version than go to to see which is the newest version at the time. In future versions of Debian after Buster, it is at some point to be expected that they will only ship higher versions of OpenJDK, so at that point, which is several years in the future, Jenkins should run on, say, OpenJDK 11.The new Serviio 1.9 requires Java 8. I just checked, and it looks as if openjdk-8-jre-headless is still also in unstable, which would allow for this version being installed on the next version of Debian unless someone pulls it (but I don't see why). It is recommended to install one of the default-jdk or default-jre meta packages which installs the default version of OpenJDK for the current Debian version. Oracle's OpenJDK 8, available since the Debian 9.0 Strech release in the main section. You then should not need to conflict with anything, just make sure you pick up the right version of Java if several versions are installed. Sun's OpenJDK 7, available since the Debian 8.0 Jessie release in the main section. If you also want to accommodate other editions of Java, I don't know what to do, but I consider OpenJDK the go-to edition of Java on Debian. Therefore I suggested depending on openjdk-8-jre-headless for Debian/Stretch (don't know about Ubuntu), which will be OpenJDK 8 only, no other version. Added a comment - 13:31 - edited If you depend on java8-runtime-headless, than that's obviously too general.
0 Comments
Leave a Reply. |