Installing Eprints 3 on Windows

From EPrints Documentation
Revision as of 04:48, 19 August 2007 by YawM11 (talk | contribs)
Jump to: navigation, search

farmacie livorno il delitto del signor lange immaggini nude di cartoni duns crack nec e 228 tied uv popolare multi 20 hp he a case of a crab cordles siemens segreteria np-fm 50 ryanair alghero londra dennis rodman lolita sex donne che amano troppo sex0 hd 250 sata stiro vaporella forever d-link 624 il budino magico f leali i creatori di pace gayangos, pascual de- www sleazydream com testina stampante canon transit de dor inima imi plange portable readers la classica imech foots incubus are you in video di arsi vivi troia che caga trimedia mp3 player sitecom big clarence mainerio tortelli climax za za za the sims 2 videogiochi mp3 player sport le avventure magiche dei catoni animati padre figlia spellbound malattia d amore carta nautica www telefonica com ticino trasporti montorso vi sesso perverso free pag pricipal borsa italia tears for fears. the universal masters dvd collection obsession mid la adorada midi pilgrim. il fuggitivo ostaggio turco esecuzione santa rita da cascia digit low fidelity shema israel macchine fotografiche digitale batteria mappe tomtom parka pardoux aladdin dvd 4 sullivan blackwood, algernon indagini di mercato bucaro cocksucking vagina que fuera silvio rodriguez stampanti scanner hp radio antenna fort dodge zippo harley asus barebone terminator lussemburgo (provincia) software nokia communicator vasco rossi biglietto pescara www ilmeteo federconsumatori tv al plasma e lcd philips snoop dogg beautiful video eva heger sfondi sexy uomini contro warlords battlecry iii hp color laserjet 3500 un bacio a mezzanotte flip out clint eastwood una nuova immagine da rebel strike laura betti generatori di corrente ufficio orbassano heterohyrax geforce fx5700le 256mb mission risck viggo mortensen siemens celsius h230 una lunga notte sanculamo studio rd zelig drive 4gb usb 2 0 th 42pv500 italiano belo microsoft guarda avanti (dieci anni) in giappone bulgari brigitta film porno lotto programma dvd r vendita mercedes ml nuovo istituto idrografico della marina cartuccia 703 canon suzuki samurai cabrio presidente caminetto centrali toto live giochi gratis on line amd 3000 ghostbusters 2 cuffia clip magro pietro congelatori verticale ocean centro commerciale madonna dell olmo diavolo im me sony cyber-shot dsc p41 nokia edge umts cp 39 t 10 hard disk scsi seagate scarpe all star sait seiya residence mare il diamante fatale pinnacle box ritornelli inventati scan radio videocassetta 180 canon 28 200 tradurre l indiano toilet gli alunni del sole midi file jobeth williams ninfetas billy elliot film dvd faso cumbiero x agosto pascoli goci www ericclapton it viaggi crociera video concerto norvegia phra nakhon si ayutthaya saba bombas palitana doccie ho un cazzo enorme estufa zanna gialla sound blaster pci cyfra key nickelback silver side up chat trans milano pussies capocchi calzio musica napoletana com mandala lg rh 7500 cartuccia oro learndirect volo milano havana lacie braccio viaccesskeys una fontana istituti di designer baby doll yves saint laurent thermalright slk700 ulster 1988 oakley vault kelly rowan video clip tette naturali e sborrate prada moda renata vigano toca race 2 lastminutes auto noleggio frosinone d.p.a. follin maxi cosi sps sexy italia trumpet voluntary fscaller tyra banks tatuaggi maori gratis vampiri amanti supporto lcd muro compuprint 80 colonne Download an appropriate EPrints Release


We are working to support the Windows platform. This guide describes the process of getting EPrints 3 running on Windows (tested with XP and Vista).

The EPrints 3.0 Windows Installer is under a proprietary license and is NOT redistributable.

Caveats

  • The installation directory is fixed as C:\EPrints\
  • EPrints cannot yet run external commands, for example using ImageMagick to generate thumbnails of image deposits.
  • Documents are not yet indexed. A workaround is available and will be added to this page shortly.
  • The "Apache Perl" bundle currently used* includes an old release of Apache which is missing subsequent security updates: see http://www.apache.org/dist/httpd/CHANGES_2.0 Alternative versions of Apache, Perl, and mod_perl have not yet been tested.

* This Apache/Perl bundle was chosen because ActiveState Perl's license does not permit redistribution.

Required Software

Apache Perl

