This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
howto:linux:install:raspbian [2014/02/20 18:20] nx3 [FFMPEG] |
howto:linux:install:raspbian [2014/07/22 20:35] nx3 [Install Oracle Java for ARM] |
||
---|---|---|---|
Line 8: | Line 8: | ||
http:// | http:// | ||
+ | " | ||
+ | |||
+ | Download Java from (this might change) | ||
+ | http:// | ||
==== Install Oracle Java for ARM ==== | ==== Install Oracle Java for ARM ==== | ||
Download Oracle JDK8 for ARM on your RaspberryPi and get the resulting file to your ' | Download Oracle JDK8 for ARM on your RaspberryPi and get the resulting file to your ' | ||
- | [[https://jdk8.java.net/download.html]] | + | http://www.oracle.com/technetwork/ |
Oracle provide a good installation guide at: | Oracle provide a good installation guide at: | ||
Line 19: | Line 23: | ||
==== Configure Java ==== | ==== Configure Java ==== | ||
- | Switch to " | ||
- | < | ||
- | |||
Change the owner of JAVA: | Change the owner of JAVA: | ||
- | < | + | < |
Set where the Java components are installed: | Set where the Java components are installed: | ||
< | < | ||
- | update-alternatives | + | sudo update-alternatives |
- | update-alternatives | + | sudo update-alternatives |
- | update-alternatives --set java / | + | sudo update-alternatives --set java / |
</ | </ | ||
- | Now exit " | + | Set version |
- | < | + | < |
+ | sudo update-alternatives –config javac | ||
+ | sudo update-alternatives –config java | ||
+ | </ | ||
+ | |||
+ | Check versions | ||
+ | < | ||
+ | java -version | ||
+ | javac -version | ||
+ | </ | ||
- | Check if JAVA works (version | + | Version |
< | < | ||
pi@raspberrypi ~ $ java -version | pi@raspberrypi ~ $ java -version | ||
Line 110: | Line 120: | ||
start) | start) | ||
# start Serviio in background mode | # start Serviio in background mode | ||
- | su -l $User -c "/ | + | su -l $User -c "/ |
echo "Start Serviio..." | echo "Start Serviio..." | ||
;; | ;; | ||
Line 169: | Line 179: | ||
git clone git:// | git clone git:// | ||
cd x264 | cd x264 | ||
- | ./configure --host=arm-unknown-linux-gnueabi --enable-static | + | ./configure --host=arm-unknown-linux-gnueabi --enable-static |
make | make | ||
sudo make install | sudo make install | ||
Line 183: | Line 193: | ||
./configure | ./configure | ||
make | make | ||
- | sudo checkinstall --pkgname=libvpx --pkgversion=" | + | sudo checkinstall --pkgname=libvpx --pkgversion=" |
- | | + | |
</ | </ | ||
Line 190: | Line 199: | ||
librtmp provides support for the RTMP content streaming protocol developed by Adobe and commonly used to distribute content to flash video players on the web. FFmpeg supports using the librtmp library to stream content from RTMP sources. To acquire and build librtmp, perform the following: | librtmp provides support for the RTMP content streaming protocol developed by Adobe and commonly used to distribute content to flash video players on the web. FFmpeg supports using the librtmp library to stream content from RTMP sources. To acquire and build librtmp, perform the following: | ||
< | < | ||
+ | sudo apt-get install libssl-dev | ||
cd / | cd / | ||
git clone git:// | git clone git:// | ||
cd rtmpdump | cd rtmpdump | ||
make SYS=posix | make SYS=posix | ||
- | sudo checkinstall --pkgname=rtmpdump --pkgversion=" | + | sudo checkinstall --pkgname=rtmpdump --pkgversion=" |
- | | + | |
</ | </ | ||