Install ClipBucket with Ubuntu 15.10

ClipBucketLogo-500×500

Introduction

ClipBucket is open source script used for video sharing.It comes with very effective features like  HQ video customization, Multiple language support, several video moderation tools.It uses FFMpeg, flash and HTML5 for streaming.It comes with media management and user management features. Recently ClipBucket article was published on unixmen.com based on CenOS Linux, refer below link to have a look

http://www.unixmen.com/setup-your-own-youtube-clone-website-using-clipbucket/

Installation and prerequisites

We will need a fresh installed Ubuntu 15.10, Apache. MySQL,FFMpeg, ImageMagic, and FLVTool.

Update  system

apt-get update

Install Apache, MySQL

apt-get install apache2 mariadb-server

Install php and ruby packages

apt-get install php5 php5-mysql php5-curl php5-gd php5-cli ruby

Install other dependencies

Install FFMPEG

apt-add-repository ppa:mc3man/trusty-media

Sample output

Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmp624ee04k/secring.gpg' created
gpg: keyring `/tmp/tmp624ee04k/pubring.gpg' created
gpg: requesting key ED8E640A from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp624ee04k/trustdb.gpg: trustdb created
gpg: key ED8E640A: public key "Launchpad PPA for Doug McMahon" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

Update System and install ffmpeg package

apt-get update && apt-get install ffmpeg

Install imagemagic

apt-get install imagemagick php5-imagick

Install flvtool2

gem install flvtool2

Sample output

Fetching: flvtool2-1.0.6.gem (100%)
Successfully installed flvtool2-1.0.6
Parsing documentation for flvtool2-1.0.6
Installing ri documentation for flvtool2-1.0.6
Done installing documentation for flvtool2 after 1 seconds
1 gem installed

Install GPAC

apt-get install gpac mediainfo

Download package

wget http://netix.dl.sourceforge.net/project/clipbucket/ClipBucket%20v2/clipbucket-2.8.v3354-stable.zip

Create a database and a database user

mysql -u root -p
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 43
Server version: 10.0.22-MariaDB-0ubuntu0.15.10.1 (Ubuntu)
Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> create database unixmen;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> grant all on unixmen.* to 'unixmen'@'localhost' identified by 'P@ssw0rd';
Query OK, 0 rows affected (0.01 sec)
MariaDB [(none)]> \q;

Unzip downloaded folder and copy to web directory

unzip clipbucket-2.8.v3354-stable.zip -d /var/www/html/

Rename Package

cd /var/www/html 
mv clipbucket-2.8.v3354-stable/ clipbucket

Change permissions and ownership of Package

 chown -R www-data:www-data clipbucket/
chmod -R 777 /var/www/data/clipbucket

Restart Apache service

/etc/init.d/apache2 restart

Open Browser

and type

ip_addr/clipbucket and proceed

Selection_042

Accept License Agreement and click to next, if all things looks good click to next

Selection_043

All file permission looks good, click next

Selection_044

Provide database credentials which you have created in database

Selection_045

Change admin password, save settings and continue

Selection_047

Skip and finish

Selection_048

Login to admin panel first then upload videos

Selection_049

 

Selection_050

Click to upload video and try to upload some videos

Selection_051

 

Thats It!

Conclusion

ClipBucket is very easy to use and deploy video sharing tool, first it was developed as a clone of YouTube but now is a very popular open source video sharing platform.

Have fun!!

NO COMMENTS