How to Install Mantis Bug Tracker (open source, web-based bug tracking system) on ubuntu
Quickloss3
Update Server: apt update && apt upgrade -y
Set update: hostnamectl set-hostname bt.example.com
Install Apache2, Php, Database: sudo apt install vim wget php php-cli php-fpm php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath apache2 mariadb-server mariadb-client
Configure Database: sudo mysql -u root UPDATE mysql.user SET plugin = 'mysql_native_password' WHERE User = 'root'; FLUSH PRIVILEGES; QUIT; sudo mysql_secure_installation mysql -u root -p CREATE USER 'mantisbt'@'localhost' IDENTIFIED BY 'StrongPassword'; CREATE DATABASE mantisbt; GRANT ALL PRIVILEGES ON mantisbt.* TO 'mantisbt'@'localhost'; FLUSH PRIVILEGES; QUIT mysql -u mantisbt -p SHOW DATABASES; quit
Install Mantis Bug Tracker: export VER="2.25.4" wget https://sourceforge.net/projects/mantisbt/files/mantis-stable/2.25.4/mantisbt-2.25.4.tar.gz tar xvf mantisbt-2.25.4.tar.gz sudo mv mantisbt-2.25.4/ /srv/mantisbt sudo chown -R www-data:www-data /srv/mantisbt/ sudo vim /etc/apache2/sites-enabled/mantisbt.conf paste
I'm replacing angled bracket with square bracket
[VirtualHost *:80] ServerAdmin admin@bt.example.com DocumentRoot "/srv/mantisbt" ServerName bt.example.com ServerAlias www.bt.example.com ErrorLog "/var/log/apache2/mantisbt-error_log" TransferLog "/var/log/apache2/mantisbt-access_log" [Directory "/srv/mantisbt/"] DirectoryIndex index.php index.html Options FollowSymLinks AllowOverride None Require all granted Options MultiViews FollowSymlinks [/Directory] [/VirtualHost]
sudo apachectl -t sudo systemctl restart apache2 systemctl status apache2
Access UI: http://bt.example.com
user- administrator pass- root ... https://www.youtube.com/watch?v=7gVc-l0a9UQ
21507717 Bytes