[EP-tech] Installing ePrints 3.3.15 on CentOS7 error
J.Salter at leeds.ac.uk
Thu Apr 20 09:53:48 BST 2017
Tried sending this yesterday with an RPM attached - which looks like it's got stuck somewhere in email-land.
Here it is again - without the attachment (if you want the rpm, ask me!)
I've been looking at the exact same issue - when trying to provision a Vagrant machine on CentOS 7.
In the past, EPrints services have hosted some required packages at http://rpm.eprints.org/, but this doesn't seem to have been updated for a while [EPrints/Southampton - any comment on this?]
You can install this package from CPAN, but I wanted to do this via yum too. The solution I came up with was to use 'fpm' (https://github.com/jordansissel/fpm) to package the CPAN module as an RPM.
Attached is the resulting file - which may be of use to you.
If you are migrating an existing repository, be aware of any differences between Apache 2.2 and 2.4 (the default with CentOS 7), and check your config files against the most recent - especially <eprints_root>/archives/<archive>/cfg/cfg.d/security.pl.
This is good to know about: https://github.com/eprints/eprints/blob/392474eec1b8125a66ed2d3e12b02aeb67dc07c4/perl_lib/EPrints/Repository.pm#L428-L468
And these are useful background to Apache2.4:
I'm still part-way through my CentOS7 / EPrints / Vagrant / Puppet journey - will write it up when I reach my destination!
From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Mathieu Perron
Sent: 13 April 2017 21:21
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>
Subject: [EP-tech] Installing ePrints 3.3.15 on CentOS7 error
I'm trying to setup a new server for our ePrints repository (the current repository is running on obsolete CentOS5). I installed all dependencies as stated in the wiki but when I run "yum install eprints" I get the following error:
Error: Package: eprints-3.3.15-1.el6.noarch (rpm-eprints-org)
I've googled the package perl-apache-dbi and it was available via the EPEL repository but has been removed because it wasn't maintained. I tried running "yum install eprints -skip-broken" but there's a bunch of stuff not installed because there are missing dependencies.
Is there a better way to install ePrints via YUM? Is there a tutorial somewhere with all I need to install to make ePrints work on CentOS7?
Thank you for your kindness and usual help!
Chargé de projet informatique et technologique
Service des technologies de l'information
Université du Québec à Chicoutimi
555, boul. de l'Université
Chicoutimi (Québec) G7H 2B1
Mathieu_Perron at uqac.ca<mailto:Mathieu_Perron at uqac.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Eprints-tech