This guide walks you through the process of installing TimeTrex on a CentOS Linux v8 machine using the .ZIP file. Please follow each step carefully to ensure successful installation.
dnf -y install http://rpms.remirepo.net/enterprise/remi-release-8.rpm epel-release
dnf config-manager --set-enabled remi
dnf -y module install php:remi-8.1
dnf -y install php-cli php-pgsql php-pspell php-gd php-gettext php-imap php-intl php-json php-soap php-zip php-curl php-ldap php-xml php-xsl php-mbstring php-bcmath php-process httpd postgresql-server unzip nano policycoreutils-python-utils
systemctl enable httpd
service httpd restart
firewall-cmd --permanent --zone=public --add-port=80/tcp
firewall-cmd --permanent --zone=public --add-port=443/tcp
firewall-cmd --reload
unzip .zip -d /var/www/html/
mv /var/www/html/TimeTrex_v/ /var/www/html/timetrex
mv /var/www/html/timetrex/timetrex.ini.php-example_linux /var/www/html/timetrex/timetrex.ini.php
nano /var/www/html/timetrex/timetrex.ini.php
mkdir -p /var/timetrex/storage
mkdir -p /var/log/timetrex
chgrp -R apache /var/timetrex
chmod 775 -R /var/timetrex
chgrp -R apache /var/log/timetrex
chmod 775 -R /var/log/timetrex
chgrp apache -R /var/www/html/timetrex
chmod 775 -R /var/www/html/timetrex
semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html/timetrex(/.*)?"
semanage fcontext -a -t httpd_sys_rw_content_t "/var/timetrex(/.*)?"
semanage fcontext -a -t httpd_sys_rw_content_t "/var/log/timetrex(/.*)?"
restorecon -r "/var"
setsebool -P httpd_can_network_connect 1
setsebool -P httpd_can_sendmail 1
postgresql-setup initdb
systemctl start postgresql
systemctl enable postgresql
su postgres
psql
CREATE USER timetrex WITH CREATEDB CREATEROLE LOGIN PASSWORD 'passwordhere';
CREATE DATABASE timetrex;
\q
exit
nano /var/lib/pgsql/data/pg_hba.conf
"local all all peer"
"local all all md5"
systemctl restart postgresql
http:////interface/install/install.php
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:
Saving businesses time and money through better workforce management since 2003.
Copyright © 2024 TimeTrex. All Rights Reserved.