Genea.app is a web-based genealogy software that allows users to build family trees, search for ancestors and relatives, and collaborate with other enthusiasts. In this tutorial, we will guide you through the steps to install Genea.app on FreeBSD using the command line interface.
Before we start the installation process, make sure you have access to a FreeBSD server with the latest updates installed. You will also need to have root or sudo privileges to execute the installation commands.
In order to run Genea.app on FreeBSD, we need to install some required packages including PHP, Apache, and MySQL. To do so, run the following commands in your terminal:
sudo pkg install apache24
sudo pkg install mysql57-server
sudo pkg install mod_php72 php72-mysqli php72-pdo_mysql
After installing the packages, start the Apache and MySQL services:
sudo service apache24 start
sudo service mysql-server start
First, navigate to the /usr/local/www/
directory and download Genea.app using the following command:
sudo git clone https://github.com/GeneaTeam/Genea.git
Next, change the ownership of the Genea
directory to the Apache user:
sudo chown -R www:www /usr/local/www/Genea
Finally, create a new Apache virtual host configuration file for Genea.app by running the following command:
sudo nano /usr/local/etc/apache24/Includes/Genea.conf
Add the following lines to the configuration file:
<VirtualHost *:80>
ServerAdmin webmaster@your-domain.com
DocumentRoot /usr/local/www/Genea/public
<Directory "/usr/local/www/Genea/public">
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/genea_error.log
CustomLog ${APACHE_LOG_DIR}/genea_access.log combined
</VirtualHost>
Save and close the file.
Create a new MySQL database and user for Genea.app by running the following commands:
mysql -u root -p
CREATE DATABASE genea_db;
CREATE USER 'genea_user'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON genea_db.* TO 'genea_user'@'localhost';
FLUSH PRIVILEGES;
exit
Make sure to replace genea_db
, genea_user
, and password
with your desired values.
Open your web browser and navigate to http://your-server-ip-address
. You will see the Genea.app installation page. Follow the on-screen instructions to complete the installation process.
During the installation process, you will be prompted to enter the database name, user, and password that you created in Step 3.
Congratulations! You have successfully installed Genea.app on your FreeBSD server. You can now start building your family tree and exploring your ancestry using this powerful genealogy software.
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!