<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mantis bug tracker Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/mantis-bug-tracker/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 19 Nov 2019 19:56:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install Mantis Bug Tracker on Debian 10?</title>
		<link>https://www.osradar.com/install-mantis-bug-tracker-debian-10/</link>
					<comments>https://www.osradar.com/install-mantis-bug-tracker-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 23 Nov 2019 00:11:52 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mantis]]></category>
		<category><![CDATA[mantis bug tracker]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15694</guid>

					<description><![CDATA[<p>If you are a developer you know that bugs are always present in the process of building a program. Especially if we work as a team on certain projects. Therefore, it is necessary to have software that can distribute the workflow of the project or simply track these problems. That is why today I will [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-mantis-bug-tracker-debian-10/">How to install Mantis Bug Tracker on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you are a developer you know that bugs are always present in the process of building a program. Especially if we work as a team on certain projects. Therefore, it is necessary to have software that can distribute the workflow of the project or simply track these problems. That is why today I will show you how to install Mantis Bug tracker on Debian 10.</p>
<p><a href="https://www.mantisbt.org/" rel="noopener">Mantis Bug Tracker</a> is an open-source application that is used to test automated solutions, keeping a historical record of alterations and managing work teams remotely.</p>
<p>On the other hand, Mantis Bug Tracker allows the team to report errors and organize who can take care of them. Users are able to get started in minutes and start managing their projects while collaborating with their teammates and clients effectively.</p>
<p>So, let us start.</p>
<h2>Install LAMP on Debian 10</h2>
<p>The application has an interface that is accessible from the web. Therefore, we will have to have a working LAMP server. Remember that this software stack is made up of several elements.</p>
<p>To do this, read our tutorial to install LAMP.</p>
<p><a href="https://www.osradar.com/install-lamp-on-debian-10/" target="_blank" rel="noopener noreferrer">How to install LAMP on Debian 10?</a></p>
<p>Once you have finished, you can continue with this tutorial.</p>
<h2>Creating the database for Mantis Bug tracker</h2>
<p>With the LAMP stack running, you need to create a new database for Mantis Bug Tracker. This is because the application needs a database manager to store all the data that is generated as it is used.</p>
<p>Then, you have to access the MariaDB console and create the database and the new user. So let&#8217;s go for it.</p>
<pre>:~$ sudo mysql -u root -p <br />&gt; CREATE DATABASE mantisdb; <br />&gt; GRANT ALL PRIVILEGES ON mantisdb.* TO 'mantisuser'@'localhost' IDENTIFIED BY 'mantispss'; <br />&gt; FLUSH PRIVILEGES; <br />&gt; exit;</pre>
<figure id="attachment_15744" aria-describedby="caption-attachment-15744" style="width: 983px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-15744" src="https://www.osradar.com/wp-content/uploads/2019/11/1-14.png" alt="1.- Creating the new database for Mantis Bug Tracker" width="983" height="430" srcset="https://www.osradar.com/wp-content/uploads/2019/11/1-14.png 983w, https://www.osradar.com/wp-content/uploads/2019/11/1-14-300x131.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/1-14-768x336.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/1-14-696x304.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/1-14-960x420.png 960w" sizes="(max-width: 983px) 100vw, 983px" /><figcaption id="caption-attachment-15744" class="wp-caption-text">1.- Creating the new database for Mantis Bug Tracker</figcaption></figure>
<p>Now, we need to download Mantis.</p>
<h2>Install Mantis Bug Tracker on Debian 10 (I)</h2>
<p>At the time of writing this tutorial, the latest stable version is 2.22.1. So that is the version we will download.</p>
<pre>:~$ wget https://sourceforge.net/projects/mantisbt/files/mantis-stable/2.22.1/mantisbt-2.22.1.zip</pre>
<figure id="attachment_15745" aria-describedby="caption-attachment-15745" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-15745" src="https://www.osradar.com/wp-content/uploads/2019/11/2-14.png" alt="2.- Download and install Mantis Bug Tracker on Debian 10" width="1365" height="567" srcset="https://www.osradar.com/wp-content/uploads/2019/11/2-14.png 1365w, https://www.osradar.com/wp-content/uploads/2019/11/2-14-300x125.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/2-14-768x319.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/2-14-1024x425.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/2-14-696x289.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/2-14-1068x444.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/2-14-1011x420.png 1011w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-15745" class="wp-caption-text">2.- Download and install Mantis Bug Tracker on Debian 10</figcaption></figure>
<p>Then, decompress it using unzip. If unzip is no installed, you can install it using this command:</p>
<pre>:~$ sudo apt install unzip</pre>
<p>So, decompress the file.</p>
<pre>:~$ unzip mantisbt-2.22.1.zip</pre>
<p>The next step is to move the generated folder to <code>/srv/</code> and change its execution permissions and owner.</p>
<pre>:~$ sudo mv mantisbt-2.22.1/ /srv/<br />:~$ sudo chown -R www-data:www-data /srv/mantisbt-2.22.1/<br />:~$ sudo chown -R 755 /srv/mantisbt-2.22.1/</pre>
<figure id="attachment_15746" aria-describedby="caption-attachment-15746" style="width: 708px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-15746" src="https://www.osradar.com/wp-content/uploads/2019/11/3-13.png" alt="3.- Set the permission to the folder" width="708" height="163" srcset="https://www.osradar.com/wp-content/uploads/2019/11/3-13.png 708w, https://www.osradar.com/wp-content/uploads/2019/11/3-13-300x69.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/3-13-696x160.png 696w" sizes="(max-width: 708px) 100vw, 708px" /><figcaption id="caption-attachment-15746" class="wp-caption-text">3.- Set the permission to the folder</figcaption></figure>
<p>For Mantis to run smoothly, it is a good idea to create a new Apache virtual host. So, create a new file for it and add the following:</p>
<pre>:~$ sudo nano /etc/apache2/sites-enabled/mantis.conf</pre>
<pre>&lt;VirtualHost *:80&gt;<br />        ServerAdmin admin@your-server.com<br />        DocumentRoot "/srv/mantisbt-2.22.1"<br />        ServerName bt.osradar.lan<br />        ServerAlias www.bt.osradar.lan<br />        ErrorLog "/var/log/apache2/mantisbt-error_log"<br />        TransferLog "/var/log/apache2/mantisbt-access_log"<br />        &lt;Directory "/srv/mantisbt-2.22.1"&gt;<br />                DirectoryIndex index.php index.html<br />                Options FollowSymLinks<br />                AllowOverride None<br />                Require all granted<br />                Options MultiViews FollowSymlinks<br />        &lt;/Directory&gt;<br />&lt;/VirtualHost&gt;</pre>
<figure id="attachment_15747" aria-describedby="caption-attachment-15747" style="width: 982px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-15747" src="https://www.osradar.com/wp-content/uploads/2019/11/4-11.png" alt="4.- Creating a new virtual host for Mantis" width="982" height="338" srcset="https://www.osradar.com/wp-content/uploads/2019/11/4-11.png 982w, https://www.osradar.com/wp-content/uploads/2019/11/4-11-300x103.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/4-11-768x264.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/4-11-696x240.png 696w" sizes="(max-width: 982px) 100vw, 982px" /><figcaption id="caption-attachment-15747" class="wp-caption-text">4.- Creating a new virtual host for Mantis</figcaption></figure>
<p>Of course, replace ServerName with the one you want.</p>
<p>Now we can complete the installation from the web interface.</p>
<h2>Install Mantis Bug Tracker on Debian 10 (II)</h2>
<p>Open your favorite web browser, and go to your server. You will see this:</p>
<figure id="attachment_15748" aria-describedby="caption-attachment-15748" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-15748 size-full" src="https://www.osradar.com/wp-content/uploads/2019/11/5-7.png" alt="5.- install Mantis Bug Tracker on Debian 10" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/11/5-7.png 1354w, https://www.osradar.com/wp-content/uploads/2019/11/5-7-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/5-7-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/5-7-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/5-7-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/11/5-7-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/5-7-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/5-7-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-15748" class="wp-caption-text">5.- install Mantis Bug Tracker on Debian 10</figcaption></figure>
<p>As you can see, the image shows all the requirements to install Mantis Bug Tracker. In this case, our Debian 10 meets all of them.</p>
<p>Then, we need to type the MariaDB credentials.</p>
<figure id="attachment_15749" aria-describedby="caption-attachment-15749" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-15749" src="https://www.osradar.com/wp-content/uploads/2019/11/6-2.png" alt="6.- MariaDB credentials" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/11/6-2.png 1354w, https://www.osradar.com/wp-content/uploads/2019/11/6-2-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/6-2-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/6-2-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/6-2-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/11/6-2-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/6-2-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/6-2-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-15749" class="wp-caption-text">6.- MariaDB credentials</figcaption></figure>
<p>If everything went well, at the bottom of the page you will see the following message.</p>
<figure id="attachment_15750" aria-describedby="caption-attachment-15750" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-15750" src="https://www.osradar.com/wp-content/uploads/2019/11/7-1.png" alt="7.- Mantis Bug Tracker installed " width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/11/7-1.png 1354w, https://www.osradar.com/wp-content/uploads/2019/11/7-1-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/7-1-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/7-1-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/7-1-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/11/7-1-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/7-1-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/7-1-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-15750" class="wp-caption-text">7.- Mantis Bug Tracker installed</figcaption></figure>
<p>Click on the Continue link and you will see the login page.</p>
<figure id="attachment_15751" aria-describedby="caption-attachment-15751" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-15751" src="https://www.osradar.com/wp-content/uploads/2019/11/8.png" alt="8.- Mantis log in page" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/11/8.png 1366w, https://www.osradar.com/wp-content/uploads/2019/11/8-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/8-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/8-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/8-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/11/8-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/11/8-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/8-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/8-858x420.png 858w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-15751" class="wp-caption-text">8.- Mantis log in page</figcaption></figure>
<p>Log in with the user <strong>administrator</strong> and the password <strong>root</strong>. The first time you log in you will be asked to either disable this account or simply change the password.</p>
<figure id="attachment_15752" aria-describedby="caption-attachment-15752" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-15752" src="https://www.osradar.com/wp-content/uploads/2019/11/9.png" alt="9.- Change the default password of the administrator account" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/11/9.png 1354w, https://www.osradar.com/wp-content/uploads/2019/11/9-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/9-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/9-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/9-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/11/9-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/9-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/9-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-15752" class="wp-caption-text">9.- Change the default password of the administrator account</figcaption></figure>
<p>Once you change it and log in again with your password, you will see the dashboard.</p>
<figure id="attachment_15753" aria-describedby="caption-attachment-15753" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-15753" src="https://www.osradar.com/wp-content/uploads/2019/11/10.png" alt="10.- Mantis Bug Tracker on Debian 10" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/11/10.png 1354w, https://www.osradar.com/wp-content/uploads/2019/11/10-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/10-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/10-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/10-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/11/10-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/10-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/10-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-15753" class="wp-caption-text">10.- Mantis Bug Tracker on Debian 10</figcaption></figure>
<p>So, enjoy it.</p>
<h2>Conclusion</h2>
<p>Mantis Bug Tracker is one of the best applications for monitoring and reporting bugs in a professional environment. So it becomes necessary in many software development organizations. Today, we have learned how to install it on Debian 10. Everything has been simple and fast.</p>


<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-mantis-bug-tracker-debian-10/">How to install Mantis Bug Tracker on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-mantis-bug-tracker-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install Mantis Bug Tracker on Ubuntu 18.04?</title>
		<link>https://www.osradar.com/install-mantis-bug-tracker-ubuntu-1804/</link>
					<comments>https://www.osradar.com/install-mantis-bug-tracker-ubuntu-1804/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 05 Feb 2019 05:10:47 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[bug tracker]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mantis bug tracker]]></category>
		<category><![CDATA[mariadb]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tuorial]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=10506</guid>

					<description><![CDATA[<p>f you are a developer you know that bugs are always present in the process of building a program. Especially if we work as a team on certain projects. Therefore, it is necessary to have software that can distribute the workflow of the project or simply track these problems. That is why today I will [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-mantis-bug-tracker-ubuntu-1804/">Install Mantis Bug Tracker on Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>f you are a developer you know that bugs are always present in the process of building a program. Especially if we work as a team on certain projects. Therefore, it is necessary to have software that can distribute the workflow of the project or simply track these problems. That is why today I will show you how to install Mantis Bug tracker on a server with Ubuntu 18.04.</p>
<p><a href="https://www.mantisbt.org/" rel="noopener">Mantis Bug Tracker</a> is an open source application that is used to test automated solutions, keeping a historical record of alterations and managing work teams remotely.</p>
<p>On the other hand, Mantis Bug Tracker allows the team to report errors and organize who can take care of them. Users are able to get started in minutes and start managing their projects while collaborating with their teammates and clients effectively.</p>
<p>So, let us start.</p>
<h2>1.- Install Apache web server and PHP</h2>
<p>Mantis Bug Tracker requires a web server to work. You can use <a href="https://www.osradar.com/how-to-install-apache-gui-on-debian-9/" rel="noopener">Apache</a> or <a href="https://www.osradar.com/install-nginx-from-the-source-code-ubuntu-18-04/" rel="noopener">Nginx</a> but in this case, I will use Apache because it is very easy to use.</p>
<p>So, open a terminal and run:</p>
<pre class="">:~$ sudo apt install apache2</pre>
<p><figure id="attachment_10509" aria-describedby="caption-attachment-10509" style="width: 1259px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10509" src="https://www.osradar.com/wp-content/uploads/2019/02/1-2.png" alt="1.- Install Apache2" width="1259" height="405" srcset="https://www.osradar.com/wp-content/uploads/2019/02/1-2.png 1259w, https://www.osradar.com/wp-content/uploads/2019/02/1-2-300x97.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/1-2-768x247.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/1-2-1024x329.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/1-2-696x224.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/1-2-1068x344.png 1068w" sizes="(max-width: 1259px) 100vw, 1259px" /><figcaption id="caption-attachment-10509" class="wp-caption-text">1.- Install Apache2</figcaption></figure></p>
<p>After that, enable and start the Apache web server service.</p>
<pre class="">:~$ sudo systemctl enable apache2
:~$ sudo systemctl start apache2</pre>
<p><figure id="attachment_10510" aria-describedby="caption-attachment-10510" style="width: 886px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10510" src="https://www.osradar.com/wp-content/uploads/2019/02/2-2.png" alt="2.- Enabling apache2 service" width="886" height="193" srcset="https://www.osradar.com/wp-content/uploads/2019/02/2-2.png 886w, https://www.osradar.com/wp-content/uploads/2019/02/2-2-300x65.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/2-2-768x167.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/2-2-696x152.png 696w" sizes="(max-width: 886px) 100vw, 886px" /><figcaption id="caption-attachment-10510" class="wp-caption-text">2.- Enabling apache2 service</figcaption></figure></p>
<p>Next, you have to install PHP and wget. The program is built using PHP as the programming language. Wget is a CLI tool for download files.</p>
<pre class="">:~$ sudo apt install php php-cli php-fpm php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath</pre>
<p><figure id="attachment_10511" aria-describedby="caption-attachment-10511" style="width: 1340px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10511" src="https://www.osradar.com/wp-content/uploads/2019/02/3-2.png" alt="3.- Install PHP" width="1340" height="480" srcset="https://www.osradar.com/wp-content/uploads/2019/02/3-2.png 1340w, https://www.osradar.com/wp-content/uploads/2019/02/3-2-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/3-2-768x275.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/3-2-1024x367.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/3-2-696x249.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/3-2-1068x383.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/3-2-1173x420.png 1173w" sizes="(max-width: 1340px) 100vw, 1340px" /><figcaption id="caption-attachment-10511" class="wp-caption-text">3.- Install PHP</figcaption></figure></p>
<p>Then, you have to test the PHP installation. Create a file in the <code>/var/www/html/</code> folder named <code>test.php</code>.</p>
<pre class="">:~$ sudo nano /var/www/html/test.php</pre>
<p>Now, put the following:</p>
<pre class="">&lt;?php
phpinfo();
?&gt;</pre>
<p><figure id="attachment_10512" aria-describedby="caption-attachment-10512" style="width: 825px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10512" src="https://www.osradar.com/wp-content/uploads/2019/02/4-1.png" alt="4.- PHP info" width="825" height="162" srcset="https://www.osradar.com/wp-content/uploads/2019/02/4-1.png 825w, https://www.osradar.com/wp-content/uploads/2019/02/4-1-300x59.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/4-1-768x151.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/4-1-696x137.png 696w" sizes="(max-width: 825px) 100vw, 825px" /><figcaption id="caption-attachment-10512" class="wp-caption-text">4.- PHP info</figcaption></figure></p>
<p>Now, save the changes by pressing CTRL + O and next close the file by pressing CTRL + X.</p>
<p>Next, restart Apache.</p>
<pre class="">:~$ sudo systemctl restart apache2</pre>
<p>After that, open the web browser and go to <code>http://SERVER_IP/test.php</code>.</p>
<p><figure id="attachment_10513" aria-describedby="caption-attachment-10513" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10513" src="https://www.osradar.com/wp-content/uploads/2019/02/5-2.png" alt="5.- PHP info function" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/5-2.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/5-2-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/5-2-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/5-2-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/5-2-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/5-2-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/5-2-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/5-2-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10513" class="wp-caption-text">5.- PHP info function</figcaption></figure></p>
<p>So, PHP and Apache are correctly installed.</p>
<h2>2. Install MariaDB</h2>
<p>The next step to install Mantis Bug Tracker is to install a database driver. Currently, Mantis is compatible with <a href="https://www.osradar.com/password-hashing-mysql-mariadb/" rel="noopener">MariaDB</a>, MySQL, and <a href="https://osradar.com/tag/postgresql/" rel="noopener">PostgreSQL</a>. I will choose MariaDB because it is in the official repositories.</p>
<pre class="">:~$ sudo apt install mariadb-server</pre>
<p><figure id="attachment_10514" aria-describedby="caption-attachment-10514" style="width: 1306px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10514" src="https://www.osradar.com/wp-content/uploads/2019/02/6-2.png" alt="6.- Install MariaDB" width="1306" height="469" srcset="https://www.osradar.com/wp-content/uploads/2019/02/6-2.png 1306w, https://www.osradar.com/wp-content/uploads/2019/02/6-2-300x108.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/6-2-768x276.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/6-2-1024x368.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/6-2-696x250.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/6-2-1068x384.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/6-2-1170x420.png 1170w" sizes="(max-width: 1306px) 100vw, 1306px" /><figcaption id="caption-attachment-10514" class="wp-caption-text">6.- Install MariaDB</figcaption></figure></p>
<p>After that, set a root password using the <code>mysql_secure_installation</code> script.</p>
<pre class="">:~$ sudo mysql_secure_installation</pre>
<p><figure id="attachment_10515" aria-describedby="caption-attachment-10515" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10515" src="https://www.osradar.com/wp-content/uploads/2019/02/7-2.png" alt="7.- Using the mysql_secure_installation script" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/02/7-2.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/7-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/7-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/7-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/7-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/7-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/7-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10515" class="wp-caption-text">7.- Using the mysql_secure_installation script</figcaption></figure></p>
<p>You can also make other settings by answering each question. I&#8217;ll do it this way: Y, N, Y, Y.</p>
<p>Then, it is necessary to create a new database and user for Mantis.</p>
<pre class="">:~$ sudo mysql -u root -p
CREATE DATABASE mantisdb;
GRANT ALL PRIVILEGES ON mantisdb.* TO 'mantisuser'@'localhost' IDENTIFIED BY 'mantispss';
FLUSH PRIVILEGES;
exit;
</pre>
<p><figure id="attachment_10516" aria-describedby="caption-attachment-10516" style="width: 945px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10516" src="https://www.osradar.com/wp-content/uploads/2019/02/8-2.png" alt="8.- Creating a new database for Mantis" width="945" height="426" srcset="https://www.osradar.com/wp-content/uploads/2019/02/8-2.png 945w, https://www.osradar.com/wp-content/uploads/2019/02/8-2-300x135.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/8-2-768x346.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/8-2-696x314.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/8-2-932x420.png 932w" sizes="(max-width: 945px) 100vw, 945px" /><figcaption id="caption-attachment-10516" class="wp-caption-text">8.- Creating a new database for Mantis</figcaption></figure></p>
<h2>3. Install Mantis Bug Tracker</h2>
<p>At the time of writing this post the latest stable version of Mantis is 2.19.0 so let&#8217;s download it.</p>
<pre class="">:~$ wget https://liquidtelecom.dl.sourceforge.net/project/mantisbt/mantis-stable/2.19.0/mantisbt-2.19.0.zip</pre>
<p><figure id="attachment_10524" aria-describedby="caption-attachment-10524" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10524" src="https://www.osradar.com/wp-content/uploads/2019/02/9-2.png" alt="9.- Download mantis" width="1365" height="233" srcset="https://www.osradar.com/wp-content/uploads/2019/02/9-2.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/9-2-300x51.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/9-2-768x131.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/9-2-1024x175.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/9-2-696x119.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/9-2-1068x182.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-10524" class="wp-caption-text">9.- Download mantis</figcaption></figure></p>
<p>Next, decompress it.</p>
<pre class="">:~$ unzip mantisbt-2.19.0.zip</pre>
<p>And move it to the /srv folder.</p>
<pre class="">:~$ sudo mv mantisbt-release-2.19.0/ /srv/mantis/</pre>
<div class="mceTemp"></div>
<p><figure id="attachment_10525" aria-describedby="caption-attachment-10525" style="width: 611px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10525" src="https://www.osradar.com/wp-content/uploads/2019/02/10-2.png" alt="10.- Moving the folder" width="611" height="153" srcset="https://www.osradar.com/wp-content/uploads/2019/02/10-2.png 611w, https://www.osradar.com/wp-content/uploads/2019/02/10-2-300x75.png 300w" sizes="(max-width: 611px) 100vw, 611px" /><figcaption id="caption-attachment-10525" class="wp-caption-text">10.- Moving the folder</figcaption></figure></p>
<p>Set the right permissions to the folder.</p>
<pre class="">:~$ sudo chown -R www-data:www-data /srv/mantisbt-2.19.0/
:~$ sudo chmod -R 755 /srv/mantisbt-2.19.0/</pre>
<div class="mceTemp"></div>
<p><figure id="attachment_10527" aria-describedby="caption-attachment-10527" style="width: 843px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10527" src="https://www.osradar.com/wp-content/uploads/2019/02/11-1-1.png" alt="11.- set the right permissions" width="843" height="150" srcset="https://www.osradar.com/wp-content/uploads/2019/02/11-1-1.png 843w, https://www.osradar.com/wp-content/uploads/2019/02/11-1-1-300x53.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/11-1-1-768x137.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/11-1-1-696x124.png 696w" sizes="(max-width: 843px) 100vw, 843px" /><figcaption id="caption-attachment-10527" class="wp-caption-text">11.- set the right permissions</figcaption></figure></p>
<p>Create a new <a href="https://www.osradar.com/how-to-configure-an-apache-virtual-host-on-debian-9/">virtual host</a> for Mantis.</p>
<pre class="">:~$ sudo nano /etc/apache2/sites-enabled/mantis.conf</pre>
<p>Then, add the following.</p>
<pre class="">&lt;VirtualHost *:80&gt;
        ServerAdmin admin@your-server.com
        DocumentRoot "/srv/mantisbt-2.19.0"
        ServerName bt.osradar.lan
        ServerAlias www.bt.osradar.lan
        ErrorLog "/var/log/apache2/mantisbt-error_log"
        TransferLog "/var/log/apache2/mantisbt-access_log"
        &lt;Directory "/srv/mantisbt-2.19.0"&gt;
                DirectoryIndex index.php index.html
                Options FollowSymLinks
                AllowOverride None
                Require all granted
                Options MultiViews FollowSymlinks
        &lt;/Directory&gt;
&lt;/VirtualHost&gt;</pre>
<p><figure id="attachment_10523" aria-describedby="caption-attachment-10523" style="width: 868px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10523" src="https://www.osradar.com/wp-content/uploads/2019/02/12-2.png" alt="12.- Creating a new virtualhost" width="868" height="412" srcset="https://www.osradar.com/wp-content/uploads/2019/02/12-2.png 868w, https://www.osradar.com/wp-content/uploads/2019/02/12-2-300x142.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/12-2-768x365.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/12-2-696x330.png 696w" sizes="(max-width: 868px) 100vw, 868px" /><figcaption id="caption-attachment-10523" class="wp-caption-text">12.- Creating a new virtual host</figcaption></figure></p>
<p>So, restart apache.</p>
<pre class="">:~$ sudo systemctl restart apache2</pre>
<p>And complete the installation using the web interface.</p>
<h2>4. Complete the installation</h2>
<p>Now, go to the web browser and complete the installation.</p>
<p><figure id="attachment_10528" aria-describedby="caption-attachment-10528" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10528" src="https://www.osradar.com/wp-content/uploads/2019/02/13-1.png" alt="13.- Install Mantis Bug Tracker" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/13-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/13-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/13-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/13-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/13-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/13-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/13-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/13-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10528" class="wp-caption-text">13.- Install Mantis Bug Tracker</figcaption></figure></p>
<p>After that, you have to add the MySQL credentials.</p>
<p><figure id="attachment_10529" aria-describedby="caption-attachment-10529" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10529" src="https://www.osradar.com/wp-content/uploads/2019/02/14-1.png" alt="14.- MySQL credentials" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/14-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/14-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/14-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/14-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/14-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/14-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/14-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/14-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10529" class="wp-caption-text">14.- MySQL credentials</figcaption></figure></p>
<p>If everything is OK, at the end of the page, you will see this.</p>
<p><figure id="attachment_10530" aria-describedby="caption-attachment-10530" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10530" src="https://www.osradar.com/wp-content/uploads/2019/02/15-1.png" alt="15.- It's ok" width="1354" height="411" srcset="https://www.osradar.com/wp-content/uploads/2019/02/15-1.png 1354w, https://www.osradar.com/wp-content/uploads/2019/02/15-1-300x91.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/15-1-768x233.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/15-1-1024x311.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/15-1-696x211.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/15-1-1068x324.png 1068w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-10530" class="wp-caption-text">15.- It&#8217;s ok</figcaption></figure></p>
<p>Next, log in. The user is administrator and the password is root.</p>
<p><figure id="attachment_10531" aria-describedby="caption-attachment-10531" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10531" src="https://www.osradar.com/wp-content/uploads/2019/02/16-1.png" alt="16.- Mantris Log in" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/16-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/16-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/16-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/16-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/16-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/16-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/16-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/16-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10531" class="wp-caption-text">16.- Mantris Log in</figcaption></figure></p>
<p>Finally, you will see the main screen.</p>
<p><figure id="attachment_10532" aria-describedby="caption-attachment-10532" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10532" src="https://www.osradar.com/wp-content/uploads/2019/02/17-1.png" alt="17.- Dashboard" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/17-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/17-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/17-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/17-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/17-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/17-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/17-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/17-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10532" class="wp-caption-text">17.- Dashboard</figcaption></figure></p>
<p>So, that&#8217;s it.</p>
<h2>Conclusion</h2>
<p>The Mantis installation process is quite simple but it will help you to manage and locate project bugs in an easy and agile way.</p>
<p>Please share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-mantis-bug-tracker-ubuntu-1804/">Install Mantis Bug Tracker on Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-mantis-bug-tracker-ubuntu-1804/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
