Search The Hostwinds Guides Knowledge Base

How to Prepare the Server for ClipBucket

Share This Article [TheChamp-Sharing]

ClipBucket is an open source script that allows you to host your own video sharing website similar to Youtube. This article will cover how to configure your server for the installation of ClipBucket in a CentOS environment with cPanel. If you’d like to install the ClipBucket software, please refer to our guide: How to install ClipBucket.

You’ll need to be logged into your server via SSH before proceeding.


  1. Add the following repository using nano


nano /etc/yum.repos.d/linuxtech.repo



  1.  Add the following to the file that you just created





  1. Save by using CTRL+X then Y then Enter
  2. Update the server via the following command


yum -y update



  1. Install FFMPEG


yum -y install ffmpeg



  1. Install MP4Box


yum -y install freetype-devel SDL-devel freeglut-devel

cd /usr/local/src/



tar -zxvf gpac-0.4.5.tar.gz

tar -zxvf gpac_extra_libs-0.4.5.tar.gz

cd gpac_extra_libs

cp -r * /usr/local/src/gpac/extra_lib

cd ../gpac

chmod 755 configure


make lib

make apps

make install lib

make install

cp bin/gcc/ /usr/lib

install -m644 bin/gcc/ /usr/local/lib/

chmod +x /usr/local/lib/




  1. Install FLVTOOL2 by executing the following


gem install flvtool2



  1. Verify That cPanel is Still Functioning Correctly by executing the following


cd /



  1. Install FLVTOOL++


yum install wget boost-devel gcc gcc-c++ -y
rpm -ivh
mkdir flvtool++
cd flvtool++
tar zxf flvtool++-1.2.1.tar.gz
mv flvtool++ /usr/local/bin



  1. Install the PsuedoStreaming Apache Module by issuing the following commands in order
cd ~
tar -zxvf apache_mod_h264_streaming-2.2.7.tar.gz
cd ~/mod_h264_streaming-2.2.7
sudo make install



  1. Login to WHM
  2. Locate and click Apache Configuration


Showing the Apache Configuration location in WHM


  1. Click Include Editor


Showing the Include Editor icon in WHM


  1. Under Pre-Main Include select All Versions



  1. Add the following to the end of the Editor


LoadModule h264_streaming_module /usr/local/apache/modules/

AddHandler h264-streaming.extensions.flv



  1. Click Update
  2. Restart Apache
  3. Search for restart in the WHM search bar
  4. Select HTTP Server (Apache)



  1. Click Yes


Showing the Restart Apache Webserver confirmation


  1. Set the php Limits
  2. Search for PHP Configuration Editor in the WHM search bar
  3. Select PHP Configuration Editor


Showing the location of the PHP configuration editor in WHM


  1. Change upload_max_filesize to the maximum size video that you’d like to be uploaded
  2. Click Save


Showing the PHP max file size field in the PHP configuration editor


Your Server is now Ready for Clipbucket PsudoStreaming!

Below are the paths for these Requirements:






Helpful Related Articles