Run the following command in the SQL Query Tool on the newly created dspace database to enable the crypto extension: CREATE EXTENSION pgcrypto; Use code with caution. Step 2: Download and Build DSpace Backend
Open Command Prompt or PowerShell as an Administrator and navigate to the directory: cd C:\dspace-src Use code with caution.
: Download the DSpace 7 backend source code, modify local.cfg to match your database and installation directory, then run mvn package from the command line. dspace 7 installation on windows 10
Apache Solr 8.x , which must now be installed as a separate standalone service. Build Tools: Apache Maven 3.5.4+ and Apache Ant 1.10.x . Web Server: Apache Tomcat 9 for the backend.
Before installation, your system must meet specific hardware and software standards. A minimum of is recommended, as the frontend and backend together consume substantial memory. Run the following command in the SQL Query
Version 9.x (Note: Tomcat 10+ introduces Jakarta servlet namespaces which can cause compatibility issues with older DSpace 7 sub-versions). Node.js: LTS Version 16 or 18 (along with npm and yarn ). Git for Windows: For cloning the source code repositories. Step 1: Environment Variables and System Path Configuration
Common troubleshooting tips
Download and install Git to easily clone the DSpace source repositories. Step 1: Database Configuration Open and connect to your local PostgreSQL server.
JDK 11 (Oracle or OpenJDK). Set your JAVA_HOME environment variable to the JDK installation path. Database: PostgreSQL 11 or higher (v14.7 is commonly used). Build Tools: Apache Maven (v3.3+) and Apache Ant (v1.10+). Servlet Container: Apache Tomcat 9. Apache Solr 8
: Used to compile the DSpace backend source code. Download the binary zip from the Apache Maven Project.
Once the Maven build succeeds ( BUILD SUCCESS ), a secondary installer package is created. Navigate to the build directory: cd C:\src\dspace-source\dspace\target\dspace-installer Use code with caution.