10 - Dspace 7 Installation On Windows

Run the following command to initialize the DSpace 7 repository:

Download the "32-bit/64-bit Windows Service Installer" or the zip archive of . Install or extract it to C:\dspace-tools\tomcat . 4. PostgreSQL 11 or Higher PostgreSQL handles the repository data storage.

This comprehensive guide provides step-by-step instructions to install DSpace 7 on a Windows 10 machine. System Requirements and Prerequisites

Open your Windows System Environment Variables. Create a new system variable named JAVA_HOME and set its value to your JDK installation path (e.g., C:\Program Files\Java\jdk-11 ). Edit the Path variable and add %JAVA_HOME%\bin . 2. Apache Maven 3.6 or Higher Maven is used to compile the DSpace backend source code. Download the Apache Maven binary zip archive. Extract it to C:\dspace-tools\maven .

Clone the DSpace backend repository (or download the release zip file from GitHub): dspace 7 installation on windows 10

rest.cors.allowed-origins = http://localhost:4000

With the backend running, we now set up the Angular user interface. 1. Clone the Frontend Code

: Update the environment.prod.ts file to point to your local backend REST API (usually http://localhost:8080/server/api ).

Version 9 (Tomcat 10+ is currently not supported due to Jakarta servlet namespace changes). Run the following command to initialize the DSpace

This feature provides a comprehensive, step-by-step guide for installing DSpace 7 on a Windows 10 environment. It targets developers, librarians, and system administrators who prefer a Windows-based workflow. Unlike Linux-based installations, Windows requires specific configurations for PowerShell, environment variables, and service management. This feature bridges the documentation gap by offering a native Windows "Happy Path" installation guide.

Copy the server folder from C:\dspace\webapps\server into your Tomcat webapps directory:

We build DSpace from source (only way for Windows).

Install it using the default settings, ensuring NPM is included. 6. Git for Windows PostgreSQL 11 or Higher PostgreSQL handles the repository

Visit http://localhost:4000 to access the Angular user interface.

Edit local.cfg (use Notepad++ or VS Code). Change the following lines:

Copy the DSpace schema configuration folders from the DSpace source code (which we will download in the next phase) once available, or initialize Solr to run as a Windows service using tools like NSSM (Non-Sucking Service Manager). For a quick start, start Solr via Command Prompt: bin\solr.cmd start Use code with caution. Phase 3: Backend Installation (DSpace Server) 1. Download and Extract Source Code

Clone the DSpace repository (replace DSpace-7.x with the specific release version tag if desired, e.g., dspace-7.6 ): git clone -b dspace-7.6 https://github.com Use code with caution. Navigate into the cloned directory: cd DSpace Use code with caution. Create a local configuration file by copying the template: