How to Prepare the Server for ClipBucket

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

 

 

  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

 

 

  1. Install FFMPEG

 

 

  1. Install MP4Box

 

 

  1. Install FLVTOOL2 by executing the following

 

 

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

 

 

  1. Install FLVTOOL++

 

 

  1. Install the PsuedoStreaming Apache Module by issuing the following commands in order
 

  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

 

 

  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:

/usr/bin/ffmpeg

/usr/local/bin/MP4Box

/usr/bin/flvtool2

/usr/local/bin/flvtool++


Share:

Leave a Reply