Download Ticket Service

Download ticket service seems working in a virtualhost in a first test. I followed the README. Here are my installation notes:

Create virtualhost with php73 and adjust the file size to your upload needs:

grafik

Get the webroot path of your virtualhost and replace it with the one I used.

# get unzip and dl
yum -y install unzip
wget https://www.thregr.org/~wavexx/software/dl/releases/dl-0.18.1.zip
unzip dl-0.18.1.zip

# copy files to virtualhost
\cp -r dl-0.18.1/htdocs/* /var/lib/nethserver/vhost/a71a9c18d39eb75/

# install sqlite
cd /var/spool/dl/
sqlite3 data.sdb < /var/lib/nethserver/vhost/a71a9c18d39eb75/include/scripts/db/sqlite.sql
chmod 660 data.sdb

# copy config file
cp /var/lib/nethserver/vhost/a71a9c18d39eb75/include/config.php.dist /etc/dl.php

Edit /etc/dl.php and change masterpath and fromaddress in basic settings.

# create upload dir
mkdir /var/spool/dl
chown apache:apache /var/spool/dl

# restart php73
systemctl restart rh-php73-php-fpm

# create admin user
cd /var/lib/nethserver/vhost/a71a9c18d39eb75/include/scripts/
/opt/rh/rh-php73/root/bin/php useradmin.php add "admin" "true" 'SECRET'

Browse to your virtualhost and login with user admin and password “SECRET”.

2 Likes