[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Need to change the host name



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

On 21/01/2021 10:32, Sonu Yadav via Eprints-tech wrote:
> *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: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc852a2913e584db95bdd08d8bdf977f2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637468226446166176%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=K%2FeXY%2FimbNPqW21XHN3kMs6Texf3PQNP9VKasg5AFp4%3D&reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc852a2913e584db95bdd08d8bdf977f2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637468226446166176%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Fz%2F7YM2u8gPW1qn7F7cIiPxUnYkCNd9NpwZfGRaTFko%3D&reserved=0


-- 
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc852a2913e584db95bdd08d8bdf977f2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637468226446166176%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=0P9j4fVESslr1IqXiCFPBGUz2RDCXme562IrWYr%2F6s0%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210121/ca6b779a/attachment.html