1. 安裝網頁伺服器
yum install httpd
/etc/init.d/httpd restart; chkconfig httpd on
2. 安裝資料庫
yum groupinstall 'MySQL Database'
yum install mysql-server mysql php-mysql
/etc/init.d/mysqld restart; chkconfig mysqld on
3. 設定資料庫安全資訊
/usr/bin/mysql_secure_installation
Enter current password for root (enter for none): [預設沒有密碼]
...
Set root password? [Y/n] y
... Success!
Remove anonymous users? [Y/n] y
... Success!
Disallow root login remotely? [Y/n] y
... Success!
Remove test database and access to it? [Y/n] y
- Dropping test database...
... Success!
- Removing privileges on test database...
... Success!
Reload privilege tables now? [Y/n] y
... Success!
Cleaning up...
4. 下載OTRS主程式
wget http://ftp.otrs.org/pub/otrs/RPMS/fedora/4/otrs-3.0.1-01.noarch.rpm
5. 檢查OTRS所需相依套件
rpm -qpR otrs-3.0.1-01.noarch.rpm
6. 安裝OTRS套件
yum install perl-TimeDate perl-XML-Parser
yum --nogpgcheck install otrs-3.0.1-01.noarch.rpm
7. 啟動OTRS相關服務
/etc/init.d/httpd restart
/etc/init.d/mysqld restart
8. 線上安裝OTRS
http://localhost.localdomain/otrs/installer.pl
9. 啟動OTRS服務
/etc/init.d/otrs restart
http://localhost.localdomain/otrs/index.pl
帳號:root@localhost
密碼:root
10. 更新OTRS至3.0.2
wget http://ftp.otrs.org/pub/otrs/RPMS/fedora/4/otrs-3.0.2-01.noarch.rpm
yum --nogpgcheck install otrs-3.0.2-01.noarch.rpm
/etc/init.d/httpd restart
/etc/init.d/mysqld restart
http://localhost.localdomain/otrs/index.pl
帳號:root@localhost
密碼:root
參考資料:
http://otrs.org/
http://wiki.otrs.org/index.php?title=Installation_of_OTRS_3.0b1_on_CentOS_5.5