Tutorial: How to install Genea.app on Fedora Server Latest

Genea.app is a self-hosted genealogy website builder that allows you to create, edit, and share family trees with your loved ones. In this tutorial, we'll show you how to install Genea.app on a Fedora Server Latest using the command line.

Prerequisites

Before we begin, make sure you have the following:

Step 1: Update the system

First, let's start by updating the system to ensure it's running the latest packages and security updates. Open a terminal or SSH session and run the following commands:

sudo dnf clean all
sudo dnf update

Step 2: Install Required Dependencies

Next, we need to install the required dependencies for Genea.app. Run the following commands to install the packages:

sudo dnf install rh-nodejs14 nodejs-npm mariadb mariadb-server httpd mod_ssl -y
sudo systemctl start mariadb
sudo systemctl enable mariadb

Step 3: Set Up MariaDB

MariaDB is a relational database management system that we'll use to store Genea.app's data. Follow these steps to set up your database:

  1. Log into MariaDB using the following command:

    sudo mysql -u root
    
  2. Create a new database by running the following command:

    CREATE DATABASE genea CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
    
  3. Create a new database user with the following command:

    GRANT ALL PRIVILEGES ON genea.* TO 'genea'@'localhost' IDENTIFIED BY 'your_password';
    

    Replace "your_password" with a secure password.

  4. Exit the MariaDB shell by running the following command:

    exit;
    

Step 4: Install Genea.app

The next step is to download and install Genea.app. Follow these steps:

  1. Download Genea.app using the following command:

    curl -sS https://get.genea.app -o genea-installer.sh
    
  2. Run the installation script with the following command:

    sudo sh genea-installer.sh
    

    The installer will prompt you for your MariaDB database details, including the database name, username, and password. Enter the details you created in Step 3.

  3. Wait for the installation to complete. Once it's done, you should see a success message.

Step 5: Set Up Apache

Genea.app requires Apache webserver to run. Follow these steps to configure Apache:

  1. Enable and start the Apache service by running the following commands:

    sudo systemctl enable httpd
    sudo systemctl start httpd
    
  2. Create a new virtual host configuration file with the following command:

    sudo nano /etc/httpd/conf.d/genea.conf
    
  3. Add the following configuration to the file:

    <VirtualHost *:80>
      ServerName your_domain.com
      ServerAlias www.your_domain.com
    
      DocumentRoot /opt/genea/public
      <Directory "/opt/genea/public">
        Require all granted
        AllowOverride all
      </Directory>
    </VirtualHost>
    

    Replace "your_domain.com" with your domain name or IP address.

  4. Save and exit the file.

Step 6: Set Up SSL

To secure the connection to Genea.app, we'll set up SSL using Let's Encrypt. Follow these steps to install Let's Encrypt SSL:

  1. Install the Certbot package by running the following command:

    sudo dnf install certbot python3-certbot-apache
    
  2. Run the following command to generate the SSL certificate:

    sudo certbot --apache --agree-tos --email your_email@example.com -d your_domain.com -d www.your_domain.com
    

    Replace "your_email@example.com" with your email address and "your_domain.com" with your domain name or IP address.

  3. Follow the on-screen instructions to complete the installation.

Once you've completed these steps, you should be able to access Genea.app by visiting your domain name in a web browser.

Congratulations! You have successfully installed Genea.app on a Fedora Server Latest.

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!