Access to Memory (AtoM) is an open-source software designed to manage archival descriptions and digital objects in a web-based platform. In this tutorial, we will guide you through the installation process of AtoM on Fedora CoreOS Latest.
Before installing AtoM, update your system to make sure all software packages are up-to-date.
sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo yum update -y
To run AtoM, you need to have Apache, PHP and MariaDB installed on the server.
sudo yum install httpd mariadb-server php php-mysqlnd php-xml -y
AtoM requires some additional packages to be installed on your system.
sudo yum install git zip unzip php-gd php-common php-intl php-mbstring php-bcmath php-zip -y
Go to the AtoM website (https://www.accesstomemory.org/) and download the latest stable version of the software.
wget https://github.com/artefactual/atom/releases/download/2.6.1/atom-2.6.1.tar.gz
Once the download is complete, extract the archive to the Apache root directory.
sudo tar xvfz atom-2.6.1.tar.gz -C /var/www/html/
Then change the ownership of the files to the Apache user.
sudo chown -R apache.apache /var/www/html/atom
Login to MariaDB server and create a new database for AtoM.
sudo mysql -u root
MariaDB> CREATE DATABASE atom;
MariaDB> GRANT ALL PRIVILEGES ON atom.* TO 'atomuser'@'localhost' IDENTIFIED BY 'password';
MariaDB> FLUSH PRIVILEGES;
MariaDB> exit;
Create a new virtual host configuration for AtoM in Apache.
sudo nano /etc/httpd/conf.d/atom.conf
Add the following configuration to the file. Replace "your-domain.com" with your domain name or IP address.
<VirtualHost *:80>
ServerAdmin admin@your-domain.com
ServerName your-domain.com
DocumentRoot /var/www/html/atom
<Directory /var/www/html/atom>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/httpd/atom_error.log
CustomLog /var/log/httpd/atom_access.log combined
</VirtualHost>
Save and close the file.
Copy the sample configuration file to the main configuration file.
cd /var/www/html/atom
sudo cp config/sample_config.yml config/config.yml
Then edit the configuration file using your favorite text editor.
sudo nano config/config.yml
Update the following parameters with the database details you have created in Step 5.
database_name: 'atom'
database_user: 'atomuser'
database_password: 'password'
database_host: 'localhost'
Save and close the file.
Restart the Apache and MySQL service to apply the changes.
sudo systemctl restart httpd
sudo systemctl restart mariadb
Open your favorite web browser and navigate to http://your-domain.com. You should see the AtoM installation page. Follow the instructions on the screen to complete the installation process.
In this tutorial, we have shown you how to install AtoM on Fedora CoreOS Latest. Now you can manage archival descriptions and digital objects in a web-based platform with AtoM.
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!