Skip to main content

Posts

Showing posts with the label Java

How to Install Java 21 and Set Java Environment Variables System-Wide on Ubuntu

DSpace Administrator Guide DSpace 8.x → 10.x Migration Guide Fresh installation + database, assetstore, Solr, metadata, DOI, and frontend migration DSpace 8.x → 10.x PostgreSQL 16 Solr Angular UI Ubuntu ⚠ Migration warning: This guide uses a fresh DSpace 10.x installation + data migration , not an in-place upgrade. Before executing commands on a production server, confirm your paths, database names, service users, backup integrity, and custom configuration. What this guide covers Back up the DSpace 8.x database, assetstore, configuration, and Solr data. Create and prepare the DSpace 10.x PostgreSQL database. Restore the database and migrate the schema. Restore the assetstore with correct ownership and permissions. Handle Solr cores safely without copying old cores into configsets/ . Reindex Discovery and import OAI data. Review DOI metadata and metadata registries. Merge configuration changes and address Angular UI breaking changes. Restart services and perform f...

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