Sign inSign up

0x4ndr3/osticket

By 0x4ndr3

•Updated over 9 years ago

Ready to start osticket on a debian system (with all dependencies)

Image
0

1.9K

0x4ndr3/osticket repository overview

Generated through by executing:

# apt update && apt upgrade -y && apt install -y apache2 git mysql-server php5 php5-fpm php5-mysql php5-gd php5-imap php5-intl php5-apcu libapache2-mod-php5

# php5enmod imap

# git clone https://github.com/osTicket/osTicket.git /var/www/html/osticket

# service apache2 start && service mysql start && mysql_secure_installation

# mysql -u root -p -e "CREATE DATABASE osticketdb;CREATE USER 'osticketuser'@'localhost' IDENTIFIED BY 'password';GRANT ALL ON osticketdb.* TO 'osticketuser'@'localhost';flush privileges;"

# echo -e "\n\ncgi.fix_pathinfo=0" >> /etc/php5/fpm/php.ini

# service apache2 restart && service php5-fpm restart

# cp /var/www/html/osticket/include/ost-sampleconfig.php /var/www/html/osticket/include/ost-config.php

# chmod 0666 /var/www/html/osticket/include/ost-config.php

After pulling you should: 1 - execute # docker run -p 80:80 --net=host -t -i 0x4ndr3/osticket /bin/bash 2 - execute inside the docker container service apache2 start && service php5-fpm start && service mysql start 3 - browse to http://localhost/osticket/⁠ and follow the web app lead 4 - execute inside the docker container chmod 0644 /var/www/html/osticket/include/ost-config.php 5 - execute inside the docker container rm -rf /var/www/html/osticket/setup/ 6 - browse to http://localhost/osticket/scp/admin.php⁠ and start using it as you see fit

Notes: mysql credentials: root/root database: osticketdb user: osticketuser password: password

Tag summary

Content type

Image

Digest

Size

183.1 MB

Last updated

over 9 years ago

docker pull 0x4ndr3/osticket