This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:linux:install:centos [2012/09/02 18:24] rumbles |
howto:linux:install:centos [2015/01/14 15:50] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
Based on [[howto: | Based on [[howto: | ||
+ | |||
+ | This was tested on CentOS 6.3 (Final) | ||
==== Prerequisites ==== | ==== Prerequisites ==== | ||
- | * Java< | + | * Java< |
- | * Ffmpeg< | + | |
==== 1.Download Serviio ==== | ==== 1.Download Serviio ==== | ||
- | < | + | Always check http:// |
+ | < | ||
==== 2.Extract Serviio ==== | ==== 2.Extract Serviio ==== | ||
- | < | + | < |
- | mv / | + | mv / |
==== 3.Create Serviio' | ==== 3.Create Serviio' | ||
< | < | ||
Line 126: | Line 128: | ||
iptables -A INPUT -p tcp --dport 8895 -j ACCEPT -m comment --comment " | iptables -A INPUT -p tcp --dport 8895 -j ACCEPT -m comment --comment " | ||
iptables -A INPUT -p tcp --dport 23423 -j ACCEPT -m comment --comment " | iptables -A INPUT -p tcp --dport 23423 -j ACCEPT -m comment --comment " | ||
+ | iptables -A INPUT -p tcp --dport 23424 -j ACCEPT -m comment --comment " | ||
</ | </ | ||
- | ==== 9. Rebuild | + | |
+ | ==== 9. Build ffmpeg ==== | ||
+ | |||
+ | As of Serviio v1.0, you need ffmpeg v0.11 or greater so in most cases you will need to build ffmpeg from source, rather than use the version from yum. | ||
As per [[: | As per [[: | ||
- | * Remove packages, | + | * Remove |
yum install git libfaac-devel libmp3lame-devel libtheora-devel \ | yum install git libfaac-devel libmp3lame-devel libtheora-devel \ | ||
libva-devel libvdpau-devel libvorbis-devel libX11-devel libXfixes-devel texi2html yasm \ | libva-devel libvdpau-devel libvorbis-devel libX11-devel libXfixes-devel texi2html yasm \ | ||
libxvidcore-devel | libxvidcore-devel | ||
- | * x264< | + | * x264 (optional)< |
mkdir src | mkdir src | ||
cd src | cd src | ||
Line 145: | Line 151: | ||
make install</ | make install</ | ||
- | * Libvpx< | + | * Libvpx |
git clone http:// | git clone http:// | ||
cd libvpx | cd libvpx | ||
Line 155: | Line 161: | ||
cd rtmpdump | cd rtmpdump | ||
make SYS=posix</ | make SYS=posix</ | ||
+ | |||
+ | Some of the above libraries are optional, if you don't build them, remember to remove the equivilant --enable-libXXX from ./configure below. | ||
* ffmpeg< | * ffmpeg< | ||
- | git clone --depth 1 git://git.videolan.org/ffmpeg | + | wget http://download.serviio.org/opensource/ffmpeg-N-42368-gbf53863.tar.gz |
+ | tar xvf ffmpeg-N-42368-gbf53863.tar.gz | ||
cd ffmpeg | cd ffmpeg | ||
./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libtheora \ | ./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libtheora \ | ||
Line 166: | Line 175: | ||
make install</ | make install</ | ||
- | * Add the ffmpeg location to / | + | * Add the ffmpeg location to / |
< | < | ||
JAVA_OPTS=" | JAVA_OPTS=" | ||
- | * At this point it should be working, I have this tested on an X Box 360, if you have any troubles you may find my the forum post here useful [[http:// | + | * At this point it should be working, I have this tested on an XBox 360, if you have any troubles you may find my the forum post here useful [[http:// |
~~NOTOC~~ | ~~NOTOC~~ |