How to Install ArchivesSpace on Ubuntu Server Latest
This tutorial will guide you through the process of installing ArchivesSpace on Ubuntu Server.
Prerequisites
Before you begin, make sure you have the following:
- Ubuntu Server latest version (you can download it from https://ubuntu.com/download/server)
- Java 8 or above installed on your server
- At least 2GB RAM available
Step 1: Download and extract ArchivesSpace
- Go to https://archivesspace.org/ and click on the "Download" button.
- Choose the latest version of ArchivesSpace and download the
.zipfile. - Transfer the downloaded
.zipfile to your Ubuntu Server (you can usescpcommand to transfer the file to your server). - Extract the file to
/optdirectory using the command below:
sudo unzip archivesspace-vX.X.X.zip -d /opt
Step 2: Install PostgreSQL
- Install PostgreSQL using the command below:
sudo apt-get update
sudo apt-get install postgresql postgresql-contrib
- Create a new PostgreSQL user and database for ArchivesSpace:
sudo -u postgres createuser archivesspace -P
sudo -u postgres createdb -O archivesspace archivesspace
Step 3: Configure ArchivesSpace
- Copy the configuration file template to the ArchivesSpace configuration directory:
sudo cp /opt/archivesspace/config/config-template.rb /opt/archivesspace/config/config.rb
- Open the configuration file using your preferred text editor:
sudo nano /opt/archivesspace/config/config.rb
- Update the values for the following configurations:
AppConfig[:backend_url]: set this topostgres://archivesspace:password@localhost:5432/archivesspacewherepasswordis the password that you set for thearchivesspaceuser during PostgreSQL installation.AppConfig[:public_url_root]: set this to the URL where you will access ArchivesSpace. Example:http://example.com:8080/AppConfig[:solr_url]: set this tohttp://localhost:8983/solr/archivesspace
- Save and close the configuration file by pressing
CTRL + X, followed byyandENTER.
Step 4: Start ArchivesSpace
- Change directory to the ArchivesSpace installation directory:
cd /opt/archivesspace
- Run the setup script:
sudo scripts/setup.sh
- Start ArchivesSpace using the command below:
sudo /opt/archivesspace/archivesspace.sh start
- Access ArchivesSpace using your web browser by navigating to the URL that you set for
AppConfig[:public_url_root]in step 3.
Conclusion
In this tutorial, you learned how to install ArchivesSpace on Ubuntu Server. Now you can start exploring ArchivesSpace to manage your archives efficiently.