Installing EPrints 3 on Win32
Download an appropriate EPrints Release
This feature requires EPrints version 3.2.1 or later |
This page contains notes concerning installing version 3.2 on Win32-based platforms. There is still work to go on supporting EPrints on Win32.
Contents
Requirements
- Microsoft Windows XP or later
- Apache 2.0 or later
- MySQL 5 or later
- ModPerl 2.0 or later
Download EPrints Windows Installation Package (MSI)
Do not install this until ALL supporting software is in place and in the places outlined.
http://files.eprints.org/517/3/EPrints%2D3.2.1%2Drc%2D2.msi
Supporting Software
Apache
Download and install Apache 2.2 + OpenSSL (if needed) from http://httpd.apache.org/download.cgi#apache22.
- Change the installation directory to C:\Apache
- After install manually add C:\Apache\bin to the windows path enviroment variable.
MySQL
Download and install MySQL from http://dev.mysql.com/downloads/mysql/
- Change default character set to Best support For Multilingualism
Perl
Download and install ActiveState Perl from http://www.activestate.com/activeperl/downloads/
ModPerl
Install mod_perl from the command prompt:
- ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/mod_perl.ppd
- When asked, set the Apache modules directory to C:/Apache/modules
Other Modules
From the command-prompt execute: > ppm area list
┌────────────┬──────┬──────────────────────┐ │ name │ pkgs │ lib │ ├────────────┼──────┼──────────────────────┤ │ (perl_lib) │ n/a │ C:/eprints//perl_lib │ │ (site) │ 2 │ C:/Perl/site/lib │ │ (perl) │ 206 │ C:/Perl/lib │ └────────────┴──────┴──────────────────────┘
If the "site" name is in brackets (as shown) you need to fix the permissions on C:/Perl/site so that your user can write to it (TODO: why can't Administrator users write using ppm???).
Add the uwinnipeg repository to PPM:
- Start the "Perl Package Manager" (ActiveState Perl start menu)
- Edit --> Preferences
- Under the Repositories tab add the University of Winnipeg repository from the suggested list.
- Click Ok then close PPM
Install DBD::mysql from the command prompt:
- ppm install DBD-mysql
Install XML::LibXML from the command prompt:
- ppm install XML-LibXML
Configuration
Edit the Apache configuration file C:\Apache\conf\httpd.conf and add below the last LoadModule line:
LoadFile C:/perl/bin/perl510.dll LoadModule perl_module modules/mod_perl.so
And at the end of the file:
Include C:/eprints/cfg/apache.conf