OsTicket: Difference between revisions
Ninjamisto (talk | contribs) (updated for the latest osticket version) |
(replace /etc/init.d with rc-service) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[ | [https://osticket.com osTicket] is a widely-used open source support ticket system. It seamlessly integrates inquiries created via email, phone and web-based forms into a simple easy-to-use multi-user web interface. Manage, organize and archive all your support requests and responses in one place while providing your customers with accountability and responsiveness they deserve. | ||
osTicket is an attractive alternative to higher-cost and complex customer support systems; simple, lightweight, reliable, open source, web-based and easy to setup and use. The best part is, it’s completely free. | osTicket is an attractive alternative to higher-cost and complex customer support systems; simple, lightweight, reliable, open source, web-based and easy to setup and use. The best part is, it’s completely free. | ||
Line 5: | Line 5: | ||
= Install lighttpd, PHP, and MySql = | = Install lighttpd, PHP, and MySql = | ||
{{cmd|# apk add lighttpd php5-common php5-iconv php5-json php5-gd php5-curl php5-xml php5-pgsql php5-imap php5-cgi fcgi php5-pdo php5-pdo_pgsql php5-soap php5-xmlrpc php5-posix php5-mcrypt php5-gettext php5-ldap php5-ctype php5-dom php5-mysql mysql mysql-client php5-mysqli}} | |||
= Configure lighttpd = | = Configure lighttpd = | ||
{{cmd|# vim /etc/lighttpd/lighttpd.conf}} | |||
Uncomment line: | Uncomment line: | ||
Line 14: | Line 14: | ||
= Start lighttpd service and add to needed runlevel = | = Start lighttpd service and add to needed runlevel = | ||
{{cmd|# rc-service lighttpd start && rc-update add lighttpd default}} | |||
= Installing and configuring osTicket = | = Installing and configuring osTicket = | ||
Create a webapps folder | Create a webapps folder | ||
{{cmd|# mkdir -p /usr/share/webapps/}} | |||
Get the source code | Get the source code | ||
{{cmd|# cd /var/www/localhost/htdocs | |||
wget <nowiki>https://osticket.com/sites/default/files/download/osTicket-v1.9.14.zip</nowiki> | |||
unzip osTicket-v1.9.14.zip | |||
rm *.zip}} | |||
= Prepare the config file = | = Prepare the config file = | ||
{{cmd|# cp /var/www/localhost/htdocs/include/ost-sampleconfig.php /var/www/localhost/htdocs/include/ost-config.php | |||
chmod 0666 /var/www/localhost/htdocs/include/ost-config.php}} | |||
= Edit the php.ini = | = Edit the php.ini = | ||
{{cmd|# vim /etc/php5/php.ini}} | |||
Set: | Set: | ||
Line 38: | Line 40: | ||
Restart lighttpd | Restart lighttpd | ||
{{cmd|# rc-service lighttpd restart}} | |||
= Config and start MariaDB = | = Config and start MariaDB = | ||
<pre>/usr/bin/mysql_install_db --user=mysql | <pre>/usr/bin/mysql_install_db --user=mysql | ||
rc-service mariadb start && rc-update add mariadb default | |||
/usr/bin/mysqladmin -u root password 'password'</pre> | /usr/bin/mysqladmin -u root password 'password'</pre> | ||
= Create the osTicket database = | = Create the osTicket database = | ||
{{cmd|mysql -u root -p}} | |||
<pre>CREATE DATABASE osticket; | <pre>CREATE DATABASE osticket; | ||
GRANT ALL PRIVILEGES ON osticket.* TO 'osticket'@'localhost' IDENTIFIED BY 'osticket password'; | GRANT ALL PRIVILEGES ON osticket.* TO 'osticket'@'localhost' IDENTIFIED BY 'osticket password'; | ||
FLUSH PRIVILEGES; | FLUSH PRIVILEGES; | ||
EXIT</pre> | EXIT</pre> | ||
= Config osTicket = | = Config osTicket = | ||
Browse to http://WEBSERVER_IP_ADDRESS/ and set: | Browse to <nowiki>http://WEBSERVER_IP_ADDRESS/</nowiki> and set: | ||
<pre>All fields are required.</pre> | <pre>All fields are required.</pre> | ||
Line 88: | Line 91: | ||
You have osTicket working! | You have osTicket working! | ||
* To add a ticket: http://WEBSERVER_IP_ADDRESS/ | * To add a ticket: <nowiki>http://WEBSERVER_IP_ADDRESS/</nowiki> | ||
* To administrate: http://WEBSERVER_IP_ADDRESS/scp/login.php | * To administrate: <nowiki>http://WEBSERVER_IP_ADDRESS/scp/login.php</nowiki> | ||
= Final steps = | = Final steps = | ||
Line 95: | Line 98: | ||
Remove the installer | Remove the installer | ||
{{cmd|# rm /usr/share/webapps/osticket/upload/include/setup/ | |||
chmod 644 /usr/share/webapps/osticket/upload/include/ost-config.php}} | |||
= Adding language support = | = Adding language support = | ||
You can add a new language by just downloading the <code>phar</code> file to | You can add a new language by just downloading the <code>phar</code> file to {{path|include/i18}} | ||
Here is an example | Here is an example | ||
{{cmd|# cd /var/www/localhost/htdocs/include/i18n | |||
wget <nowiki>https://osticket.com/sites/default/files/download/lang/pt_PT.phar</nowiki>}} | |||
[[Category:PHP]] | |||
[[Category:SQL]] |
Latest revision as of 10:27, 17 November 2023
osTicket is a widely-used open source support ticket system. It seamlessly integrates inquiries created via email, phone and web-based forms into a simple easy-to-use multi-user web interface. Manage, organize and archive all your support requests and responses in one place while providing your customers with accountability and responsiveness they deserve.
osTicket is an attractive alternative to higher-cost and complex customer support systems; simple, lightweight, reliable, open source, web-based and easy to setup and use. The best part is, it’s completely free.
Install lighttpd, PHP, and MySql
# apk add lighttpd php5-common php5-iconv php5-json php5-gd php5-curl php5-xml php5-pgsql php5-imap php5-cgi fcgi php5-pdo php5-pdo_pgsql php5-soap php5-xmlrpc php5-posix php5-mcrypt php5-gettext php5-ldap php5-ctype php5-dom php5-mysql mysql mysql-client php5-mysqli
Configure lighttpd
# vim /etc/lighttpd/lighttpd.conf
Uncomment line:
include "mod_fastcgi.conf"
Start lighttpd service and add to needed runlevel
# rc-service lighttpd start && rc-update add lighttpd default
Installing and configuring osTicket
Create a webapps folder
# mkdir -p /usr/share/webapps/
Get the source code
# cd /var/www/localhost/htdocs wget https://osticket.com/sites/default/files/download/osTicket-v1.9.14.zip unzip osTicket-v1.9.14.zip rm *.zip
Prepare the config file
# cp /var/www/localhost/htdocs/include/ost-sampleconfig.php /var/www/localhost/htdocs/include/ost-config.php chmod 0666 /var/www/localhost/htdocs/include/ost-config.php
Edit the php.ini
# vim /etc/php5/php.ini
Set:
short_open_tag = On
Restart lighttpd
# rc-service lighttpd restart
Config and start MariaDB
/usr/bin/mysql_install_db --user=mysql rc-service mariadb start && rc-update add mariadb default /usr/bin/mysqladmin -u root password 'password'
Create the osTicket database
mysql -u root -p
CREATE DATABASE osticket; GRANT ALL PRIVILEGES ON osticket.* TO 'osticket'@'localhost' IDENTIFIED BY 'osticket password'; FLUSH PRIVILEGES; EXIT
Config osTicket
Browse to http://WEBSERVER_IP_ADDRESS/ and set:
All fields are required.
osTicket web path and title
Url to osTicket installation on your server and the title. HelpDesk URL: HelpDesk Title:
System email
Default system email (e.g support@yourdomain.com) You can change or add more emails later. Default Email:
Admin user
Min of six characters for the password. You can change or add more users later. Username: Password: Password (again): Email:
Database
MySQL (version 4.4+) is the only database supported at the moment. MySQL Table Prefix: ost_ MySQL Hostname: localhost MySQL Database: osticket MySQL Username: root MySQL Password: password
and click Install
After the Congratulations osTicket basic installation completed!. click Admin Panel -> Login
After config all in the diferentes tabs, goto Settings tab and check Online on Helpdesk Status
You have osTicket working!
- To add a ticket: http://WEBSERVER_IP_ADDRESS/
- To administrate: http://WEBSERVER_IP_ADDRESS/scp/login.php
Final steps
Remove the installer
# rm /usr/share/webapps/osticket/upload/include/setup/ chmod 644 /usr/share/webapps/osticket/upload/include/ost-config.php
Adding language support
You can add a new language by just downloading the phar
file to include/i18
Here is an example
# cd /var/www/localhost/htdocs/include/i18n wget https://osticket.com/sites/default/files/download/lang/pt_PT.phar