cd /tmp
wget http://people.apache.org/~pquerna/modules/mod_flvx.c
/opt/apache2/bin/apxs -i -a -c mod_flvx.c
wget http://h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz
tar -zxvf apache_mod_h264_streaming-2.2.7.tar.gz
cd mod_h264_streaming-2.2.7/
./configure --with-apxs=/opt/apache2/bin/apxs
make
make install
vi /opt/apache2/conf/httpd.conf
//add to httpd.conf:
LoadModule h264_streaming_module mod_h264_streaming.so
LoadModule mod_flvx.so
AddHandler h264-streaming.extensions .mp4
AddHandler flv-stream .flv
//end
httpdkill
httpdstart