How to install Bugzilla 5. Cent. OS 7. This How. To will walk you through the installation of Bugzilla 5. Cent. OS 7. Bugzilla is an advanced bug tracking system, developed by the Mozilla Foundation (the organization that develops the famous Firefox browser). Bugzilla Install Missing Perl Modules DownloadMigrating from GNATS to Bugzilla. Fetching contributors. Some of the perl modules that. Bugzilla requires you to install some Perl modules which are either * * missing from. Bugzilla allows you to track defects and code changes in your applications, allows you to communicate in your dev team easily and submit and review patches. Prerequisites for Cent. OSInternet Connection. You should have a minimal Cent. OS 7 installation with the latest updates and IP address and hostname set. Your machine should be able to reach the internet. If you can not reach the internet directly and you have to use a proxy server, you should configure yum to use a proxy by editing /etc/yum. Add the following lines (change them to your needs): # The proxy server - proxy server: portproxy=http: //1. Bugzilla:Win32InstallPackages. Install Perl modules Install a. Bugzilla's installation process is based. Install Bugzlla: Pb with perl modules. Installing Bugzilla on Windows with XAMPP. Install the missing modules by entering each of the. Once all the missing Perl modules have been. New install, Perl Modules missing?? Install Problems -Missing Perl Modules Latest Bugzilla version from CVS 3.0 I have followed the windows install. The account details for yum connections# proxy. It is an excellent security mechanism but it will break Bugzilla until an official Bugzilla 5. SELinux. So at this point we will set SELinux to permissive mode. In this mode, SELinux is enabled but it will not enforce the security policy. Disable SELinux. Execute the following command to change SELinux mode from enforcing to permissive. SELINUX=enforcing$/SELINUX=permissive/g' /etc/selinux/config. The file should now look like this: # This file controls the state of SELinux on the system.# SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced.# permissive - SELinux prints warnings instead of enforcing.# disabled - No SELinux policy is loaded. SELINUX=permissive# SELINUXTYPE= can take one of three two values: # targeted - Targeted processes are protected,# minimum - Modification of targeted policy. Only selected processes are protected.# mls - Multi Level Security protection. SELINUXTYPE=targeted. After that change, reboot your machine. Account used for installation. If not explicitly told otherwise, all commands in this How- to are executed as the user 'installer' that is an administrative user on the Cent. OS 7 machine and is allowed to execute commands with 'sudo'. Additional Repositories. We will need a lot of packages that are not in the official Cent. OS repositories, therefor we enable an additional repository on our Cent. OS box. Enable Epel repository. Execute the following commands to enable the epel repository. Info: You have to accept the epel GPG key when installing the first package from the epel repository. Install Apache with mod. You should see the Apache Test Page. Maria. DB is an open source equivalent to My. SQL. To install Maria. DB execute the following commands: sudo yum install mariadb- server mariadb mariadb- devel php- mysql. Make Maria. DB autostarting at boot. To autostart Maria. DB at boot, we set it up as a service the same way we did before with httpd. Execute the following three commands to start, check the status and enable Maria. DB as a permanent service: sudo systemctl start mariadb. Set Maria. DB root password. Open an SQL prompt into your Maria. DB server by executing the following command: mysql - u root. You should land on the Maria. DB prompt. In the following commands, you have to replace myrootpassword with the password you want to use for your Maria. DB root user! Maria. DB . Commands end with ; or \g. Your Maria. DB connection id is 5. Server version: 5. Maria. DB Maria. DB Server. Copyright (c) 2. 00. Oracle, Maria. DB Corporation Ab and others. Type 'help; ' or '\h' for help. Type '\c' to clear the current input statement. Maria. DB . So let us change the generic Maria. DB configuration to set the 'max. Therefor we install all necessary dependencies. We also make sure, that we. DO NOT INSTALL the package perl- homedir, because this would break the Bugzilla installation.('perl- homedir' would install perl modules in user folders which won't be accessible by Bugzilla so absolutely do not install it!)The following command will make sure perl- homedir is not installed and will install the other required packages: sudo yum install gcc gcc- c++ graphviz graphviz- devel patchutils gd gd- devel wget perl* - x perl- homedir. About 1. 30. 0 packages will be installed! Install Bugzilla. Now that we have all the preparing done we are ready to download the latest Bugzilla, create the database for it and do some final setup. Create a database for Bugzilla. To create a database for Bugzilla on our Maria. DB server we have to open the Maria. DB root prompt again: mysql - u root - p. Enter password: myrootpassword. Welcome to the Maria. DB monitor. Commands end with ; or \g. Your Maria. DB connection id is 5. Server version: 5. Maria. DB Maria. DB Server. Copyright (c) 2. 00. Oracle, Maria. DB Corporation Ab and others. Type 'help; ' or '\h' for help. Type '\c' to clear the current input statement. Please be careful with all the commands now! The howto will now always show the prompt to tell you that you should be root to execute the commands! Now (as root) we we change to the webserver folder where bugzilla resides. Now execute the following command to let the Bugzilla installation script check the status of our setup. Usually the output of the above command will tell us, that some perl modules are missing from our installation (optional and required ones) and that we have to install at least the required ones to be able to continue. You could of course install all the required (and if you like) the optional modules by hand executing the commands the installation script will show you, but with this single command you will install all necessary perl modules at once (required and optional). So let's execute it: The setup script will now setup a temporary CPAN configuration and tries to install all of the perl modules Bugzilla needs (required and optional). Only some minor warnings should appear during the process. At the end, let's again verify the status of the installation by executing checksetup. All dependencies should be okay now, except one module ( DBD- Oracle (v. This is okay because this module will only install if it finds a working Oracle installation which we do not have! The setup script will now show the following text: Reading ./localconfig.. This version of Bugzilla contains some variables that you may want tochange and adapt to your local settings. The following variables arenew to ./localconfig since you last ran checksetup. Here is the one I used (comments removed), make sure you change the database names and passwords to your needs! It should now detect the correct database configuration and starting to access the Maria. DB server for a final setup. Output (some lines stripped)... Adding new table bz. Either this isyour first time using Bugzilla, or your administrator's privilegesmight have accidentally been deleted. Enter the e- mail address of the administrator: Now follow the prompts and finalize your setup (use your values for the answers here!): Enter the e- mail address of the administrator: . Execute the following line to comment out a line in the . Bugzilla installation script created. So let's create the file /etc/httpd/conf. Bugzilla website to the httpd. Virtual. Host *: 8. Document. Root /var/www/html/bugzilla/< /Virtual. Host> < Directory /var/www/html/bugzilla> Add. Handler cgi- script . Options +Indexes +Exec. CGIDirectory. Index index. Allow. Override Limit File. Info Indexes< /Directory> After the file has been created we restart Apache for the changes to take effect: Switch back to normal user. Working as root is no longer required, you can use sudo now if you need root privileges. So exeute the following command to exit the root shell: Test the Bugzilla installation with your browser. Use a browser and open http: //ip- of- your- server/ (replace ip- of- your- server with the ip address of your server). You should now see the Bugzilla page instead of the default Apache Test Page. You can now login with the credentials you provided to the Bugzilla installation script. In this How- To this was: Voila! You have now a working Bugzilla 5. Cent. OS 7. You can now continue to setup the details of Bugzilla within the Bugzilla web interface.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2016
Categories |