Access to Memory (AtoM) is an open-source web-based application that is specifically designed to aid institutions in managing digital archives. In this tutorial, we will be explaining a step-by-step process to install AtoM on Fedora Server Latest.
Before starting, you must fulfill the following prerequisites:
To begin with the installation process, you need to update the system to make sure you have all the latest packages installed.
Run the following command in the command line interface:
sudo dnf update
This command will start the update process, and it may take a few minutes to complete. Once the process is complete, move on to the next step.
AtoM requires several packages to be installed before it can be set up successfully. To make sure all necessary packages are installed, run the following command:
sudo dnf install -y apache php php-mysqlnd php-xml php-mbstring php-gd php-zip mysql-server git
After running the above command, wait for the system to finish installing the packages.
Composer is a PHP dependency manager that we need for AtoM to run properly. Run the following command to download Composer:
sudo curl -sS https://getcomposer.org/installer | php
This command will download and install Composer.
Once everything is set up correctly, and the required packages are installed, we can proceed to install AtoM.
Clone the GitHub repository of the latest version of AtoM using the following command:
sudo git clone https://github.com/artefactual/atom /var/www/html/atom
This command will download the AtoM package and save it to the directory /var/www/html/atom.
Before running the AtoM installer, we must install its dependencies. Navigate to the AtoM installation directory:
cd /var/www/html/atom
Now, use Composer to install the dependencies by running the following command:
sudo php composer.phar install --no-dev --prefer-source
This command will install all dependencies required for AtoM to run.
Now, we need to set up the database. First, we need to start the MySQL server with the following command:
sudo systemctl start mysqld.service
This command will start the MySQL server.
Next, we need to run the mysql_secure_installation script to set up the root password and to configure additional security settings:
sudo mysql_secure_installation
Now, we can create an AtoM database, create a user, and grant permissions using the following commands:
sudo mysql -u root -p
CREATE DATABASE atomdb;
CREATE USER atomuser@localhost IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON atomdb.* TO atomuser@localhost IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
EXIT;
Make sure to replace "password" with a more secure password.
With everything set up, we can run the AtoM installer by opening the following URL in your web browser:
http://localhost/atom/install/index.php
You will now be asked to provide details about the server you're installing AtoM on, as well as database information. Provide the details such as database user, password, and database name that you created earlier.
Once you've completed the installer, AtoM will be installed on your server successfully.
At this point, you can access AtoM by opening the following URL in your web browser:
You will be prompted to log in using the username and password you created during the AtoM installation process.
You have successfully installed AtoM on your Fedora Server Latest. With AtoM installed, you can now begin managing digital archives with ease.
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!