EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #06181


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

Re: [EP-tech] Issue Installing package


I’m no longer empowered to give the official line on all things EPrints J

 

If everyone looks at what they’re running on, and contributes to that table, we can create a community consensus.

 

isc

Adam Field
SHERPA services analyst developer

 

 

From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Andrew Beeken <anbeeken@lincoln.ac.uk>
Reply-To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Date: Thursday, 19 January 2017 15:31
To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Subject: Re: [EP-tech] Issue Installing package

 

Thanks Adam,

 

As this is an issue that is likely to crop up here regarding keeping OS’s and software up to date, should the official line be that anything above 14.04 be avoided, would you say?

 

Andrew

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Adam Field
Sent: 19 January 2017 15:25
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Issue Installing package

 

Thanks, Andrew

 

                I’m going to fall back to Ubuntu 14.04 as it’s just a dev box, and I’ve been told that it all works OK on that.

 

                I’ve also created a table on the installation page on the wiki ( https://wiki.eprints.org/w/Category:Installation#Distribution_Notes ) where we can document distribution-specific issues and procedure.

 

 

 

sc

Adam Field
SHERPA services analyst developer

 

 

From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Andrew Beeken <anbeeken@lincoln.ac.uk>
Reply-To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Date: Thursday, 19 January 2017 14:51
To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Subject: Re: [EP-tech] Issue Installing package

 

Hi Adam!

 

This is an issue that’s been occurring for me in the latest version of Ubuntu since last October. Christer Enkvist got back to me with a workaround which involves creating a fake entry for apache2-mpm-prefork but it would strike me that this isn’t really something that you should need to do!

 

On top of that it would also appear that the latest Ubuntu doesn’t have Apache installed as standard (something I think it always has, but apologies if I’m mistaken here) and I’ve also today just noticed that it’s not happy with the root user on MySQL having an empty password (something I often do on local dev machines for brevity – I do know it’s not something to do in a live or staging environment ;) )

 

I’ve been logging my process while I’ve been working with this and it is thus (including the section regarding faking apache2-mpm-prefork):

 

·         Install Ubuntu

·         Install Apache

o    sudo apt-get update

o    sudo apt-get install apache2

·         Install PHP

o    sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql

·         Update Ubuntu Sources list - /etc/apt/sources.list

o    deb http://deb.eprints.org/ stable/

o    deb-src http://deb.eprints.org/ source/

·         Create a fake entry for apache2-mpm-prefork

o    sudo apt-get install -y equivs

o    sudo equivs-control apache2-mpm-prefork

o    Edit the resulting file:

·   Change Package: <package name; defaults to equivs-dummy>

·   To Package: apache2-mpm-prefork

o    sudo equivs-build apache2-mpm-prefork

o    sudo dpkg -i apache2-mpm-prefork_1.0_all.deb

·         Install EPrints

o    sudo apt-get update

o    sudo apt-get install eprints

·   NOTE: YOU MUST INCLUDE A PASSWORD FOR THE ROOT DB USER

·         Edit /etc/hosts

o    127.0.0.1 <myeprints>

·   REPLACE <myeprints> WITH THE HOSTNAME OF YOUR REPOSITORY

·         Set up your repository

o    sudo su - eprints

o    bin/epadmin create

·   Follow the instructions - don't forget your host name!

·         Exit back to the normal user

·         Enable EPrints and restart apache

o    sudo a2ensite eprints

o    sudo service apache2 restart

·         Visit your site in your web browser!

 

Hope this helps! Let me know if you get to the bottom of why the package installer is throwing the error!

Andrew

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Adam Field
Sent: 19 January 2017 14:32
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Issue Installing package

 

Hi

 

                In lubunty 16.10, an apt-get install fives me:

 

W: The repository 'http://deb.eprints.org stable/ Release' does not have a Release file.

N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.

N: See apt-secure(8) manpage for repository creation and user configuration details.

 

 

                Any ideas whether there’s a current issue with deb.eprints.org?

 

Cheers

 

c

Adam Field
SHERPA services analyst developer

 


Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.


Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.


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: http://www.lincoln.ac.uk/legal.