Difference between revisions of "PreviewPlusInstallation"

From EPrints Documentation
Jump to: navigation, search
(Plugin Installation)
Line 21: Line 21:
 
  cd /opt/eprints3/archives/ARCHIVEID
 
  cd /opt/eprints3/archives/ARCHIVEID
 
  tar xvzf PreviewPlus.VERSION.tgz
 
  tar xvzf PreviewPlus.VERSION.tgz
 +
 +
== Configure office conversions ==
 +
Depending what distribution of linux you are using you will find that open office installs in different places. You may need to edit <code>cfg/cfg.d/office_conversions.pl</code> so that <code>$c->{office_path}</code> points to you open office install.
 +
 +
== Symlink CGI scripts ==
 +
 +
ln -s /opt/eprints3/archives/ARCHIVEID/cgi/get_preview_plus /opt/eprints3/cgi/
 +
 +
== Setting up cron ==
 +
You will probably want to run the /opt/eprints3/archives/ARCHIVEID/bin/generate_video_previews and /opt/eprints3/archives/ARCHIVEID/bin/generate_audio_previews nightly. The easiest way to do this is to add them to the eprints users contab.
 +
 +
Currently there is no mechanism to stop these scripts snowballing so make sure you leave long enough in the crontab for one job to finish before the next starts.

Revision as of 10:38, 4 December 2009

Installation

Begin by downloading PreviewPlus from : SOMEWHERE

Prerequesit software

As prerequisits you will also require FFMPEG, LAME and OpenOffice. On Ubuntu/Debian you can install these from the package manager. On RedHat/Fedora you may have to install them by hand depending what repositories you have available.

FFMPEG:http://ffmpeg.org/index.html

LAME:http://lame.sourceforge.net/

OpenOffice:http://www.openoffice.org/

Plugin Installation

Instructions assume eprints is installed at /opt/eprints3

Extract the tarball into your local archive directory:

cd /opt/eprints3/archives/ARCHIVEID
tar xvzf PreviewPlus.VERSION.tgz

Configure office conversions

Depending what distribution of linux you are using you will find that open office installs in different places. You may need to edit cfg/cfg.d/office_conversions.pl so that $c->{office_path} points to you open office install.

Symlink CGI scripts

ln -s /opt/eprints3/archives/ARCHIVEID/cgi/get_preview_plus /opt/eprints3/cgi/

Setting up cron

You will probably want to run the /opt/eprints3/archives/ARCHIVEID/bin/generate_video_previews and /opt/eprints3/archives/ARCHIVEID/bin/generate_audio_previews nightly. The easiest way to do this is to add them to the eprints users contab.

Currently there is no mechanism to stop these scripts snowballing so make sure you leave long enough in the crontab for one job to finish before the next starts.