Webtrees is an open-source genealogy software that enables you to create your family tree and share it with your friends and family. In this tutorial, we will demonstrate step-by-step how to install Webtrees on Kali Linux Latest.
First, we need to download the latest version of Webtrees from their official website. You can either download it using your web browser or use wget command in your terminal.
wget https://github.com/fisharebest/webtrees/releases/download/2.0.4/webtrees-2.0.4.tgz
After downloading Webtrees, navigate to the directory where the .tgz file was downloaded. Extract the contents of the file using the following command.
tar -xvf webtrees-2.0.4.tgz
This command will create a new directory named webtrees-2.0.4.
Now we need to move the content of this directory to the document root of your web server. If you're using Apache, the document root is usually located at /var/www/html, and for Nginx it is /usr/share/nginx/html.
For example, to move the files to Apache document root:
sudo cp -R webtrees-2.0.4/* /var/www/html/
Now we need to set the correct permissions for the web server to access the files. This can be done using the following commands.
sudo chown -R www-data:www-data /var/www/html/
sudo chmod -R 755 /var/www/html/
Webtrees requires a database to store all its data. We will use MySQL/MariaDB for this tutorial.
Log in to your MySQL/MariaDB shell using the root user account.
mysql -u root -p
Enter your MySQL/MariaDB root password when prompted.
Once you're in the MySQL/MariaDB shell, create a new database named webtrees by typing the following command:
CREATE DATABASE webtrees;
Then create a new user named "webtreesuser" with a password
CREATE USER 'webtreesuser'@'localhost' IDENTIFIED BY 'yourpassword';
And grant this user full access to the webtrees database:
GRANT ALL PRIVILEGES ON webtrees.* TO 'webtreesuser'@'localhost';
Flush the changes to ensure that the privileges are saved.
FLUSH PRIVILEGES;
Finally, exit the MySQL/MariaDB shell.
EXIT;
Navigate to your Webtrees installation using your web browser, for example at http://localhost.
You will see a web interface that prompts you to enter your database details. Enter the following fields:
After you've entered these details, click the "Test database settings and continue" button. If everything works properly, you will see a message saying that the connection was successful.
In the next step, you will need to fill out some basic information required to complete the Webtrees installation. Enter your site name, admin username, and password. Finally, click the "Install" button.
Congratulations! You've successfully installed Webtrees on your Kali Linux machine. You can now start using Webtrees to build your family tree.
Webtrees is a powerful genealogy software that enables you to build and share your family tree easily. In this tutorial, we showed you how to install Webtrees on Kali Linux, step-by-step. Now that you know how to install Webtrees, you can start using it to create your family tree and share it with your loved ones.
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!