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.
Before we begin, make sure you have the following:
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
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
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:
Log into MariaDB using the following command:
sudo mysql -u root
Create a new database by running the following command:
CREATE DATABASE genea CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
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.
Exit the MariaDB shell by running the following command:
exit;
The next step is to download and install Genea.app. Follow these steps:
Download Genea.app using the following command:
curl -sS https://get.genea.app -o genea-installer.sh
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.
Wait for the installation to complete. Once it's done, you should see a success message.
Genea.app requires Apache webserver to run. Follow these steps to configure Apache:
Enable and start the Apache service by running the following commands:
sudo systemctl enable httpd
sudo systemctl start httpd
Create a new virtual host configuration file with the following command:
sudo nano /etc/httpd/conf.d/genea.conf
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.
Save and exit the file.
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:
Install the Certbot package by running the following command:
sudo dnf install certbot python3-certbot-apache
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.
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!