Dspace 7 Installation On Windows 10 95%

| Issue | Solution | |-------|----------| | Path separator | Use double backslashes \\ in config files | | Port conflicts | Change Tomcat port in conf/server.xml | | Solr not starting | Check solr.server URL and that Solr is running | | dspace command not found | Add %DSPACE_HOME%\bin to PATH and reopen cmd | | Build fails due to line endings | Set Git to core.autocrlf=false or use \n in scripts |


For persistent use, install Tomcat as a Windows service using tomcat9.exe //IS//Tomcat9 (from the Tomcat bin folder). Similarly, you can run the Angular UI as a service using pm2 (Node process manager). dspace 7 installation on windows 10

Install PM2:

npm install -g pm2
cd C:\dspace-angular
pm2 start "ng serve" --name dspace-ui
pm2 save
pm2 startup

This will auto-start the UI when Windows boots. | Issue | Solution | |-------|----------| | Path


Add/modify system variables:

| Variable | Example Value | |----------|---------------| | JAVA_HOME | C:\Program Files\Java\jdk-11 | | MAVEN_HOME | C:\apache-maven-3.8.x | | DSPACE_HOME | C:\dspace (installation target) | | PATH | Append: %JAVA_HOME%\bin;%MAVEN_HOME%\bin;%DSPACE_HOME%\bin | For persistent use, install Tomcat as a Windows


Run startup.bat from Tomcat's bin folder.