[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Re: 10_core.pl regeneration. HElP
- Subject: [EP-tech] Re: 10_core.pl regeneration. HElP
- From: tdb2 at ecs.soton.ac.uk (Tim Brody)
- Date: Fri, 11 May 2012 10:49:37 +0100
- In-reply-to: <CABMjc14cpK34MUNRZQZDw7KtY-oNMjND5FadK=aZfqdW5eEBmw@mail.gmail.com>
- References: <CABMjc14cpK34MUNRZQZDw7KtY-oNMjND5FadK=aZfqdW5eEBmw@mail.gmail.com>
On Tue, 2012-05-08 at 15:32 -0600, ERI UB Belize wrote:
> I am testing out a backup method if eprints ever went down or files
> got corrupted.
> I want to copy over the version from the production server to a test
> server. Thereafter, I would have to modify the DNS entry.
> I was reading that this is done through the 10_core.pl
> Do I edit this file directly?
> In addition, in the 10_core.pl file it states:
> This file was created by bin/epadmin
> # You can regenerate this file by doing ./bin/epadmin config_core eriubpubs
> Where do I run those regeneration commands?
> What all would I have to edit so the test version and the production
> version would be accessed from different URL's?
You run that on the command line (as you did originally to create the
But if you are setting up a test server the best thing to do is to add a
file "11_test_core.pl" that overrides the hostname in 10_core.
Lastly, you will need to remove your static files to get rid of stale
links in HTML pages (archives/[archiveid]/html/*) and
do ./bin/generate_apacheconf --replace.
All the best,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: This is a digitally signed message part
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20120511/6b32f6e3/attachment.bin