まあドキュメント読んだらだれでもできるくらいのわかりやすさなんだけど。
# yum -y install perl-DBD-MySQL mysql-server perl perl-libwww-perl perl-Net-DNS perl-IO-Socket-SSL perl-XML-Parser perl-TimeDate gd gd-devel vixie-cron procmail httpd-devel確か、予期に計らってくれるとおもったけど一応/etc/my.cnfはutf8にしたりinnodbにしておいてみたり。
[mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql # Disabling symbolic-links is recommended to prevent assorted security risks symbolic-links=0 default-character-set=utf8 default-storage-engine=INNODB [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid [mysql] default-character-set=utf8mysqlの起動
# /etc/init.d/mysqld start MySQL データベースを初期化中: WARNING: The host 'otrs' could not be looked up with resolveip. This probably means that your libc libraries are not 100 % compatible with this binary MySQL version. The MySQL daemon, mysqld, should work normally with the exception that host name resolving will not work. This means that you should use IP addresses instead of hostnames when specifying MySQL privileges ! Installing MySQL system tables... (中略) Please report any problems with the /usr/bin/mysqlbug script! [ OK ] mysqld を起動中: [ OK ] #ここまでが準備。
ダウンロードしておいたotrsをインストール。
# yum install ./otrs-3.1.10-01.noarch.rpm (略) Dependencies Resolved ==================================================================================== Package Arch Version Repository Size ==================================================================================== Installing: otrs noarch 3.1.10-01 /otrs-3.1.10-01.noarch 80 M Installing for dependencies: mod_perl x86_64 2.0.4-10.el6 base 3.2 M perl-BSD-Resource x86_64 1.29.03-3.el6 base 35 k Transaction Summary ==================================================================================== Install 3 Package(s) Total size: 83 M Total download size: 3.2 M Installed size: 86 M Is this ok [y/N]: y Downloading Packages: (1/2): mod_perl-2.0.4-10.el6.x86_64.rpm | 3.2 MB 00:10 (2/2): perl-BSD-Resource-1.29.03-3.el6.x86_64.rpm | 35 kB 00:00 ------------------------------------------------------------------------------------ Total 290 kB/s | 3.2 MB 00:11 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : perl-BSD-Resource-1.29.03-3.el6.x86_64 1/3 Installing : mod_perl-2.0.4-10.el6.x86_64 2/3 Installing : otrs-3.1.10-01.noarch 3/3 Check OTRS user ... otrs added. hostname: 不明なホスト Next steps: [httpd services] Restart httpd 'service httpd restart' [install the OTRS database] Make sure your database server is running. Use a web browser and open this link: http:///otrs/installer.pl [OTRS services] Start OTRS 'service otrs start' (service otrs {start|stop|status|restart). ((enjoy)) Your OTRS Team Verifying : perl-BSD-Resource-1.29.03-3.el6.x86_64 1/3 Verifying : mod_perl-2.0.4-10.el6.x86_64 2/3 Verifying : otrs-3.1.10-01.noarch 3/3 Installed: otrs.noarch 0:3.1.10-01 Dependency Installed: mod_perl.x86_64 0:2.0.4-10.el6 perl-BSD-Resource.x86_64 0:1.29.03-3.el6 Complete! #ブラウザ経由でインストーラを実行。。。なのだけどドキュメント通りにちゃんとselinuxを無効にしておかないと謎のエラーで500になっちゃう。
っていうか、なっちゃった。
0 件のコメント:
コメントを投稿