Parce que la connaissance ne vaut que si elle est partagée...
Sur la base d'une version récente de Debian ou Ubuntu server
apt install gnupg2 postgresql nginx postgresql-contrib, php, php-fpm php-common php-gmp php-curl php-intl php7.4-mbstring php7.4-xmlrpc php-gd php-xml php-cli php-zip php-pgsql
cd /tmp tar -xvf download mv mantisbt-2.25.5 /var/www/html/mantis
file_uploads = On allow_url_fopen = On short_open_tag = On cgi.fix_pathinfo = 0 memory_limit = 256M upload_max_filesize = 20M max_execution_time = 360 max_input_vars = 1500 date.timezone = Europe/Paris
sudo -i -u postgres pgsl create database mantis; \q;
sudo unlink /etc/nginx/sites-enabled/default
server {
listen 80; server_name _; access_log /var/log/nginx/mantis-access.log; error_log /var/log/nginx/mantis-error.log; error_page 404 =200 /error.html; root /var/www/html/mantis; index index.php; location / { try_files $uri /index.php$is_args$args; }
location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; include fastcgi_params; }
}
ln -s /etc/nginx/sites-available/mantis.conf /etc/nginx/sites-enabled/mantis.conf
nginx -t
systemctl restart nginx
Se connecter sur le serveur Mantis https://<ip>/install/index.php
alter user mantis with superuser;