I have installed Dspace 8.0 in Ubuntu24 LTS . It is successfully installed and run in local host only. I have configured the local network following the user guide:
Open the Port 4000ufw is the default firewall configuration tool. Install ufw by applying the following command,
sudo apt install ufw
Apply the following command to open port 4000 and 8080.
sudo ufw allow 4000
sudo ufw allow 8080
sudo ufw enable
Network configuration for DSpaceFind the IP address of the computer where DSpace is installed. Apply the following commands to install net-tools software in Ubuntu and know the network details.
sudo apt install net-tools
ifconfig
Debian users can apply the following command to know the network details,
nmcli -p device show
Note down the details and add the IP address.
Open the DSpace configuration file,
sudo mousepad /dspace/config/local.cfg
Find the following lines and add the IP address/domain name instead of localhost.
dspace.ui.url = http://localhost:4000
Save and close the file.
Open the following configuration file (make sure the location of the file in your server) of the DSpace front end,
sudo mousepad /home/dspace/dspace-angular-dspace-8.0/config/config.prod.yml
Find the following piece of lines,
ssl: false
host: localhost
port: 4000
Change the hostname. Change localhost to the IP address/domain name.
ssl: false
host: your-ip-address
port: 4000
Save and close the file.
Enter into the dspace-angular config folder,
sudo su
cd /home/dspace/dspace-angular-dspace-8.0/config
Apply the following command to build the front end,
yarn run build:prod
Start the application using PM2. Apply the following command to start the service,
sudo su
pm2 start /home/dspace/dspace-angular-dspace-8.0/dspace-ui.json
Restart the Tomcat,
sudo systemctl restart tomcat10.service
Now I am unable to access it through other system with the public IP / domain name. Kindly provide the solution or step by step guide to configure the public IP / domain.