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/mant...
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 [email protected]
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
Watch video How to Install Mantis Bug Tracker (open source, web-based bug tracking system) on ubuntu online without registration, duration hours minute second in high quality. This video was added by user Quickloss3 12 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,457 once and liked it like people.