Dspace 7 Installation On Windows 10 File

Click to Erase Colors Instantly - No Watermark

Dspace 7 Installation On Windows 10 File

Installing DSpace 7 on Windows 10 involves setting up a backend (REST API) and a frontend (Angular UI). It requires at least 8–12 GB of RAM for a stable experience. LYRASIS Wiki 1. Install Prerequisites

Ensure these specific versions are installed and added to your System Environment Variables Java JDK 11 or 17 : Required for the backend. Set to your JDK path. Apache Maven 3.5.4+ : Used to build the source code. Add the folder to your Path. Apache Ant 1.10.x+ : Used for the final installation step. PostgreSQL 12–17 : The primary database. Apache Solr 8.11.1+ : Now installed separately from DSpace. Apache Tomcat 9 : The servlet engine for the backend. Node.js & Yarn : Required for building the frontend. LYRASIS Wiki 2. Database Setup or the command line, perform the following: Create User with a password of your choice. Create Database , owned by the user, with Enable pgcrypto : Run the command CREATE EXTENSION pgcrypto; on your new database. LYRASIS Wiki 3. Install Backend (REST API) Download Source DSpace 7 source code and unzip it. dspace/config/local.cfg.EXAMPLE and update your database credentials and dspace.dir : Open a command prompt in the source folder and run mvn package : Navigate to dspace/target/dspace-installer ant fresh_install : Copy the folder from your installation directory (e.g., C:/dspace/webapps/server ) to Tomcat’s Spoken Tutorial 4. Install Frontend (Angular UI) Download Frontend : Unzip the dspace-angular Install Dependencies yarn install in the frontend directory. config/config.prod.yml and set the REST API host and port (typically localhost:8080 yarn build:prod : Start the UI using file for Windows compatibility. 5. Finalization Admin Account : Create your first administrator by running C:/dspace/bin/dspace create-administrator Verification : Access the backend at

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 dspace 7 installation on windows 10

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


Step 11: Running DSpace as a Windows Service (Optional but Recommended)

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).

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.


Phase 1: Prerequisites Installation

Before touching DSpace code, the Windows 10 environment must be prepared.

Required Software:

6.1 Create the DSpace installation directory

DSpace will be installed to a separate folder (not the source), e.g., C:\dspace.

mkdir C:\dspace

Step 2: Install PostgreSQL 14

DSpace 7 requires PostgreSQL (not MySQL). Installing DSpace 7 on Windows 10 involves setting

  1. Download PostgreSQL 14 from enterprisedb.com.
  2. Run installer:
    • Installation directory: C:\PostgreSQL\14
    • Data directory: C:\PostgreSQL\data
    • Set password for postgres user (remember it: dspace is typical).
    • Port: 5432 (default)
  3. Add PostgreSQL bin directory to PATH: C:\PostgreSQL\14\bin
  4. Create a DSpace database and user:
    • Open SQL Shell (psql) or psql -U postgres
    • Run:
      CREATE USER dspace WITH PASSWORD 'dspace';
      CREATE DATABASE dspace OWNER dspace;
      GRANT ALL PRIVILEGES ON DATABASE dspace TO dspace;
      
  5. Verify: psql -U dspace -d dspace -h localhost connects successfully.

Solr

solr.server = http://localhost:8983/solr

Conclusion

You have successfully installed DSpace 7 on Windows 10. While the process is more complex than a Linux installation, following this guide carefully will get you a fully functional DSpace 7 repository with both REST API backend and Angular frontend running locally.

Next steps:

DSpace 7 on Windows is ideal for development, testing, and small-scale internal repositories. For production, evaluate Windows Server with increased resources or Docker/WSL2 integration.

Happy repository building!

This guide follows a production-inspired setup using the recommended approach: Backend (REST API) + Frontend (Angular UI) , running locally. We'll use PostgreSQL, Tomcat 9, and Node.js.


User Story

As a new DSpace user or developer on Windows, I want a clear, verified installation guide specifically for Windows 10, So that I can set up a local DSpace instance without needing extensive Linux knowledge or troubleshooting obscure environment errors.