在linux安装apche并添加h264模块
1月 5, 2012
add a comment
*编译安装h264 module
cd /tmp
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 /tmp/mod_h264_streaming-2.2.7
./configure –with-apxs=`which apxs2`
make
make install
*修改apache配置文件/etc/apache/httpd.conf
LoadModule h264_streaming_module /usr/lib/apache2/modules/mod_h264_streaming.so
AddHandler h264-streaming.extensions .mp4
*开启apache
/etc/init.d/apache start