osticket
osTicket is a widely-used open source support ticket system.
Slackware 14 installation
Get source code
- cd ~
- cd workspace #eclipse
git clone https://github.com/osTicket/osTicket-1.7
- ln -s ~/workspace/osTicket-1.7 /var/www/html/htdocs/osTicket17
Enable php5
Edit /etc/httpd/httpd.conf:
Include /etc/httpd/mod_php.conf
Enable mysql
- chmod 755 /etc/rc.d/rc.mysqld
- mysql_install_db --user=mysql
- chown -R mysql.mysql /var/lib/mysql
- /etc/rc.d/rc.mysqld start
- mysql_secure_installation
- set root password: Y
- Remove anonymous users: Y
- Disallow root login remotely? [Y/n] Y
- Remove test database and access to it? [Y/n] Y
- Reload privilege tables now? [Y/n] Y
- mysql -p
Enable host on Slackware 14
Edit /etc/hosts and add:
127.0.0.1 localhostosticket
Edit /etc/httpd/vhosts.conf and add:
<VirtualHost *:80> Servername localhostosticket DocumentRoot "/var/www/htdocs/osTicket17" <IfModule dir_module> DirectoryIndex index.php </IfModule> <Directory "/var/www/htdocs/osTicket17"> Require local </Directory> </VirtualHost>
Access http://localhostosticket/, it should redirect to http://localhostosticket/setup/.
On Slackware full install, all the requirements appear in green. Steps:
- Click on Continue.
- cd /var/www/htdocs/osTicket17/include
- mv ost-sampleconfig.php ost-config.php
- Continue
- chmod 0666 include/ost-config.php
- Continue
- Helpdesk name: helpdesk
Default email: helpdesk@bitarus.allowed.org
- First name: admin
- Last name: admin
email address: helpdeskadmin@bitarus.allowed.org
- username: adminosticket
- password: ********
- Retype Password: ********
- MySQL Table Prefix: ost_
- MySQL Hostname: localhost
- MySQL Database: osticket
- MySQL Username: root
- MySQL Password: ********
- Install now
- chmod 0644 /var/www/htdocs/osTicket17/include/ost-config.php
Your osTicket URL: http://localhostosticket/
Your Staff Control Panel: http://localhostosticket/scp
Login to http://localhostosticket/scp/ with user adminosticket.
Click on Admin Panel, and change Helpdesk status to Online, then click on Save changes.
In not in a development environment, delete the setup/install director as informed in the Staff Control Panel.