About: It’s an open-source tracker tool

Step1. Install packages

yum -y install httpd mariadb-server mariadb wget curl

Step2. Install epel/webtatic repository

yum -y install epel-release 
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

Step3. Install the PHP packages

yum install php71w php71w-cli php71w-mysqli -y

Step4. Check the PHP version

php -v

Step5. Start/enable services

systemctl start httpd 
systemctl enable httpd
systemctl start mariadb
systemctl enable mariadb

Step6. Setup database

mysql_secure_installation

Step7. Create Database

mysql -u root -p
CREATE DATABASE mantis;
CREATE USER 'mantis_user'@'localhost' IDENTIFIED BY 'strongpasswd';
GRANT ALL PRIVILEGES ON mantis.* TO 'mantis_user'@'localhost';
FLUSH PRIVILEGES;
Exit;

Step8. Download mantis

cd /var/www/html
wget https://downloads.sourceforge.net/project/mantisbt/mantis-stable/2.1.0/mantisbt-2.1.0.zip -O mantis.zip

Step9. Unzip the file and rename the folder

unzip mantis.zip
mv mantisbt-* mantis

Step10. Change ownership

chown -R apache:apache /var/www/mantis

Step11. Restart the service

systemctl restart httpd

Step12. Access via browser

http://ip/mantis

LEAVE A REPLY

Please enter your comment!
Please enter your name here