Dspace 7 Installation On Windows 10 May 2026
DSpace is the world’s leading open-source repository platform used by academic institutions, libraries, and research organizations to manage, preserve, and provide access to digital content. With the release of DSpace 7, the platform underwent a radical transformation, introducing a new user interface (REST API + Angular UI) and a simplified backend.
However, installing DSpace 7 on Windows 10 remains a challenge for many system administrators and developers because DSpace was originally designed for Unix-like environments (Linux, macOS). This guide will walk you through every required step—from installing prerequisites to running the Angular UI and REST API locally on Windows 10.
Note: This guide uses DSpace 7.6 (the latest stable release as of writing) and assumes you are installing in development mode for testing or local use. For production, adjust security and service settings accordingly.
Solution: Increase Node.js memory limit:
set NODE_OPTIONS=--max_old_space_size=8192
npm start
Installing DSpace 7 on Windows 10 requires patience and careful attention to path syntax, but it is entirely achievable. The new Angular-based UI and robust REST API make it a pleasure to use once running. This guide has walked you through every critical step – from setting up Java, PostgreSQL, and Maven to building both the backend and frontend, and finally deploying to Tomcat.
Remember: the DSpace community is active and helpful. If you encounter a Windows-specific error not covered here, search the DSpace mailing lists or GitHub issues. Now go build your digital repository!
Further resources:
Last updated: 2025 – tested with DSpace 7.6.1, Tomcat 9.0.85, JDK 11.0.22, PostgreSQL 15.6, Windows 10 Pro 22H2.
Installing DSpace 7 on Windows 10 is a multi-step process involving setting up a Java-based backend (REST API) and a Node.js-based frontend (User Interface). 1. System Requirements & Prerequisites
Before starting, ensure your Windows 10 machine meets these minimum requirements:
RAM: At least 8-12GB (4GB minimum, but performance will be poor). Storage: 20GB of free disk space. Java: JDK 11 or 17 (Open JDK or Oracle JDK). Build Tools: Apache Maven 3.3+ and Apache Ant 1.10+. Database: PostgreSQL 11+ with the pgcrypto extension.
Search Engine: Apache Solr 8.9+ (DSpace 7 requires Solr to be installed separately). Web Server: Apache Tomcat 9. Frontend Tools: Node.js v16 or 18 and Yarn. 2. Configure Environment Variables
You must add the following to your system's Environment Variables (System Properties > Advanced > Environment Variables):
JAVA_HOME: Path to your JDK folder (e.g., C:\Program Files\Java\jdk-11). ANT_HOME: Path to your Ant folder. MAVEN_HOME: Path to your Maven folder.
Path Variable: Add the bin directories for Java, Ant, Maven, and PostgreSQL to your system Path. 3. Database Setup (PostgreSQL) DSpace 7 Installation Guide for Windows 10 | PDF - Scribd
To install DSpace 7 on Windows 10, you must set up two distinct components: the Backend (REST API) and the Frontend (Angular User Interface). 1. Hardware & System Requirements Operating System: Windows 10 (64-bit recommended).
Memory (RAM): 8–12 GB minimum for a stable local environment (4 GB is the absolute bare minimum but prone to issues). Storage: 20 GB or more of disk space. 2. Prerequisite Software
Install and configure these core dependencies before attempting the DSpace installation:
Java JDK 11: Required for the backend. Set the JAVA_HOME environment variable to your JDK path (e.g., C:\Program Files\Java\jdk-11.0.x).
PostgreSQL 11+: DSpace uses this for its relational database. Ensure the pgcrypto extension is installed. Apache Tomcat 9: The servlet container for the backend.
Apache Solr 8.x: Essential for search functionality. Note that Solr must now be installed separately from DSpace.
Apache Maven 3.3+ & Apache Ant 1.10+: Tools used to build and install the DSpace code. Node.js & Yarn: Required for the Angular frontend. 3. Backend Installation Steps
Database Setup: Create a dspace user and database in PostgreSQL. Grant all privileges to the user and run CREATE EXTENSION pgcrypto;. dspace 7 installation on windows 10
Configuration: Rename local.cfg.EXAMPLE to local.cfg in your source directory and update the database credentials and the dspace.dir path (e.g., C:/dspace). Build & Install: Navigate to the source folder and run mvn package.
Go to dspace\target\dspace-installer and run ant fresh_install.
Deployment: Copy the server folder from your DSpace installation webapps directory to the Tomcat webapps folder. 4. Frontend Installation Steps
Download Source: Clone or download the dspace-angular repository.
Install Dependencies: Run yarn install in the frontend directory.
Configure Environment: Create a config.prod.yml (or similar for your version) and point the rest host to your local backend (typically localhost:8080/server).
Launch: For development, use yarn start. For a production-like local setup on Windows, use PM2 in cluster mode as required for Windows compatibility.
These video guides provide step-by-step visual walkthroughs for both the backend and frontend setup on Windows: DSpace Installation on Windows OS-English 3K views · 4 years ago YouTube · Spoken-Tutorial IIT Bombay Installation dspace 7.x version on Windows 10/11. 14K views · 3 years ago
YouTube · Hoang Loc Official Guitar Viet Nam and OpenSource
Installing DSpace 7 on Windows 10: A Step-by-Step Review
DSpace is a popular open-source digital repository software used by libraries, archives, and museums to preserve and provide access to digital content. The latest version, DSpace 7, offers a range of new features and improvements, including a modernized user interface, enhanced search functionality, and better support for linked data. In this review, we'll walk through the process of installing DSpace 7 on Windows 10, highlighting the requirements, challenges, and best practices to ensure a smooth installation.
System Requirements
Before starting the installation, ensure your Windows 10 machine meets the minimum system requirements:
Step 1: Install Required Software
To install DSpace 7, you'll need to install the required software components:
Step 2: Clone the DSpace 7 Repository
Open a command prompt or terminal and navigate to the directory where you want to install DSpace 7. Clone the DSpace 7 repository from GitHub using the following command:
git clone https://github.com/DSpace/DSpace.git
Step 3: Checkout the Release Tag
Checkout the latest release tag (e.g., dspace-7.0.0) using the following command:
git checkout dspace-7.0.0
Step 4: Build DSpace 7
Run the following command to build DSpace 7:
mvn clean package -DskipTests=true
This command may take several minutes to complete, depending on your machine's performance. Note: This guide uses DSpace 7
Step 5: Configure DSpace 7
After building DSpace 7, you'll need to configure it:
Step 6: Initialize the DSpace 7 Repository
Run the following command to initialize the DSpace 7 repository:
mvn exec:java -Dexec.mainClass="org.dspace.installer.DSpaceInstaller" -Dexec.args="--create-administrator --create-default-community"
Step 7: Start DSpace 7
Start the DSpace 7 server using the following command:
mvn jetty:run
Step 8: Access DSpace 7
Access your DSpace 7 repository by navigating to http://localhost:8080/dspace in your web browser. Log in with the administrator credentials you created earlier.
Challenges and Troubleshooting
During the installation process, you may encounter several challenges, including:
Best Practices and Recommendations
To ensure a smooth installation and ongoing maintenance of your DSpace 7 repository:
Conclusion
Installing DSpace 7 on Windows 10 requires careful attention to system requirements, software dependencies, and configuration settings. By following these steps and best practices, you can successfully install and maintain a DSpace 7 repository. While challenges may arise during the installation process, troubleshooting and resolving issues can help ensure a smooth and successful deployment. DSpace 7 offers a range of exciting features and improvements, making it an attractive choice for libraries, archives, and museums seeking to preserve and provide access to digital content.
Installing DSpace 7 on Windows 10 is a unique endeavor because the software is split into two distinct parts: a (Angular UI) and a (Java-based REST API)
. While most production instances run on UNIX-like systems, you can successfully set it up on Windows 10 for development or small-scale use. LYRASIS Wiki 1. The Modern Way: Docker on Windows
The recommended approach for most users on Windows 10 is using Docker Desktop
. This avoids the headache of manually installing and linking multiple services. LYRASIS Wiki Why it's easier
: It automatically bundles the database, Solr search index, REST API, and user interface. System Demand : You must allocate at least 6GB–8GB of RAM specifically to Docker for DSpace to run smoothly. Prerequisites : You only need to install Docker Desktop for Windows Google Groups 2. Manual Installation Prerequisites
If you choose a full manual installation, you'll need to manage a stack of specific software versions: www.unirepos.com : JDK 11 or 17 (OpenJDK or
: PostgreSQL (v11 through v17 depending on your DSpace 7 minor version). : Apache Solr 8.x or 9.x.
: In DSpace 7, Solr must be installed separately; it is no longer built-in. Build Tools : Apache Maven 3.5.4+ and Apache Ant 1.10.x+. Web Server : Apache Tomcat 9 or 10.1.x. LYRASIS Wiki 3. Key Challenges on Windows 10 1 Minimum System requirements for DSpace installation Solution: Increase Node
Installing DSpace 7 on Windows 10 is a complex process because the platform has transitioned to a modern, decoupled architecture. Unlike previous versions, DSpace 7 consists of two distinct parts: a Java-based REST API (backend) and an Angular-based User Interface (frontend).
While DSpace is natively designed for Linux environments, you can successfully run it on Windows 10 for development or testing purposes by following this structured guide. 🛠️ Prerequisites and System Requirements
Before starting, ensure your Windows 10 machine has at least 8GB of RAM (16GB recommended) and the following software installed: Java JDK 11 or 17: The backend runs on Java. Apache Maven 3.6+: Used to build the Java source code. PostgreSQL 11-15: The database engine. Apache Tomcat 9: The web server for the backend. Node.js (v16 or v18): Required for the Angular frontend. Yarn: Package manager for the frontend. Git for Windows: To clone the repositories. Solr 8.11: The search engine component. 1. Database Setup (PostgreSQL) Install PostgreSQL and open pgAdmin 4.
Create a new Login/Group Role named dspace with a password (e.g., dspace).
Create a new Database named dspace, owned by the dspace user. Enable the pgcrypto extension on the dspace database: Open Query Tool and run: CREATE EXTENSION pgcrypto; 2. Backend Installation (Server) Download and Configure
Download the DSpace 7 Server source code from GitHub or the official website. Extract the files to a directory like C:\dspace-src. Navigate to C:\dspace-src\dspace\config. Copy local.cfg.EXAMPLE and rename it to local.cfg.
Edit local.cfg with your database credentials and installation path: dspace.dir = C:/dspace db.url = jdbc:postgresql://localhost:5432/dspace dspace.server.url = http://localhost:8080/server dspace.ui.url = http://localhost:4000 Build the Backend Open Command Prompt as Administrator in C:\dspace-src. Run: mvn package
Once finished, navigate to C:\dspace-src\dspace\target\dspace-installer. Run: ant fresh_install
Note: You may need to install Apache Ant if not already present. 3. Configuring Apache Tomcat
Copy the contents of C:\dspace\webapps to your Tomcat webapps folder.
In Tomcat’s conf/server.xml, ensure the connector is set to UTF-8:
Start the Tomcat service. You should be able to access the API at http://localhost:8080/server. 4. Solr Search Engine Setup Download Solr 8.11.x and extract it.
Copy the DSpace Solr cores from C:\dspace\solr to your Solr server/solr/configsets directory. Start Solr: bin\solr.cmd start.
Create the DSpace cores (authority, oai, search, statistics) using the Solr admin interface or command line. 5. Frontend Installation (User Interface) Clone the dspace-angular repository.
Open a terminal in the folder and run: npm install (or yarn install). Create a config/config.prod.yml file. Set the rest connection settings to point to your backend: ssl: false, host: localhost, port: 8080, nameSpace: /server Build the UI: npm run build:prod. Start the UI: npm run serve:ssr. Access the interface at http://localhost:4000. 💡 Troubleshooting Tips
Memory Issues: If Maven or Node.js crashes, increase your heap size (e.g., set NODE_OPTIONS=--max_old_space_size=4096).
File Paths: Always use forward slashes / in local.cfg even on Windows to avoid escape character errors.
Administrator Rights: Always run your command prompts or PowerShell windows as an Administrator to prevent permission errors during the build.
If you'd like to dive deeper into a specific step, tell me if you need help with: Configuring HTTPS for local production testing Setting up Solr cores manually via the command line
Creating the first administrator account using the dspace CLI