EPrints Technical Mailing List Archive

Message: #06042


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Installing under CentOS


Hi,

This might help when trying to install EPrints on CentOS 7:

# Installs the EPEL repository
rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm; \

# Then you might need to do:
yum -y update

# Then install the dependencies (customise this to your server)
yum install httpd perl perl-Unicode-String perl-URI perl-libwww-perl expect perl-JSON \
perl-XML-SAX perl-IO-Socket-SSL mod_perl ImageMagick texlive-latex perl-Time-HiRes perl-MIME-Lite  \
perl-Digest-SHA perl-Apache-DBI elinks poppler-utils perl-DBI perl-DBD-MySQL perl.x86_64 chkconfig \
perl-CGI xpdf libxml2 libxslt perl-XML-LibXML perl-XML-LibXSLT mysql 

Finally, make sure your apache instance is running under the eprints user and group, otherwise you get a load of messages about EPrints perl libraries not being found.

Hope this helps!

Liam

________________________________________
From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Alan.Stiles <alan.stiles@open.ac.uk>
Sent: 19 October 2016 13:48
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Installing under CentOS

Don't know if it helps:
http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: 19 October 2016 12:18
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Installing under CentOS

I've got EPEL sorted and Mod Perl working: https://support.rackspace.com/how-to/install-epel-and-additional-repositories-on-centos-and-red-hat/

But Apache::DBI is nowhere to be found! Have tried a couple of instructions to install it through CPAN which seems to work, but eprints still won't see it...

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Alan.Stiles
Sent: 19 October 2016 12:09
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Installing under CentOS

I think I needed to add the "Extra Packages Enterprise Linux 7 x86_64" repository to the /etc/yum.repos.d/epel.conf - I sourced it from one of our local IT servers though, so I don't know how you'd find it on the internet.


-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: 19 October 2016 11:52
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Installing under CentOS

Okay, so I've got mod_Perl working now; hitting another roadblock when installing eprints in the form of Apache::DBI.

I've tried the instructions here: http://www.java-samples.com/showtutorial.php?tutorialid=1678 to no avail (well, the module seems to install but EPrints is still throwing the error!)

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: 19 October 2016 11:26
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Installing under CentOS

Sorry, a link to support that would have been good! https://huntingbears.nl/2013/12/17/no-mod_perl-in-rhel-7-and-centos-7/

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: 19 October 2016 10:57
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Installing under CentOS

Okay!

So, I've started following the instructions for dependencies and I'm hitting a roadblock at the mod_perl installation:

No package mod_perl available

Any thoughts?

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: 18 October 2016 09:59
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Installing under CentOS

Appropriate: https://xkcd.com/1742/

Get Outlook for Android<https://aka.ms/ghei36>



On Mon, Oct 17, 2016 at 5:17 PM +0100, "Lizz Jennings" <E.Jennings@bath.ac.uk<mailto:E.Jennings@bath.ac.uk>> wrote:

I've always used the RPM files, but it's been several years since I installed from nothing using them.  I've done upgrades more recently, but obviously they've not had the same dependency issues to resolve.

Lizz

--
Lizz Jennings BA MSc ACLIP MCLIP (Revalidated 2015) Research Data Librarian (Systems) The Library 4.10, University of Bath, Bath, BA2 7AY UK Ext. 3570 (External 01225 383570) E.Jennings@bath.ac.uk<mailto:E.Jennings@bath.ac.uk>
Research Data Management: http://www.bath.ac.uk/research/data


From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: 17 October 2016 16:53
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Installing under CentOS

Haha! Well, as someone who is only really just used to doing things in Ubuntu this is ALL alien to me. Give me a Windows .exe and I'm right at home! ;)

From: eprints-tech-bounces@ecs.soton.ac.uk<mailto:eprints-tech-bounces@ecs.soton.ac.uk> [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Brian D. Gregg
Sent: 17 October 2016 16:46
To: eprints-tech@ecs.soton.ac.uk<mailto:eprints-tech@ecs.soton.ac.uk>
Subject: Re: [EP-tech] Installing under CentOS

Andrew,

We don't use the RPM's at all... We've been using EPrints since 1.x and have become accustomed to just using the source tar.gz file by default.  Call us old school, but we've never moved over to using the RPMs.  :)

