TimeTrex Installation on Linux: Ubuntu / Debian Guide

TimeTrex can be installed on Ubuntu / Debian Linux using either a .DEB or .ZIP file.

Linux penguin
Modern server

Installing TimeTrex from the .DEB File:

Step 1:

Step 2:

				
					mv <TimeTrex_Package>.deb /var/cache/apt/archives/<TimeTrex_Package>.deb
				
			

Step 3:

				
					add-apt-repository universe
				
			

Step 4:

				
					apt-get install /var/cache/apt/archives/<TimeTrex_Package>.deb
				
			

Step 5:

Step 6:

				
					http://<web server address>/<timetrex directory>/interface/install/install.php
				
			

Step 7:

Installing TimeTrex from the .ZIP File:

Step 1:

				
					add-apt-repository universe
				
			
				
					apt-get install unzip apache2 libapache2-mod-php php php8.1-cgi php8.1-cli php8.1-pgsql php8.1-pspell php8.1-gd php8.1-gettext php8.1-imap php8.1-intl php8.1-soap php8.1-zip php8.1-curl php8.1-ldap php8.1-xml php8.1-xsl php8.1-mbstring php8.1-bcmath postgresql

				
			

Step 2:

				
					service apache2 restart
				
			
A 3d zip folder
A penguin next to a complex open computer

Step 3:

Step 4:

				
					unzip <TimeTrex-installer>.zip -d /var/www/html/
				
			
				
					mv /var/www/html/TimeTrex_v<version>/ /var/www/html/timetrex
				
			

Step 5:

				
					mv /var/www/html/timetrex/timetrex.ini.php-example_linux /var/www/html/timetrex/timetrex.ini.php
				
			

Step 6:

				
					nano /var/www/html/timetrex/timetrex.ini.php
				
			
				
					mkdir -p /var/timetrex/storage
mkdir -p /var/log/timetrex
chgrp -R www-data /var/timetrex/
chmod 775 -R /var/timetrex
chgrp -R www-data /var/log/timetrex/
chmod 775 -R /var/log/timetrex
chgrp -R www-data /var/www/html/timetrex/
chmod 775 -R /var/www/html/timetrex/
				
			

Step 7:

				
					sudo su postgres
psql
CREATE USER timetrex WITH CREATEDB CREATEROLE LOGIN PASSWORD 'password_here';
CREATE DATABASE timetrex;
\q
				
			

Step 8:

				
					http://<web server address>/<timetrex directory>/interface/install/install.php
				
			

Step 9:

Thank you for choosing TimeTrex. We look forward to being part of your operational excellence.

See the following guides for instructions on installing TimeTrex for other operating systems:

Linux – Ubuntu/Debian
Linux – CentOS
Windows / Windows Server