I have successfully installed DSpace 7.5 in the AWS Ubuntu instance

I have followed the below mention things:
###############################
IN   local.cfg file
*after edit this file restart the tomcat server*
###############################
dspace.server.url = http://IP:8080/server
dspace.ui.url = http://IP:4000




###############################
###############################
IN config.prod.yml
after edit  the below lines and then run again the build command 
*                        yarn run build:prod*
###############################

ui:
  ssl: false
  host: 0.0.0.0
  port: 4000
.......

# The REST API server settings
# NOTE: these settings define which (publicly available) REST API to use. 
They are usually
# 'synced' with the 'dspace.server.url' setting in your backend's local.cfg.
rest:
  ssl: false
  host: IP
  port: 8080
  # NOTE: Space is capitalized because 'namespace' is a reserved string in 
TypeScript
  nameSpace: /server




###############################
###############################
dspace-ui.json
after edit the below lines then run 
pm2 start dspace-ui.json
###############################
   "DSPACE_REST_HOST": "IP",
   "DSPACE_REST_PORT": "8080",
   "DSPACE_REST_NAMESPACE": "/server"
###############################


Thanks,
Abid Fakhre Alam
On Friday, February 10, 2023 at 6:42:29 PM UTC+5:30 Mohammad S. AlMutairi 
wrote:

> Stop Nginx or Apache and try:
>
>
> # In local.cfg or dspace.cfg
> dspace.server.url = http://52.15.74.25:8080/server
> dspace.ui.url =  http://52.15.74.25
>
>
> # In config.prod.yml
> ui:
>   ssl: false
>   host: Server-IP (Server Private IP)
>
>   port: 80
>
> rest:
>   ssl: false
>   host: 52.15.74.25
>
>   port: 8080
>   nameSpace: /server
>
> 1) yarn test:rest
> 2) yarn start:prod
> 3) Access DSpace at http://myIP
>
> On Friday, February 10, 2023 at 2:58:35 PM UTC+3 AFA wrote:
>
>> I try but it UI is not opening but back-end is working fine
>>
>>
>> $ ts-node --project ./tsconfig.ts-node.json scripts/test-rest.ts
>> Building production app config
>> Overriding app config with /opt/dspace-ui/config/config.yml
>> Overriding app config with /opt/dspace-ui/config/config.prod.yml
>> ...Testing connection to REST API at http://52.15.74.25:8080/server/api.
>> ..
>>
>>
>> RESPONSE: 200
>>
>> Checking JSON returned for validity...
>>         "dspaceVersion" = DSpace 7.4
>>         "dspaceUI" = http://52.15.74.25:80
>>         "dspaceServer" = http://52.15.74.25:8080/server
>>
>>         "dspaceServer" property matches UI's "rest" config? true
>>         Does "/api" endpoint have HAL links ("_links" section)? true
>> Done in 3.40s.
>>
>>
>> On Friday, February 10, 2023 at 4:36:43 AM UTC+5:30 Mohammad S. AlMutairi 
>> wrote:
>>
>>> On Wednesday, February 8, 2023 at 4:02:52 PM UTC+3 AFA wrote:
>>> *I install the DSpace 7.4  Backend successfully in AWS ubuntu 22.04 
>>> server and It is accessible through MYIP:8080/server*
>>>
>>> *and I install the UI also and I did the test run it is also successful 
>>> but I unable to access it through myIP:4000*
>>>
>>> *then it is accessible by myIP:80 but it through 500 error, Please help 
>>> me to solve this issue*
>>> You don't need a web server or a reverse proxy for this unrecommended or 
>>> unsupported configuration. If you have to have it you can stop the 
>>> webserver or disable it and change your configs as you see it below. (For 
>>> this to work you must have dspace version 7.3 or above).
>>>
>>> # In local.cfg or dspace.cfg
>>> dspace.server.url = http://myIP:8080/server
>>> dspace.ui.url =  http://myIP
>>>
>>> # In config.prod.yml
>>> ui:
>>>   ssl: false
>>>   host: myIP
>>>   port: 80
>>>
>>> rest:
>>>   ssl: false
>>>   host: myIP
>>>   port: 8080
>>>   nameSpace: /server
>>>
>>> 1) yarn test:rest
>>> 2) yarn start:prod
>>> 3) Access DSpace at http://myIP
>>>
>>> BR
>>>
>>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/c3312be5-51e7-46de-bd54-9eaa0ea04c9en%40googlegroups.com.

Reply via email to