EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #02584
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Running EPrints in VirtualBox Localhost
- To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Running EPrints in VirtualBox Localhost
- From: David McElroy <D.Mcelroy@uel.ac.uk>
- Date: Fri, 31 Jan 2014 15:28:40 +0000
Further to all that, (and I don't know how good practice this is!) I add a line in my windows host for each virtualbox I've got running. That way I can use a real looking/future url instead of IP. David McElroy Research Data Management Officer University of East London Docklands Library 020 8223 6467 -----Original Message----- From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Jan Ploski Sent: 31 January 2014 14:16 To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] Re: Running EPrints in VirtualBox Localhost Here's some tips: 1. Use eprints.localdomain instead of eprints.localhost - makes more sense. 2. Add "127.0.0.1 eprints.localdomain" to your /etc/hosts file, so that the command "ping eprints.localdomain" works as expected. If you want to access the server from outside VirtualBox (i.e. from the Windows host), you should probably use the IP address which is configured on your network interface and is accessible from the host instead of 127.0.0.1 (/sbin/ifconfig eth0). 3. Add $c->{host} = 'eprints.localdomain' and $c->{virtualhost} = '127.0.0.1' (or whatever) to your EPrints configuration, to tell EPrints what it should write to its generated Apache configuration file. 4. Run "bin/generate_apacheconf your-repository-name --replace" to overwrite the generated Apache config file with new settings. I assume you have a symlink from directory /etc/apache2/sites-enabled to this file to make Apache aware of its existence. 5. Restart Apache (apache2ctl restart). 6. If you want the name "eprints.localdomain" to resolve to an IP address on the host, you'll need to edit the Windows hosts file to match the Linux version. Andrew Beeken wrote: > Hello all! > > > I've recently started at the University of Lincoln as Research Information Services Developer and am currently trying to get to grips with EPrints. To test it out, I've set up a VirtualBox running Ubuntu on my machine and have run through the EPrints setup however I'm not sure how to actually access the site. I'm more accustomed to a Windows development environment and am suddenly feeling woefully out of my depth in Linux! The installation seemed to go okay and I thought I'd set the host to eprints.localhost, however when I try to access that FireFox on Ubuntu is determined to send me to www.eprints.localhost which is, of course, wrong. I'm sure I'm missing a step but if anyone could offer me pointers on getting test data set up for EPrints in a VirtualBox environment, I'd be incredibly grateful! > > > Best Regards, > > Andrew Beeken > > > Research Information Services Developer > > University of Lincoln > > University Library > > 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. > > *** 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/ This message has been scanned by the UEL anti-spam filters hosted by Websense
- References:
- [EP-tech] Running EPrints in VirtualBox Localhost
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Re: Running EPrints in VirtualBox Localhost
- From: Jan Ploski <jpl@plosquare.com>
- [EP-tech] Running EPrints in VirtualBox Localhost
- Prev by Date: [EP-tech] Re: Restored users do not sort properly
- Next by Date: [EP-tech] Re: Running EPrints in VirtualBox Localhost
- Previous by thread: [EP-tech] Re: Running EPrints in VirtualBox Localhost
- Next by thread: [EP-tech] Re: Running EPrints in VirtualBox Localhost
- Index(es):