安装部署一套免费的HESK服务台工单系统

近期公司想搞一个Ticket系统,只需要基础的功能,但是要免费的。研究了很久,最终看中了三套。

第一套是osTicket,第二套是HelpDeskz,第三套就是本文提到的HESK。

osTicket这套有社区版,功能非常丰富,是一套挺出名的开源ticket平台。但是调试的时候老是遇到一些烦人的小问题,比如设置中文后提交ticket会卡住,系统时区没法修改等等问题,比较难解决,遂放弃。

至于HelpDeskz这套,界面简洁,功能够用,但是因为没有中文语言插件,不方便用户使用,所以也放弃了。

HESK这套有免费版,跟HelpDeskz差不多,但是有多国语言包,非常简洁好用,而且目前暂时没发现什么bug,所以我就选用这套系统来搭建了。

在这里插入图片描述
HESK系统要求只需要PHP 5.3.0+ 和MySQL 5.0.7+ ,Windows和Linux都可以。Windows可以用iis,Linux可以用LAMP架构或者LNMP架构。

IIS的很简单,网上非常多教程,这里不多介绍。下面介绍Centos7如何安装部署HESK系统。

1、安装Apache服务器

[root@localhost ~]# yum install httpd

2、启动并设置开机启动Apache服务器

[root@localhost ~]# systemctl start  httpd
[root@localhost ~]# systemctl enable  httpd

3、开放防火墙80端口

[root@centos59t /]# firewall-cmd --permanent --zone=public --add-port=80/tcp
[root@centos59 /]# firewall-cmd --reload

4、打开浏览器访问服务器的IP地址,验证Apache是否正常运行
在这里插入图片描述

5、安装数据库

[root@localhost ~]# yum install mariadb mariadb-server mariadb-libs mariadb-devel

6、启动并设置开机启动数据库

[root@localhost ~]# systemctl start  mariadb 
[root@localhost ~]# systemctl enable  mariadb

7、初始化设置数据库,默认初始密码是空密码

[root@localhost ~]# mysql_secure_installation

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!

In order to log into MariaDB to secure it, we'll need the current
password for the root user.  If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none): 
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.

Set root password? [Y/n] y
New password: 
Re-enter new password: 
Password updated successfully!
Reloading privilege tables..
 ... Success!


By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them.  This is intended only for testing, and to make the installation
go a bit smoother.  You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] y
 ... Success!

Normally, root should only be allowed to connect from 'localhost'.  This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] n
 ... skipping.

By default, MariaDB comes with a database named 'test' that anyone can
access.  This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] n
 ... skipping.

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] y
 ... Success!

Cleaning up...

All done!  If you've completed all of the above steps, your MariaDB
installation should now be secure.

Thanks for using MariaDB!

8、登录并创建helpdesk数据库

[root@localhost ~]# mysql -uroot -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 7
Server version: 5.5.68-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> create database helpdesk;
Query OK, 1 row affected (0.02 sec)

MariaDB [(none)]> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| helpdesk           |
| mysql              |
| performance_schema |
| test               |
+--------------------+
5 rows in set (0.01 sec)

9、安装PHP及常用组件

[root@localhost ~]# yum -y install php
[root@localhost ~]# yum install php-mysql php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap curl curl-devel php-bcmath

10、下载并解压安装包

下载地址: https://www.hesk.com/download.php

在这里插入图片描述
解压放到\var\www\html目录中去

11、下载语言包解压放到刚才解压出来安装包的language文件夹中

https://www.hesk.com/language/

在这里插入图片描述
12、重启Apache服务器

systemctl restart httpd

13、浏览器访问install目录,开始安装
在这里插入图片描述
在这里插入图片描述
14、给予helpdesk文件夹权限并临时关闭selinux
在这里插入图片描述

[root@localhost ~]# chmod -R 777 /var/www/html/helpdesk
[root@localhost ~]# setenforce 0
我搭时发现setenforce 0不管用,可能需要disable掉selinux先,具体方法如下:
修改/etc/selinux/config 文件
将SELINUX=enforcing改为SELINUX=disabled
重启机器即可

15、链接数据库
在这里插入图片描述

16、安装完成,要删除install目录
在这里插入图片描述

[root@localhost ~]# rm -rf /var/www/html/helpdesk/install

18、此时已经安装好了,设置中文后再把邮箱、团队啊等等设置好就可以使用了。

在这里插入图片描述

我试用了一段时间,感觉非常好用,简单轻便无广告,这里就不再演示了,官网有Demo,大家可以体验一下。

Demo地址:https://www.hesk.com/demo.php

  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 6
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值