banner



How To Install Bugzilla On Centos 7

Hither we show you how we can install Bugzilla in an Ubuntu xiv.04 or CentOS 6.5 / vii. Bugzilla is Gratis and Open up Source Software (FOSS), a web-based bug tracking tool that is used to log and track bug databases. While Bugzilla is "free," it has many features that its expensive counterparts lack. As a result, Bugzilla has quickly become a favorite with thousands of organizations around the world.

Bugzilla is very adaptable to different situations. You will find yourself in diverse IT support queues every solar day today, arrangement assistants deployment management, tracking flake design and development issues (both pre and mail service manufacturing), and tracking software and hardware defects for luminaries such as Redhat, NASA, Uses Linux Mandrake and VA systems.

1. Install dependencies

Setting up Bugzilla is pretty easy. This blog is specific to Ubuntu fourteen.04 and CentOS six.five (although it might work with older versions too)

To get Bugzilla to work on Ubuntu or CentOS, we install the Apache web server (SSL enabled), the MySQL database server and likewise some tools that are required to install and configure Bugzilla.

To install Bugzilla on your server, the post-obit components must exist installed:

  • Pro l (5.eight.1 or college)
  • MySQL
  • Apache2
  • Bugzilla
  • Perl modules
  • Bugzilla with Apache

As we mentioned earlier that this article explains how to install Ubuntu 14.04 and CentOS 6.5 / 7, nosotros will take 2 different sections for this.

Here are the steps you lot need to take to gear up up Bugzilla in your Ubuntu xiv.04 LTS and CentOS 7:

Ready the required dependency packages:

You lot demand to install the essential packages by running the following command:

For Ubuntu:

$ sudo apt-get install apache2 mysql-server libapache2-mod-perl2 libapache2-mod-perl2-dev libapache2-mod-perl2-physician perl postfix make gcc thou++ libcgi-pm-perl

For CentOS:

$ sudo yum install httpd mod_ssl mysql-server mysql php-mysql gcc perl* mod_perl-devel

Annotation: Please run all commands in a shell or concluding and brand sure you have root access (sudo) on the figurer.

2. Run the Apache server

Since yous take already installed the Apache server from the stride higher up, we now need to configure and run the Apache server.
Nosotros demand to switch to sudo or root fashion for all commands to piece of work, and then we switch to root access.

$ sudo -s

Now nosotros need to open up port 80 in the firewall and salvage the changes.

# iptables -I INPUT -p tcp --dport 80 -j Take

For Ubuntu:

          # sh -c "iptables-save > /etc/iptables.rules"        

For CentOS:

# service iptables save

At present we demand to run the service:

For CentOS:

# service httpd start

Let's make sure Apache restarts every fourth dimension you restart the computer:

# /sbin/chkconfig httpd on

For Ubuntu:

# service apache2 start

Now that we've started our Apache HTTP server, we can open the Apache server with the IP address 127.0.0.1 past default.

3. Configure the MySQL server

Now nosotros demand to showtime our MySQL server:

For CentOS:

# chkconfig mysqld on # service start mysqld

For Ubuntu:

# service mysql start

Log into MySQL with root access and create a DB for Bugzilla. Change "mypassword" to whatsoever you want for your mysql countersign. You will also need it afterwards when configuring Bugzilla.

Both for CentOS 6.5 and for Ubuntu xiv.04 Trusty

# mysql -u root -p  # password: (You'll demand to enter your password)  # mysql > create database bugzilladb;  # mysql > grant all on bugzilladb.* to [email protected] identified by "mypassword";  #mysql > quit

Note: Please brand a note of the DB name and the passwords for mysql, we will demand them subsequently.

4. Install and configure Bugzilla

Now that we take all the required packages set up and running, we desire to configure our Bugzilla.

So first we desire to download the latest Bugzilla package, hither I am downloading version 4.5.2.

To download using wget in a shell or terminal:

wget https://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-four.5.2.tar.gz

You can also download from their official website ie. https://world wide web.bugzilla.org/download/

Excerpt and rename the downloaded Bugzilla tarball:

# tar zxvf bugzilla-four.5.ii.tar.gz -C /var/www/html/  # cd /var/world wide web/html/  # mv -v bugzilla-4.five.2 bugzilla

Note: Here / var / www / html / bugzilla / is the directory where nosotros will be hosting Bugzilla.

At present let'southward configure Buzilla:

# cd /var/www/html/bugzilla/

bugzilla check module

# ./checksetup.pl –check-modules

After the verification is washed nosotros tin can come across some missing modules that demand to exist installed that can be installed with the post-obit command:

# cd /var/www/html/bugzilla # perl install-module.pl --all

Information technology will take some time to download and install all of the dependencies. Run the checksetup.pl –bank check-modules command again to make sure there is nada left to install.

Now we need to run the following command which will automatically generate a file called "localconfig" in the / var / www / html / bugzilla / directory.

# ./checksetup.pl

Make certain to replace the values ​​with the correct database proper noun, user and password that we created earlier in the localconfig file.

# nano localconfig  $create_htaccess = 1; $webservergroup = 'www-information'; $use_suexec = 0; $db_driver="mysql"; $db_host="localhost"; $db_name="bugzilladb"; $db_user="bugzillauser"; $db_pass="mypassword";  # ./checksetup.pl

bugzilla success

If everything is OK, checksetup.pl should now successfully configure Bugzilla.

Now nosotros need to add Bugzilla to our Apache configuration file. So we have to open /etc/httpd/conf/httpd.conf (for CentOS) or etc / apache2 / apache2.conf (for Ubuntu) with a text editor:

For CentOS:

# nano /etc/httpd/conf/httpd.conf

For Ubuntu:

# nano /etc/apache2/apache2.conf

Now we need to configure the Apache server and add the following configuration in the configuration file:

          <Directory          /var/www/html/bugzilla>          AddHandler          cgi-script .cgi          Options          +ExecCGI +FollowSymLinks          DirectoryIndex          index.cgi index.html          AllowOverride          Limit FileInfo Indexes Options          </Directory>        

Lastly, we need to edit the .htaccess file and annotate out the "Options -Indexes" line to a higher place by adding "#".

Allow'south restart our Apache server and test our installation.

For CentOS:

# service httpd restart

For Ubuntu:

# service apache2 restart

bugzilla install success

Finally, our Bugzilla is now ready to receive problems reports in our Ubuntu 14.04 LTS and CentOS six.5, and you lot can navigate to Bugzilla past going to the localhost folio i.e. 127.0.0.1 or to your IP accost in your spider web browser.

Source: https://x8t4.com/how-to-install-bugzilla-4-4-on-ubuntu-centos-6/

Posted by: ulrichseding.blogspot.com

0 Response to "How To Install Bugzilla On Centos 7"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel