ArchivesSpace is an open source archival information management software. It is used by archivists, librarians, and museum professionals to store, manage and provide access to historical records and other cultural heritage materials. This tutorial will guide you through the steps of installing ArchivesSpace on FreeBSD Latest.
Before proceeding with the installation, you need to ensure that your system meets the following requirements:
You need to install some dependencies required by ArchivesSpace. Run the following command as root to install them:
pkg install -y ruby26 rubygem-bundler mariadb101-client mariadb101-server
Now, clone the ArchivesSpace repository using Git. Run the following command to do so:
git clone https://github.com/archivesspace/archivesspace.git
Enter the cloned directory and install the required gems by running the following command:
cd archivesspace
bundle install --path vendor/bundle
Copy the sample configuration files to create a new configuration file.
cp config.rb.sample config.rb
cp common/config/config-example.rb common/config/config.rb
cp backend/config/config-example.rb backend/config/config.rb
Edit config.rb
and set the following:
AppConfig[:db_url] = 'jdbc:mysql://localhost:3306/archivesspace?useUnicode=true&characterEncoding=UTF-8'
AppConfig[:db_username] = 'YOUR_DB_USERNAME'
AppConfig[:db_password] = 'YOUR_DB_PASSWORD'
Then, edit the backend/config/config.rb
file and set the following:
AppConfig[:backend_url] = "http://localhost:8089"
BloomdClient.setup(AppConfig[:bloomd_url] || 'localhost', AppConfig[:bloomd_port] || 8673)
Create the ArchivesSpace database and a user with privileges to access it. Run the following commands:
mysql -u root -p
CREATE DATABASE archivesspace CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
GRANT ALL PRIVILEGES ON archivesspace.* TO 'YOUR_DB_USERNAME'@'localhost' IDENTIFIED BY 'YOUR_DB_PASSWORD';
Exit the MySQL shell.
Run the following command to initialize ArchivesSpace:
./scripts/setup.sh
To start ArchivesSpace, run the following command:
./scripts/launch.sh
You can now access the ArchivesSpace web interface by visiting http://localhost:8080
in your web browser.
In this tutorial, we have learned how to install ArchivesSpace on FreeBSD Latest. You can now start managing your archival records with ArchivesSpace. Happy archiving!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!