- cd /tmp
- wget http://sourceforge.net/projects/mantisbt/files/mantis-stable/1.2.11/mantisbt-1.2.11.tar.gz/download
- wget http://sourceforge.net/projects/mantisbt/files/mantis-stable/1.2.11/mantisbt-1.2.11.tar.gz.digests/download
- md5sum -c mantisbt-1.2.11.tar.gz.digests
- tar -xzf mantisbt-1.2.11.tar.gz
- mv mantisbt-1.2.11/ /opt/mantisbt-1.2.11
- chown -R apache:apache /opt/mantisbt-1.2.11
- ls -n /opt/mantisbt-1.2.11/ /var/www/html/mantisbt
- yum -y install httpd mysql mysql-server php php-mysql
- vi /etc/php.ini
- change line 946 to match:
- date.timezone = "America/New_York" (should match cat /etc/sysconfig/clock output)
- chkconfig httpd on
- chkconfig mysqld on
- service httpd start
- service mysqld start
- mysqladmin -u root password 'newPassword'
- mysqladmin -u root -p -h localhost.localdomain password 'newPassword' (enter newPassword from above when prompted)
- iptables -I INPUT 5 -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
- iptables -I INPUT 6 -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT
- now open your browser, and point it to:
- http://yourServerOrIPHere/mantisbt/admin/install.php
- add newPassword from above in the password field
- click the "Install" button.
Total time with Cobbler from PXE boot to creating your first project: ~20 - 25 mins. This includes the time to install the OS from scratch, update it, reboot, and go through the commands above manually. For those interested in specs, this was run on my setup.
Once you're done here, you'll want to start Configuring MantisBT.
Total score for ease of install: 8/10
No comments:
Post a Comment