Introduce orts2
OTRS is an Open source Ticket Request System (also well known as trouble ticket system) with many features to manage customer telephone calls and e-mails. The system is built to allow your support, sales, pre-sales, billing, internal IT, helpdesk, etc. department to react quickly to inbound inquiries.Note
Orts2 is implemented by Germany in Perl.
pre-tasks
OTRS Requirements
Apache2 Web server
Mysql or Postgresql Database
Perl 5.8,Perl Modules
1:Install apache2
apt-get apache2 apache2-utils
其中apache2-utils提供了我们在配置维护过程中非常有用的一些工具
安装完成后,可以使用下面的命令启动Apache 服务:
tony@tonybox:~$ sudo /etc/init.d/apache2 start
停止Apache服务则是:
tony@tonybox:~$ sudo /etc/init.d/apache2 stop
也可以只接用 kill 命令强制杀死apache2进
tony@tonybox:~$ sudo killall apache2
如有需要, 可以通过rcconf来控制是否在系统启动是加载Apache 服务
启动完成后打开浏览器, 使用URL http://localhost/ 来访问已经启动的Apache服务器,
服务器将会将会跳转到 http://localhost/apache2-default/, 向浏览器返回一个Apache
安装成功的页面.
注: 这取决于/etc/apache2/sites-available/default 配置文件中, 是否取消了
RedirectMatch ^/$ /apache2-default/
行的注释
2: Install mysql
apt-get install mysql-server
如何创建mysqld数据库的管理用户?
数据库安装好后,我们应该为mysql数据库创建一个管理帐号。要把root用户设置为管理员,我们应该运行下面的命令;
[root@linuxsir01 root]# mysqladmin -u root password "123456"
[root@linuxsir01 root]#
通过上面的命令,我们可以知道,mysql数据库的管理员是root,密码是123456。
2]如何进入mysql数据库?以mysql数据库管理员root,密码为123456为例;
[root@linuxsir01 root]#mysql -u root -p
Enter password:123456
输出上面的命令后,出现的是如下的提示;
Welcome to the MySQL monitor. Commands end with ; or /g.
Your MySQL connection id is 6 to server version: 3.23.58
Type 'help;' or '/h' for help. Type '/c' to clear the buffer.
mysql>
注意:操作这些命令的时候,应该把mysqld服务器打开。这些新手兄弟早就知道了吧:
3:Install OTRS in debian
apt-get install otrs or apt-get install otrs2.
This will start the installation process and if you want to configure database using dbconfig-common
you need to select yes in the following screen and press enter in this example i am configuring using dbconfig-common.
This will complete the installation.
Now you need to access otrs using the following URL
http://your server ip/otrs/index.pl for admin access
Now you need to use the following username and password to login
Username :- root@localhost
Password :- root
If you want to give customer interface use the following url
http://your server ip/otrs/customer.pl
Now if you want to know how to use otrs you need to check otrs documentation
Possible Error and Solution
When you try to access http://your server ip/otrs/index.pl to login you can see the following error
Problem
no connection to syslog available - /dev/log is not a socket at /usr/share/otrs//Kernel/System/Log/SysLog.pm line 64
Solution
Edit the /usr/share/otrs/Kernel/Config/Defaults.pm file and un comment the following lines
$Self->{’LogModule’} = ‘Kernel::System::Log::File’;
$Self->{’LogModule::SysLog::Facility’} = ‘user’;
$Self->{’LogModule::LogFile::Date’} = 0;
Restart your apache web server using the folloing command
#/etc/init.d/apache2 restart
Referen site
http://www.debianadmin.com/how-to-install-otrs-open-source-ticket-request-system-in-debian.html
http://hi.baidu.com/cnlen/blog/item/4437bf3e2635f2fe828b1390.html
http://man.ddvip.com/linux/debian/apache2/debian-apache2-4.html#ss4.1
