How to Install GeneWeb on Kali Linux

Introduction

GeneWeb is a genealogy software for Linux that allows you to create and manage your family tree. In this tutorial, we will explain the steps to install GeneWeb on Kali Linux.

Prerequisites

Before starting with the installation, make sure you have the following:

Step 1: Installing required packages

Open the terminal on your Kali Linux system and run the following command to update your system:

sudo apt-get update

After updating, run the following command to install required packages:

sudo apt-get install apache2 php7.3 cli unzip curl libfcgi-bin libfcgi-dev libsqlite3-dev

Step 2: Downloading GeneWeb

Visit the GeneWeb website at https://geneweb.tuxfamily.org/wiki/GeneWeb and go to the download page. Click on the download link for the latest version of GeneWeb.

Once the download is complete extract the downloaded archive using the following command:

unzip geneweb-vX.Y.Z.zip

Replace X.Y.Z with the version number of GeneWeb you have downloaded.

Step 3: Installing GeneWeb

Once the file is extracted. Move into the extracted directory by running the following command:

cd geneweb-vX.Y.Z

Now run the following command to install the GeneWeb:

./configure
make
sudo make install

Step 4: Configuring Apache Web server

To configure Apache web server run the following command:

sudo nano /etc/apache2/sites-available/geneweb.conf

Paste in the following lines:

<VirtualHost *:80>
     ServerAdmin admin@localhost
     DocumentRoot /usr/local/share/geneweb
     ServerName geneweb.example.com

     <Directory /usr/local/share/geneweb>
          Options FollowSymLinks
          AllowOverride None
          Require all granted
     </Directory>

     ErrorLog ${APACHE_LOG_DIR}/geneweb-error.log
     # Possible values include: debug, info, notice, warn, error, crit,
     # alert, emerg.
     LogLevel warn
     CustomLog ${APACHE_LOG_DIR}/geneweb-access.log combined
</VirtualHost>

Replace ServerName geneweb.example.com with your domain name.

Save the file by pressing Ctrl + X, followed by Y, and then Enter.

To enable the newly created site, run the following command:

sudo a2ensite geneweb

Finally, restart the Apache web server by running the following command:

sudo systemctl restart apache2

Step 5: Accessing GeneWeb

Open your web browser and visit the following URL:

http://localhost/gw

You should now see the GeneWeb web interface!

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!