Webtrees is a free, open-source online genealogy application. It's a perfect tool for creating and managing family trees online. In this tutorial, we will guide you on how to install Webtrees on Clear Linux Latest.
Before you start, ensure that you have the following:
sudo swupd update
sudo swupd bundle-add apache
sudo systemctl enable --now apache
sudo swupd bundle-add mariadb
sudo systemctl enable --now mariadb
sudo mysql -u root
CREATE DATABASE webtrees;
CREATE USER 'webtrees'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON webtrees.* TO 'webtrees'@'localhost';
FLUSH PRIVILEGES;
Replace the password
with your preferred password for the webtrees account.
exit;
sudo swupd bundle-add php-basic php-mysql php-apache
sudo systemctl restart apache2
sudo wget https://github.com/fisharebest/webtrees/releases/download/2.0.4/webtrees-2.0.4.tar.gz
sudo tar -xvf webtrees-2.0.4.tar.gz
sudo mv webtrees/* /var/www/html/
sudo chown -R apache:apache /var/www/html/*
config.dist.php
file to config.php
:sudo mv /var/www/html/data/config.dist.php /var/www/html/data/config.php
config.php
file and add your MariaDB database details:$config['DB_HOST'] = 'localhost';
$config['DB_PORT'] = '3306';
$config['DB_DATABASE'] = 'webtrees';
$config['DB_USERNAME'] = 'webtrees';
$config['DB_PASSWORD'] = 'password';
Replace localhost
, webtrees
, and password
with your respective values.
/index.php
:http://server_ip_address/index.php
You should see the webtrees Install Wizard page. Follow the instructions to complete the installation.
Once the installation is complete, it's recommended to delete the setup
directory:
sudo rm -rf /var/www/html/setup
http://server_ip_address/
Congratulations! You have successfully installed webtrees on Clear Linux. You can now start creating and managing your family tree online using webtrees.
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!