Collective Access - Providence is a free and open-source collection management system used for managing and presenting cultural heritage and archival collections. In this tutorial, you will learn how to install Collective Access - Providence on MXLinux Latest.
Before we start with the installation process, let's first update the system to ensure all the packages are up to date. Run the following command on your terminal:
sudo apt update && sudo apt upgrade
Collective Access - Providence requires some additional packages to be installed on the system. Run the following command to install them:
sudo add-apt-repository universe
sudo apt install apache2 mysql-server php php-mysql php-gd php-common php-xml php-mbstring php-curl php-zip php-intl php-imagick imagemagick zip unzip git
Download the latest version of Collective Access - Providence from the official website using the following command:
wget https://github.com/collectiveaccess/providence/archive/master.zip
Extract the downloaded file using the following command:
unzip master.zip
Move the directory to the webroot directory using the following command:
sudo mv providence-master /var/www/html/providence
We need to create a MySQL database for Collective Access - Providence to function properly. Run the following commands to create a new database:
sudo mysql -u root -p
CREATE DATABASE providence;
CREATE USER 'providence'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON providence.* TO 'providence'@'localhost';
FLUSH PRIVILEGES;
EXIT;
Make sure to replace the password with a strong password of your choice.
All the files and directories in the webroot directory must be owned by the webserver user. Run the following commands to set the right permission:
sudo chown -R www-data:www-data /var/www/html/providence
sudo chmod -R 755 /var/www/html/providence
We need to configure Apache to recognize the directory as a web application. Open the following file:
sudo nano /etc/apache2/sites-available/providence.conf
Add the following content to the file:
<VirtualHost *:80>
ServerAdmin admin@example.com
DocumentRoot /var/www/html/providence/
ServerName example.com
ServerAlias www.example.com
<Directory /var/www/html/providence/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log combined
</VirtualHost>
Save and close the file.
Enable the site and required Apache modules using the following commands:
sudo a2ensite providence.conf
sudo a2enmod rewrite
sudo a2enmod headers
sudo systemctl restart apache2
Visit http://localhost/providence on your web browser to complete the installation process. Follow the on-screen instructions to complete the installation.
In this tutorial, you learned how to install Collective Access - Providence on MXLinux Latest. You are now ready to start managing your collections!
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!