PR

[OTRS] openSUSE に OTRS をインストール

openSUSE のインストールをしたので、ORTS をインストールしてみる。

ダウンロード

  • OTRS: Open Source Help Desk and IT Service Management Solution | Get OTRS!

インストール

# wget http://ftp.otrs.org/pub/otrs/RPMS/suse/11.0/otrs-3.0.7-01.noarch.rpm
# zypper install otrs-3.0.7-01.noarch.rpm
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
 apache2 apache2-itk apache2-mod_perl apache2-utils libapr-util1 libapr1
 libmysqlclient16 metamail mysql-community-server
 mysql-community-server-client otrs perl-Class-Inspector perl-Clone
 perl-Convert-ASN1 perl-Convert-BinHex perl-Crypt-SSLeay perl-DBD-CSV
 perl-DBD-mysql perl-DBI perl-Encode-HanExtra perl-GD perl-GDGraph
 perl-GDTextUtil perl-HTML-Parser perl-HTML-Tagset perl-IO-Socket-INET6
 perl-IO-Socket-SSL perl-IO-stringy perl-MIME-tools perl-MLDBM perl-MailTools
 perl-Net-DNS perl-Net-Daemon perl-Net-IP perl-Net-LibIDN perl-Net-SSLeay
 perl-PDF-API2 perl-Params-Util perl-PlRPC perl-SOAP-Lite perl-SQL-Statement
 perl-Socket6 perl-Task-Weaken perl-Text-CSV_XS perl-Tie-IxHash perl-URI
 perl-ldap perl-libwww-perl procmail sharutils

The following recommended packages were automatically selected:
 perl-Clone perl-DBD-CSV perl-DBI perl-IO-Socket-INET6 perl-MLDBM
 perl-Net-Daemon perl-Net-LibIDN perl-PlRPC perl-SQL-Statement

50 new packages to install.
Overall download size: 40.2 MiB. After the operation, additional 156.4 MiB will
be used.
Continue? [y/n/?] (y):
:
:
Installing: otrs-3.0.7-01 [done]
Additional rpm output:
Check OTRS user ... otrs added.

Next steps:

[SuSEconfig]
 Execute 'SuSEconfig' to configure the webserver.

[start Apache and MySQL]
 Execute 'rcapache2 restart' and 'rcmysql start' in case they don't run.

[install the OTRS database]
 Use a webbrowser and open this link:
 http://linux-75dk.site/otrs/installer.pl

[OTRS services]
 Start OTRS 'rcotrs start-force' (rcotrs {start|stop|status|restart|start-force|stop-force}).

((enjoy))

 Your OTRS Team
 http://otrs.org/

スポンサードリンク

周辺設定

MySQL

参考文献によるとMySQL の値を調整するように書かれていたが、推奨値に近い値がすでにセットされていたので何もしなかった。

vi /etc/my.cnf
rcmysql start
/usr/bin/mysql_secure_installation
chkconfig -a mysql

apache2 周辺

a2enmod mod_perl
rcapache2 start
chkconfig -a apache2

OTRS 設定

pc.casey.jp » [OTRS] セットアップ手順

OTRS 起動設定

rcotrs restart-force
chkconfig -a otrs

あれ!!日本語に対応してる!!

ログイン

ダッシュボード

# なんかopenSUSE のほうが構築が簡単だったような。バージョンによる違いかなー?

(追記)データベース設定

/etc/my.cnf を変更する。

max_allowed_packet

OTRS が「”max_allowed_packet” should be higher then 7 MB (it’s 1 MB).」というので「max_allowed_packet=16MB」に設定を変更。

query_cache_size

OTRS が「The setting “query_cache_size” should be used, you will get improvements up to 30 % of speed.」というので、設定を変更。

現在の状態は「show variables like ‘query_cache_size’;」で確認できる。

適当に「query_cache_size=8MB」としたら、「The setting “query_cache_size” should be higher than 10 MB (it’s 8 MB).」と言われたので16MBにした。

最初から言ってくれ。

参考文献

コメント