Includes the Perl interpreter, Apache web server, and the mod_perl library. Get the latest version from http://theoryx5.uwinnipeg.ca/pub/other/Perl-5.8-win32-bin.exe

MySQL

Download MySQL Community Server, Windows Essentials (x86) from http://dev.mysql.com/downloads/

EPrints has been tested with MySQL 5.0, but other versions may work.

EPrints 3.0 Windows Installer

This is an evaluation release. We do not recommend that it be used in a production environment.

This file is under a proprietary license and are NOT redistributable.

  1. http://files.eprints.org/279/1/EPrints.exe


Installation

Each component of the complete EPrints system will be installed in a subdirectory of C:\EPrints\ for ease of maintenance.

Install Apache Perl

Run the Apache Perl installer, selecting to install into C:\EPrints. This will install Apache in C:\EPrints\Apache2, and Perl in C:\EPrints\Perl.

Configure Apache Perl

When the installation completes, it asks you to configure the binary. Set the following options:

  • Disable configuring CPAN.pm
  • Disable building HTML documentation
  • When prompted, choose not to install nmake.

Leave the other options at their defaults, and press Configure.

When the configuration tool is finished, you will need to set some environment variables so EPrints can find Perl and its libraries. To set environment variables, use Control Panel → System → Advanced system settings → Advanced → Environment Variables…

  • Add both C:\EPrints\Perl\bin and C:\EPrints\Apache2\bin to Path, separated by a semicolon ;
  • Create a new variable PERL5LIB, with the value C:/EPrints/EPrints/perl_lib (note forward slashes).

Install MySQL

Now run the MySQL installer, and choose a Custom installation in C:\EPrints\MySQL. You will need to set the following options:

  • Install the server and client programs
  • Do not install the C files
  • Skip signing up to MySQL.com

Configure MySQL

When the installation completes, you should configure the server as prompted (this tool is also available from the Start Menu afterwards).

Choose Detailed installation. Accept most of the default settings:

  • Choose Best Support for Multilingualism as the character set
  • Choose a secure root password when prompted

When configuration has finished, you need to set an option manually in MySQL's configuration file by editing C:\EPrints\MySQL\my.ini in a text editor.

  • In the sql-mode option, remove NO_AUTO_CREATE_USER from the list

Now restart MySQL so that the new options take effect. In Control Panel → Administrative Tools → Services, find MySQL and choose Restart.

Install EPrints 3

Run the EPrints installer. This will install files into C:\EPrints\EPrints.

When the installer has finished copying files, it will prompt you for site specific information. Follow the instructions to complete the installation.

Configure EPrints 3

Now you can run epadmin to configure the archive. This process is the same on all platforms, so you can follow the standard instructions for the details of this process: Installation/Getting Started

Note: Whenever you need to run an EPrints command line tool, it must be prefixed with perl:

perl bin/generate_static myarchive

First open a command prompt and change directory to C:\EPrints\EPrints. To start the process, run: perl bin/epadmin create

epadmin will fail to run generate_static, import_subjects, and generate_apacheconf automatically. Run them manually according to the standard instructions.

Finally you need to add the EPrints configuration file to Apache. Edit C:\EPrints\Apache2\conf\httpd.conf and add at the bottom of the file:

Include C:/EPrints/EPrints/cfg/apache.conf

Starting Apache

Now start Apache from the command line:

C:
cd\EPrints\Apache2
bin\apache

Finish

EPrints should now be accessible from your browser, at the hostname you specified to epadmin above.

Administration

Scheduling tasks

The Windows Task Scheduler can be used to automate regular tasks, similarly to the cron daemon under Unix. This tool can be found on Windows Vista under Accessories → System Tools → Task Scheduler.

Choose Create Basic Task... to add a new task. You will need four tasks in total: one for generate_views and three for saved searches.

For Trigger, select Daily, Weekly, or Monthly and configure the time appropriately.

For Action, choose Start a Program.

  • Program name is C:\EPrints\Perl\bin\perl.exe
  • Arguments are the path to the script and its arguments; either:
C:\EPrints\EPrints\bin\send_alerts myarchive daily
C:\EPrints\EPrints\bin\send_alerts myarchive weekly
C:\EPrints\EPrints\bin\send_alerts myarchive monthly
C:\EPrints\EPrints\bin\generate_views myarchive
  • Start In is C:\EPrints\EPrints

On the Finish screen choose to display the properties for the task.

  • Choose Run whether user is logged on or not, and select Do not store password.