How to Install Mayan EDMS on Fedora Server Latest

Mayan EDMS is an open-source document management system that allows you to store, manage, and share documents. In this tutorial, we will show you how to install Mayan EDMS on Fedora Server latest.

Prerequisites

Before you begin, make sure you have the following prerequisites:

Step 1: Create a Virtual Environment

First, create a Python virtual environment using the following command:

sudo dnf install python3-virtualenv
mkdir ~/venv
cd ~/venv
python3 -m virtualenv myenv

Step 2: Activate the Virtual Environment

Next, activate the virtual environment using the following command:

source ~/venv/myenv/bin/activate

Step 3: Install Mayan EDMS

Now, install Mayan EDMS using the following command:

pip install mayan-edms

Step 4: Create a MySQL Database

Create a MySQL database and user for Mayan EDMS using the following commands:

mysql -u root -p
CREATE DATABASE mayan;
CREATE USER 'mayan'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON mayan.* TO 'mayan'@'localhost';
FLUSH PRIVILEGES;
exit;

Make sure to replace password with a secure password of your choice.

Step 5: Configure Mayan EDMS

Create a Mayan EDMS configuration file using the following command:

mayan-edms.py initialsetup --configure

You will be prompted to enter the following settings:

Enter the full site URL (e.g. http://www.example.com): http://your-domain.com:80
Enter the timezone code of your location (e.g. Europe/Brussels): [UTC]
Enter the path to the directory where temporary files should be stored (e.g. /tmp): [/tmp/mayan-site-media]
Do you want to use a secure connection encryption (TLS/SSL)? (y/n): [n]
Enter the username for the superuser account: admin
Enter the email address for the superuser account: admin@example.com
Enter the password for the superuser account:
Re-enter the password for the superuser account:

Where your-domain.com is your domain name.

Step 6: Start the Server

Start the Mayan EDMS server using the following command:

mayan-edms.py runserver 0.0.0.0:8000

Step 7: Configure Apache

Finally, configure Apache to reverse proxy requests to the Mayan EDMS server. Create a virtual host configuration file using the following command:

sudo nano /etc/httpd/conf.d/mayan-edms.conf

And add the following content:

<VirtualHost *:80>
    ServerName your-domain.com
    ProxyPass / http://127.0.0.1:8000/
    ProxyPassReverse / http://127.0.0.1:8000/
</VirtualHost>

Make sure to replace your-domain.com with your actual domain name.

Save and close the file, and then restart Apache:

sudo systemctl restart httpd

You should now be able to access Mayan EDMS by visiting the following URL:

http://your-domain.com/

Conclusion

You have successfully installed Mayan EDMS on Fedora Server latest. You can now start using Mayan EDMS to store, manage, and share your documents. If you have any questions or issues, please refer to the Mayan EDMS documentation or seek help from their community.

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!