How to add httpd_devel to custombuild

gknight

New member
Joined
Jun 26, 2009
Messages
4
How would you go about adding packages to custombuild? I have to add a few things to apache to get a video player to work and stream properly and when I try to add httpd_devel using an RPM for Centos, it tells me that httpd doesn't exist because DirectAdmin installed it. I am trying to follow these instructions.....

http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Apache-Version2

FOllowing THOSE instructions do not work. I could really use a little help on this one. Thanks in advance.
 
You don't need httpd-devel. Apache is installed from source, in a lot of installations this means you do not need to install the devel-packages. In this case, you don't need to as well. I'll show you the steps to install it.

Code:
cd /usr/src/
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 && make && make install

The module is installed into /usr/lib/apache/mod_h264_streaming.so

Add the following lines to the bottom of /etc/httpd/conf/httpd.conf

Code:
LoadModule h264_streaming_module /usr/lib/apache/mod_h264_streaming.so
AddHandler h264-streaming.extensions .mp4

Restart Apache

Code:
service httpd restart

And you can check if the module is installed by using the following command. It should display somewhere at the bottom of the result.

Code:
httpd -M

Please note that I have no idea how to deal with this any further. It shows to be installed fine on a test server we're running over here but I don't know how to work with the module after that. So that part is up to you. If you do know, please share it with us. Might help someone in the future.
 
Back
Top