UnixServerAdmin

Server Administration & Management

How to install mod_flvx with Apache in cPanel

Here is following steps to install mod_flvx on CentOS server. We assumed that you have already installed Apache web server being cPanel server.  Just be sure that you have apache 2.2 version on the server or else you might have errors during compiling mod_flv.

1. Download mod_flvx.c

# cd /usr/local/src

# wget http://github.com/osantana/mod_flvx/blob/master/mod_flvx.c

2. Compile and install module

# /usr/local/apache/bin/apxs -i -a -c mod_flvx.c

3. Add the following handler in /usr/local/apache/conf/httpd.conf

# vi /etc/httpd/conf/httpd.conf        “OR”

# vi /usr/local/apache/conf/httpd.conf

————————————-
AddHandler flv-stream .flv
————————————-

4. Reload configuration:

# service httpd restart

# chkconfig httpd on

Advertisements

October 6, 2011 Posted by | Apache, cPanel | , , , | Leave a comment