First of all u have to get some stuff…
yum install pcre pcre-devel glib2 glib2-devel
and then lets beggin…
wget http://h264.code-shop.com/download/lighttpd-1.5.0_mod_h264_streaming-2.2.6.tar.gz tar -zxvf lighttpd-1.5.0_mod_h264_streaming-2.2.6.tar.gz
cd lighttpd-1.5.0
./configure --enable-maintainer-mode --prefix=${HOME} (usually i use /lighttpd for home folder)
make
make install
and viola.. you got your stream server installed...
now some stuff to add to config
nano lighttpd.conf
server.modules = ( ..., "mod_h264_streaming", "mod_flv_streaming",... ) h264-streaming.extensions = ( ".mp4" ) flv-streaming.extensions = ( ".flv" )and your done..now to start yor server and stream.../lighttpd/sbin/lighttpd -f /location_of_your_lighttpd.confand its up and runnig...
Categories: Server Administration