EPrints Technical Mailing List Archive
Message: #06175
< 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
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Issue Installing package
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- Date: Thu, 19 Jan 2017 14:51:09 +0000
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 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
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. |
- References:
- [EP-tech] Issue Installing package
- From: Adam Field <Adam.Field@jisc.ac.uk>
- [EP-tech] Issue Installing package
- Prev by Date: [EP-tech] Issue Installing package
- Next by Date: [EP-tech] Random error help...
- Previous by thread: [EP-tech] Issue Installing package
- Next by thread: Re: [EP-tech] Issue Installing package
- Index(es):