EPrints Technical Mailing List Archive
Message: #08460
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Need to change the host name
- To: <eprints-tech@ecs.soton.ac.uk>, Sonu Yadav <yvsonu1987@gmail.com>
- Subject: Re: [EP-tech] Need to change the host name
- From: David R Newman <drn@ecs.soton.ac.uk>
- Date: Thu, 21 Jan 2021 10:44:01 +0000
Hi Sonu,
The hostname is set in EPRINTS_PATH/archives/ARCHIVE_NAME/cfg/cfg.d/10_core.pl where EPRINTS_PATH Is probably /usr/share/eprints or /opt/eprints3/ and ARCHIVE_NAME is whatever you set it to when answering the first question of "epadmin create". I think you should just be able to change $c->{host} to the IP address but I cannot say I have tried to do that recently. Once you have updated this setting you will need to run the following command (as the eprints user):
EPRINTS_PATH/bin/generate_apacheconf --system --replace
and then restart or at least reload the webserver:
On RedHat/CentOS/Fedora (as root): apachectl restart
On Ubuntu/Debian: sudo service apache2 restart
Regards
David Newman
CAUTION: This e-mail originated outside the University of Southampton.I successfully install the Eprints on AWS cloud and it going well.But during installation, I put an example domain address in place of a hostname but I should have entered the IP address.because I'm not able to log in on eprints because it direct to domain place page.
So, How to I change the hostname to the IP address.
*** 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/
- References:
- [EP-tech] Need to change the host name
- From: Sonu Yadav <yvsonu1987@gmail.com>
- [EP-tech] Need to change the host name
- Prev by Date: [EP-tech] Need to change the host name
- Next by Date: [EP-tech] ORCID integration
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):