Installing GeneWeb on Fedora Server Latest

GeneWeb is a genealogy software that allows you to store, edit, and share genealogical data. In this tutorial, we'll guide you through the installation process of GeneWeb on Fedora Server Latest.

Requirements

Before we start the installation process, ensure that you have:

Installation

  1. Open a terminal window and login as a root user.
sudo su
  1. Install the necessary packages using DNF.
dnf install ocaml postgresql psql ocaml-findlib ocaml-lwt-devel ocaml-camomile-devel
  1. Download the latest version of GeneWeb from their official website. You can use the wget command to do this.
wget https://github.com/geneweb/geneweb/releases/download/v7.0.4/geneweb-7.0.4.tar.gz
  1. Extract the downloaded file.
tar -xvf geneweb-7.0.4.tar.gz
  1. Move the extracted files to /var/www/html. This is the default document root directory in Fedora Server Latest.
mv geneweb-7.0.4/ /var/www/html/geneweb
  1. Change the ownership of the GeneWeb files to the web server. This will ensure that the web server can read and write to the files.
chown -R apache:apache /var/www/html/geneweb
  1. Switch to the geneweb directory and compile the code files.
cd /var/www/html/geneweb
make
  1. Navigate to the PostgreSQL user.
su - postgres
  1. Create a new database.
createdb geneweb_db
  1. Create a new user for the GeneWeb database.
createuser -P geneweb_user
  1. When prompted, specify a strong password for the new user.

  2. Grant all privileges to the new user.

grant all privileges on database geneweb_db to geneweb_user;
  1. Exit the PostgreSQL user.
exit
  1. Open the gwsetup.conf file.
nano /var/www/html/geneweb/gwsetup.conf
  1. Uncomment the following lines.
global base_dbms = postgresql
global base_dbname = geneweb_db
global base_dblogin = geneweb_user
global base_dbpassword = your_password
  1. Replace your_password with the password you assigned to the geneweb_user user earlier.

  2. Save and exit the file.

  3. Start the GeneWeb server.

cd /var/www/html/geneweb
./gwsetup
  1. Open a web browser and navigate to http://your_server_ip/geneweb/. You should see the GeneWeb login page.

  2. Log in with the default username and password.

  1. Change the default password to a secure one.

  2. You're done! You can now start using GeneWeb to store, edit, and share your genealogical data.

Conclusion

In this tutorial, we covered the installation process of GeneWeb on Fedora Server Latest. We hope you found this tutorial helpful and wish you luck with using GeneWeb!

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!