How to install webtrees on Linuxmint 18.03
To install webtrees on Linuxmint 18.03
Web trees is a free open source web-based genealogy application intended for collaborative use. It is written in PHP and uses a MySQL database. In this tutorial, we will cover the installation of webtrees on linuxmint 18.03.
Prerequisites
Install LAMP (Apache, MariaDB, php7)
In MariaDB (create database and user and give privileges to that user)
Php installation with required following modules
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc php7.0-gd php7.0-mbstring php7.0 php7.0-common
php7.0-xmlrpc php7.0-soap php7.0-xml php7.0-intl php7.0-cli php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl
Installation
Download a Webtrees package on terminal using the wget command.
linuxhelp ~ # wget https://launchpadlibrarian.net/299751140/webtrees-1.7.9.zip
--2018-07-10 15:28:53-- https://launchpadlibrarian.net/299751140/webtrees-1.7.9.zip
Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.228, 91.189.89.229
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.228|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 32308411 (31M) [application/zip]
Saving to: ‘ webtrees-1.7.9.zip’
webtrees-1.7.9.zip 100%[========================================> ] 30.81M 702KB/s in 53s
2018-07-10 15:29:47 (590 KB/s) - ‘ webtrees-1.7.9.zip’ saved [32308411/32308411]
After Downloading extract the downloaded package
linuxhelp ~ # unzip webtrees-1.7.9.zip
Archive: webtrees-1.7.9.zip
creating: webtrees/
inflating: webtrees/action.php
inflating: webtrees/addmedia.php
inflating: webtrees/admin.php
inflating: webtrees/admin_media.php
inflating: webtrees/admin_media_upload.php
inflating: webtrees/admin_module_blocks.php
inflating: webtrees/admin_module_charts.php
.
.
.
inflating: webtrees/vendor/tecnickcom/tcpdf/tcpdf_barcodes_2d.php
inflating: webtrees/vendor/tecnickcom/tcpdf/tcpdf_import.php
inflating: webtrees/vendor/tecnickcom/tcpdf/tcpdf_parser.php
creating: webtrees/vendor/tecnickcom/tcpdf/tools/
extracting: webtrees/vendor/tecnickcom/tcpdf/tools/.htaccess
inflating: webtrees/vendor/tecnickcom/tcpdf/tools/convert_fonts_examples.txt
inflating: webtrees/vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php
Change ownership and permission of the webtrees follows
linuxhelp ~ # ls webtrees webtrees-1.7.9.zip linuxhelp ~ # chown -R www-data:www-data webtrees linuxhelp ~ # chmod -R 775 webtrees
Navigate to the apache document root directory
linuxhelp ~ # mv webtrees /var/www/html/
Create a new virtual host configuration for accessing the webtrees.
linuxhelp ~ # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim web.conf
< VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/webtrees/
< Directory /var/www/html/webtrees/>
AllowOverride All
Allow from all
< /Directory>
< /virtualHost>
Enable site access
linuxhelp sites-available # a2ensite web.conf
Enabling site web.
To activate the new configuration, you need to run:
service apache2 reload
Make an entry to the host file as follows
linuxhelp sites-available # vim /etc/hosts
< Give your ip > < Give your domain name>
Restart the apache service.
linuxhelp sites-available # systemctl restart apache2.service
Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://< ipaddress or domain name
Verify the installation of webtrees as shown below
Configure the Database setup as follows
Configure the Admin user account setup
Login page of webtrees.
After the Successful login, you will see the Admin dashboard of webtrees as shown below
With this, the method to install webtrees on linuxmint 18.03 comes to an end.
Comments ( 0 )
No comments available