-Brian.

From: eprints-tech-bounces@ecs.soton.ac.uk<mailto:eprints-tech-bounces@ecs.soton.ac.uk> [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: Monday, October 17, 2016 11:27 AM
To: eprints-tech@ecs.soton.ac.uk<mailto:eprints-tech@ecs.soton.ac.uk>
Subject: Re: [EP-tech] Installing under CentOS

Thanks Brian,

That could be the ticket. I had been looking at the top link but I found a few instances where I was missing dependencies.

When you say you install from source, do you mean you get the .rpm file straight from eprints.org?

Andrew

From: eprints-tech-bounces@ecs.soton.ac.uk<mailto:eprints-tech-bounces@ecs.soton.ac.uk> [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Brian D. Gregg
Sent: 17 October 2016 16:12
To: eprints-tech@ecs.soton.ac.uk<mailto:eprints-tech@ecs.soton.ac.uk>
Subject: Re: [EP-tech] Installing under CentOS

Andrew,
Just curios if you've seen this page: MailScanner has detected a possible fraud attempt from "na01.safelinks.protection.outlook.com" claiming to be https://wiki.eprints.org/w/Installing_EPrints_3_on_RedHat_Enterprise_5<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FInstalling_EPrints_3_on_RedHat_Enterprise_5&data=01%7C01%7Cbdgregg%40pitt.edu%7C2fca371c49a94881fe8d08d3f6a30238%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1&sdata=IRoNYpnbe8H72k6ULq8p6or5iSNn4B4mOVo1IMJB%2BgE%3D&reserved=0> even though in the page it states "RedHat Enterprise/CentOS 7 (earlier versions may work)".
We tend to install from source and tend to follow this page (minus the GDOME): MailScanner has detected a possible fraud attempt from "na01.safelinks.protection.outlook.com" claiming to be https://wiki.eprints.org/w/Required_software<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FRequired_software&data=01%7C01%7Cbdgregg%40pitt.edu%7C2fca371c49a94881fe8d08d3f6a30238%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1&sdata=lIjOQRZw7z7uih60evSH1aMBHx5SBONQQlEPeGW1Auw%3D&reserved=0>
Hope this helps.
-Brian Gregg.

From: eprints-tech-bounces@ecs.soton.ac.uk<mailto:eprints-tech-bounces@ecs.soton.ac.uk> [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: Monday, October 17, 2016 10:55 AM
To: eprints-tech@ecs.soton.ac.uk<mailto:eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] Installing under CentOS

Hello all!

So, further to my pokings and proddings around over issues installing EPrints under Ubuntu 16 last week, I've been talking to our ICT team here regarding the direction they want to head. Ultimately we'll be looking at migrating our EPrints hosting to a RHEL server so I am looking to set it up initially on a CentOS virtual machine for testing (mainly as we're going to have to do a lot of tearing down and rebuilding of setup and data due to some alterations that have been made on our EPrints install) and taking note of the process.

One of the things I'm finding, however, is that the instructions for setting EPrints up on CentOS don't stretch to version 7 and that there are a few different ones out there. I can't seem to find one that doesn't throw issues or warnings for me at some point so I was wondering if anyone had any ideas? I think my main issue is that the deb installer also brings down dependencies and sets up apache/mysql/php which I don't think the yum installation does (correct me if I'm wrong)?

Any advice would be grand!

Andrew

The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research.

The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.

Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.

The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: MailScanner has detected a possible fraud attempt from "na01.safelinks.protection.outlook.com" claiming to be http://lincoln.ac.uk/legal<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flincoln.ac.uk%2Flegal&data=01%7C01%7Cbdgregg%40pitt.edu%7C2fca371c49a94881fe8d08d3f6a30238%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1&sdata=nLEbjna5MrDgUyANa3enfJ2u0z5kbyQ1819vwgJm%2BwA%3D&reserved=0>.

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/