Skip to main content

How to install DSpace 9 on Ubuntu 24.04?

DSpace Installation Guide

Complete guide to installing and configuring DSpace 9.1 on Ubuntu 24.04 LTS

What is DSpace?

DSpace is an open-source digital repository and archival software that institutions, libraries and other organisations use to manage, preserve, and disseminate research papers, documents, datasets and other scholarly or institutional digital content.

It was initially developed in collaboration with MIT Libraries and Hewlett-Packard (HP) Labs in the early 2000s.

How to Install DSpace 9.1

Before installing DSpace, it's important to understand that it consists of two main components that work together to provide the complete functionality and user experience:

DSpace Architecture

Backend (Server API)
Frontend (User Interface)
Spring Boot · Java
Angular · TypeScript

Backend

It consists of a Server API ("server" webapp), built on Spring Boot. It is responsible for storing, retrieving, and manipulating digital objects, metadata, and repository configurations. It also provides a REST API that exposes the functionality and data of the repository to other applications or services. The backend is written in Java and uses PostgreSQL as the database management system.

Frontend

It consists of a user interface that is built on angular.io. It runs on the browser and interacts with the user. It is responsible for displaying, formatting, and updating the repository's data, content, and design. It also allows the user to perform actions such as browsing, searching, submitting, editing, and managing the repository. It is written in Angular, a modern framework for building dynamic and responsive web applications.

The backend and frontend are separated by a clear boundary, which makes them easier to develop, maintain, and customize independently. They communicate with each other through the REST API, which ensures a consistent and standardized interface between them.

Installation Guides

Follow these comprehensive guides to install and configure DSpace on your Ubuntu 24.04 system:

Prerequisites

Before diving into the installation process, make sure you have the following prerequisites in place:

For Backend

  • Linux (Operating System)
    • Ubuntu 24.04
  • Open Java Development Kit (JDK) or Oracle JDK
    • Java JDK 17
  • Apache Maven (Java build tool)
    • Maven 3.8.x or above
  • Apache Ant (Java build tool)
    • Ant 1.10.x or later
  • Relational Database (PostgreSQL)
    • PostgreSQL 14.x, 15.x, 16.x or 17.x (with pgcrypto installed)
  • Apache Solr (full-text index/search service)
    • Solr 9.x and above
  • Apache Tomcat (Servlet Engine)
    • Tomcat 10.1.x
  • Git (code version control)
  • (Optional) IP to City Database for Location-based Statistics

For Frontend

  • Linux (Operating System)
    • Ubuntu 24.04
  • Node.js
    • Node (v18.19+ or v20.x or v22.x)
  • PM2 (or another Process Manager for Node.js apps)
    • Optional, but recommended for Production

Comments

Popular posts from this blog

How to Install DSpace 9 Backend (Server API) on Ubuntu 24.04 LTS ?

Complete DSpace Installation Guide Installation of Backend Step 1: System Preparation i. Update & Upgrade System Packages Copy code sudo apt update && sudo apt upgrade -y Purpose: Update and upgrade system packages Explanation: This command updates the package lists and upgrades all installed packages to their latest versions. The -y flag automatically confirms the upgrade process. Step 2: Install Required Dependencies i. Core Tools Copy code sudo apt install wget curl git build-essential unzip zip -y Purpose: Install core development tools Explanation: This command installs essential tools needed for software development and system administration, including wget for downloading files, curl for transferring data, git for version control, and build tools for compiling software. ii. Java Development Kit (OpenJDK 17) Copy code sudo apt...

How to Install DSpace 9 Angular Frontend (User Interface) on Ubuntu 24.04 LTS ?

Installing the DSpace Angular Frontend This guide walks through the complete process of installing and configuring the DSpace Angular frontend for your DSpace repository. Step 1: Install Node.js Using NVM Official Documentation Reference: For complete and up-to-date instructions, please refer to the Official DSpace Installation Guide . DSpace requires Node.js version v18.19+, v20.x, or v22.x for optimal performance and compatibility. For best compatibility and stability, Node.js v22.18.0 (LTS) is recommended. For more details, visit the official Node.js download page . When selecting from the dropdown on the Node.js website, choose: Version: v22.18.0 (LTS) Operating System: Linux (if you're installing on Ubuntu or another Linux distro) Installation method: nvm (Node Version Manager) Package manager: npm (included with Node.js) Copy code sudo su Purpose: Switch...