User Tools

Site Tools


serveurs:icecast2
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


serveurs:icecast2 [2015/08/30 22:55] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +===Icecast2 serveur de streaming audio-video===
 +
 +Suite à une rencontre avec Yves Degoyon et le reseau hackitectura nous avons teste le serveur de streaming icecast2 en version flux video. icecast patch pour theora hacked version de icecast2.1
 +
 +La base est un SME 6.5 RC2
 +
 +Installer apt article apt se synchroniser sur la red-hat 7.3 en modifiant le fichier /etc/apt/source.lists, et apt-get update.
 +
 +<code bash>
 +
 +cd /usr/src 
 +apt-get install gcc 
 +apt-get install SDL-devel
 +apt-get install vorbis-tools libvorbis-devel 
 +
 +wgethttp://downloads.xiph.org/releases/ogg/libogg-1.1.2.tar.gz 
 +wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.0.tar.gz 
 +wget http://downloads.xiph.org/releases/theora/libtheora-1.0alpha4.tar.gz 
 +wget http://downloads.xiph.org/releases/speex/speex-1.0.9.tar.gz 
 +
 +tar xvfz libogg* 
 +tar xvfz libvorbis* 
 +tar xvfz libtheora* 
 +tar xvfz libspeex* 
 +
 +cd libogg*
 +./configure --prefix=/usr 
 +make;make install;cd .. 
 +
 +cd libvorbis*
 +./configure --prefix=/usr 
 +make;make install;cd .. 
 +
 +cd libtheroa*
 +./configure --prefix=/usr 
 +make;make install;cd .. 
 +
 +cd speex*
 +./configure --prefix=/usr 
 +make;make install 
 +
 +wget http://www.mediacast1.com/~karl/icecast-2.2-kh5.tar.gz 
 +tar xvfz icecast* 
 +cd icecast-2.2-kh5 
 +./configure --prefix=/usr 
 +make;make install
 +</code>
 +
 +** configuration du serveur ** 
 +
 +Dans le répertoire //./conf// des sources de Icecast, sont disponibles plusieurs fichiers de configuration possible,copiez celui qui vous semble le mieux dans /etc et faites y en accords avec la doc de icecast vos modification
 +
 +doc icecast 2.1 
 +
 +<code bash>
 +cd conf 
 +ls 
 +cp icecast.xml.dist /etc/icecast.xml 
 +</code>
 +
 +Faites la création d’un utilisateur qui lancera icecast et du repertoire de log :
 +
 +<code bash>
 +groupadd icecast
 +adduser icecast -G icecast 
 +mkdir -p /var/log/icecast
 +chmod 664 /var/log/icecast
 +chown icecast:icecast /var/log/icecast
 +</code>
 +
 +et modifiez le fichier de configuration, changez la fin en :
 + 
 +<code>
 +<security>
 +        <chroot>0</chroot>
 +        <changeowner>
 +            <user>icecast</user>
 +            <group>icecast</group>
 +        </changeowner>
 +</security>
 +</code>
  
serveurs/icecast2.txt · Last modified: 2015/08/30 22:55 by 127.0.0.1