wiki:InstallLenny

Version 2 (modified by denis, 5 years ago) (diff)

--

Add debian-multimedia.org repository to your sources.list file

vi /etc/apt/sources.list

Add this line:

deb http://www.debian-multimedia.org lenny main

Then, update the list of packages

apt-get update

Installing packages necessary

apt-get install debian-multimedia-keyring g++ unzip mencoder flvtool2 python-cheetah python-twisted ffmpeg2theora cortado postfix

Installing Plone and Plumi

Follow the how-to "How To Install Plumi" here

Installing flowplayer

cd /var/www/
wget http://ovh.dl.sourceforge.net/sourceforge/flowplayer/flowplayer-2.2.4.zip
unzip flowplayer-2.2.4.zip

Setup the configuration file indytube.conf

http://plumi.org/browser/indytube/trunk/indytube/INSTALL.plone

vi plumi-0.2-final/indytube/indytube.conf

For example:

[ffmpeg2theora]
CORTADO_LOCATION=http://plumi.domainepublic.net/flowplayer/cortado-ov-stripped-0.2.2.jar

[paths]

VIDEO_FILE_DIRECTORY=/opt/Plone-2.5.5/zeocluster/client1/var/files/Members
FLV_FILE_DIRECTORY=/var/www/plumi-flv-files/
INCLUDE_FILE_DIRECTORY=/opt/Plone-2.5.5/zeocluster/client1/var/files/Members
INCLUDE_FILE_SUFFIX=.flv.inc
INCLUDE_TEMPLATE=/opt/plumi-0.2-final/indytube/include.template

[urls]
FLOWPLAYER_LOCATION=http://flv.domainepublic.net/flowplayer/FlowPlayerClassic.swf
VIDEO_SERVER_URL=http://flv.domainepublic.net/
SPLASH_IMAGE_BASE=http://plumi.domainepublic.net/flowplayer/
SPLASH_IMAGE_FILE=indytube.jpg

  • We must make a symlink to the debian install of cortado
ln -s /usr/share/cortado/cortado-ov-stripped-0.2.2.jar /var/www/flowplayer/cortado-ov-strippe.jar
  • we must create the directory /var/www/plumi-flv-files/ and give it the right rights
mkdir /var/www/plumi-flv-files/
chown www-data:www-data -R /var/www/plumi-flv-files/
  • And create the /opt/indytube directory
mkdir  /opt/indytube/
  • Copy SPLASH_IMAGE_FILE to VIDEO_SERVER_URL
cp /opt/plumi-0.2-final/indytube/indytube.jpg  /var/www/
  • Copy files for Fullscreen mode to VIDEO_SERVER_URL
cp /opt/plumi-0.2-final/indytube/swfobject.js  /var/www/
cp /opt/plumi-0.2-final/indytube/fullscreen.*  /var/www/