Monday, August 24, 2009

ClipBucket installation

Add this to your yum repo.
----------------------------------------------------------------
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=0
enabled=1
 ----------------------------------------------------------------
Accept and install all dependencies for these:


#yum install ffmpeg
#yum install ffmpeg-devel
#yum install flvtool2

Then, download this:
wget http://mesh.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.3.1.tbz2

Extract it and then go to ffmpeg-php to compile and install it.

#cd ffmpeg-php
#phpize (this shold
./configure
#make

*** misspell problemat make:  mv ffmpeg_frame.loT ffmpeg_frame.lo   DO NOT make clean AFTER THIS. Just run 'make' again to finish the compilation step.

#make install

That's it. The hard part now is to import the database. Go here to download:

http://clipbucket.org/scm/viewvc.php/trunk/sql/?root=clipbucket

Make sure you're downloading the correct version number for your MySQL.

Import your database schema and edit the config environment to match your server. These are the important ones:
(3, 'baseurl', 'http://domain.tld'),
(4, 'basedir', '/home/user/public_html'),
(11, 'ffmpegpath', '/usr/bin/ffmpeg'),
(12, 'flvpath', '/usr/bin/flvtool2'),
(19, 'mencoderpath', '/usr/bin/mencoder'),
(22, 'mplayerpath', '/usr/bin/mplayer'),
(25, 'php_path', '/usr/bin/php'),

No comments: