Deploy BugFree on CentOS

Source: Internet
Author: User

Deploy BugFree on CentOS

Bug Management, familiar with and unfamiliar things, has been heard that there is no real contact with (well, in fact, few testers), it is a coincidence that today's project needs, A BugFree version is deployed on CentOS. BugFree is developed based on PHP and MySQL. It is a free and source code defect management system. The server can run on both Linux and Windows platforms. The client can be freely used through IE, FireFox, and other browsers without installing any software. Apache and Mysql are available on the server, so you chose it.

1. install apache

Yum install httpd

2. Install mysql

Yum install mysql-server

3. install PHP

Yum install php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc

4. Install the PHP encryption algorithm plug-in

Yum install libmcrypt

Yum install php-mcrypt

Note: libmcrypt is an extension library for encryption algorithms, and php-mcrypt is an extension of Mcrypt for PHP.

5. Install bugfree

Download the compressed bugfree package and drop it to the server. If you need to download it online, you can use the wget command.

Decompress: unzip bugfree3.0.3.zip

Renamed and decompressed file: mv bugfree3.0.3 bugfree

Put bugfree in apache's DocumentRoot: mv bugfree/var/www/html

Change the read and write permissions of bugfree: chmod-R 777 bugfree

Create an attachment upload Directory: cd/var/www/html; mkdir BugFile

Similarly: chmod-R 777 BugFile

6. Configuration

1) Configure apache

Vi/etc/httpd/conf/httpd. conf

Modify the default port number Listen 80 --> Listen 8088

Start httpd service: service httpd start

2) Configure mysql

Start mysqld service: service mysqld start

Note: skip this step if the mysqld service has been started.

Log on to mysql as root: mysql-uroot

Note: by default, mysql root does not have a password. You can directly access it. If you have already set the password, you need to enter it.

CREATE a new USER: create user 'bucketfree' @ 'localhost' identified by '123456 ';

New user authorization: grant all privileges on *. * to bugfree @ localhost identified by '20140901 ';

Note: The above authorization method requires that mysql and bugfree be installed on the same machine.

3) Configure bugfree

Http: // <servername>: port/bugfree/install

Example: http: // 127.0.0.1: 8088/bugfree/install

I am a remote user, and there is no graphical interface. The above IP address is the public IP of the server, and then configure the database associated with bugfree according to the prompts, almost all the way to next,

Paste a few images.

Browser access first comes to the environment detection. If the BugFile directory is not created in/var/www/html or the permission is not changed, the effect will be achieved,

Then the database configuration page

Complete the installation and go to the BugFree

Initial Username: admin initial password: 123456

Finally, you can check whether mysql is started at startup: chkconfig -- list | grep httpd

[Root @ localhost ~] # Chkconfig -- list | grep httpd

Mysql 0: Close 1: Close 2: Close 3: Close 4: Close 5: Close 6: Close

0: Shut down.

1: single-user character interface.

2: multi-user character interface that does not have the Network File System (NFS) function.

3: multi-user character interface with network functions.

4: Reserved.

5: graphic user interface with network functions.

6. restart the system.

Run the command chkconfig -- level 2345 mysqld on to change the httpd startup status with the system.

Server forbid and other information may appear during browser access. Check the Apache configuration file/etc/httpd/conf/httpd. conf or restart Apache.

Reference: http://www.linuxidc.com/Linux/2012-08/67413.htm

Appendix BugFree User Manual: http://gsqls.blog.163.com/blog/static/45971218201442812437534/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.